Hierarchy

  • Verifier
    • ParcelDeliveryVerifier

Constructors

Properties

Methods

Constructors

Properties

oid: string = RELAYNET_OIDS.SIGNATURE.PARCEL_DELIVERY

Methods

  • Verify signatureSerialized and return the signer's certificate if valid.

    Parameters

    • signatureSerialized: ArrayBuffer
    • expectedPlaintext: ArrayBuffer

    Returns Promise<Certificate>

    Throws

    CMSError if the signatureSerialized is invalid

    Throws

    CertificateError if the signer isn't trusted

Generated using TypeDoc