Validation of Agent and Platform Certificates and Signatures
Last updated
Last updated
In a social interaction, agents and platforms, like social networks, Social DApps, and revenue streams (Google Ads), will interact through business contracts (BizContracts).
These business contracts require interactions to come from trusted platforms or agents, often asking the parties to sign any interaction.
Business contracts may be verified with a signature, but the signing parties must also provide their own public keys, which must be registered.
The Agent and Platform Validation Mechanisms are a set of rules that help platforms submit their own information, register a public key, and use that public key for contract authentication.
Platforms and agents need to deliver information to the Certificate Custodian and place their public key under their domain name to provide evidence of association. The following information needs to be provided:
domain
string
Platform Domain Name
The agreed public key storage location is https://{domain}/pub/pubkey.pub, where {domain} represents the domain name of the submitting platform.
The Certificate Custodian reads the public key from the agreed storage location and verifies if the signature is correct. If correct, the domain and public key are sent to the Certificate Validator.
Platforms or Agents can also update their information directly with the Certificate Custodian.
Certificate Custodians can also provide off-chain verification methods.
On-chain signature verification method:
The following is an example of the contract validation process following the Clover Protocols, where:
App represents the platform or agent;
BizContract is the contract deployed by the App and provides the smart contract the user interacts with;
Certificate Validator validates the contract;
The App first signs the relevant information and initiates the interaction. After receiving the information request, the BizContract verifies with the Certificate Validator whether the interaction has been initiated by a trusted platform or agent.