Class ParcelCollectionHandshakeVerifier

Hierarchy

  • Verifier
    • ParcelCollectionHandshakeVerifier

Constructors

Properties

Methods

Constructors

Properties

oid: string = RELAYNET_OIDS.SIGNATURE.PARCEL_COLLECTION_HANDSHAKE

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