How to verify Address-Ownership
Certificates
Anatomy
interface Certificate {
/**
* The purpose field indicates the intended use or context of the certificate.
* For example, it could be used for identification, verification, or attestation.
*/
purpose: string;
/**
* The payload field holds the actual content of the certificate.
* This content can be of various types, such as text, images, or other data.
*/
payload: {
type: string;
content: string;
};
/**
* The domain field represents the specific context or domain for which the certificate is valid.
* It helps ensure that the certificate is only applicable within the intended context.
*/
domain: string;
/**
* The timestamp field records the time at which the certificate was created or issued.
* This provides a temporal reference for the certificate's validity.
*/
timestamp: number;
/**
* The signer field indicates the address of the entity that signs the certificate.
* It is the public key address of the entity that issues the certificate.
*/
signer: string;
/**
* The signature field contains the cryptographic signature generated by the issuer's private key.
* This signature ensures the integrity and authenticity of the certificate's content.
*/
signature?: string;
}Sign
Verify
Example Projects
Sign & Verify
Last updated
Was this helpful?