Interface iVerifyAttestationPayload

interface iVerifyAttestationPayload {
    dataIntegrityProof?: {
        isDerived?: boolean;
        publicKey?: string;
        signature: string;
        signer: string;
    };
    messageFormat: "plaintext"
    | "json";
    messages: string[];
    proofOfIssuance?: {
        message: string;
        publicKey?: string;
        signature: string;
        signer: string;
    };
    scheme: string;
}

Hierarchy (View Summary)

Properties

dataIntegrityProof?: {
    isDerived?: boolean;
    publicKey?: string;
    signature: string;
    signer: string;
}

The data integrity proof.

For standard, this is the signature of the attestation. For BBS, this is the actual BBS signature.

Type declaration

  • OptionalisDerived?: boolean

    Whether the proof is derived. Only applicable for BBS.

  • OptionalpublicKey?: string

    The public key of the signer (if needed)

  • signature: string

    The signature of the attestation.

  • signer: string

    The signer of the attestation.

messageFormat: "plaintext" | "json"
messages: string[]

The messages to attest to. Must be length 1 for standard

proofOfIssuance?: {
    message: string;
    publicKey?: string;
    signature: string;
    signer: string;
}

The proof of issuance. Must be provided for BBS. Leave blank for standard.

Type declaration

  • message: string

    The message of the proof of issuance.

  • OptionalpublicKey?: string

    The public key of the signer (if needed)

  • signature: string

    The signature of the proof of issuance.

  • signer: string

    The signer of the proof of issuance.

scheme: string

Must be 'bbs' or 'standard'

MMNEPVFCICPMFPCPTTAAATR