mimekit-ts - v1.0.0
    Preparing search index...

    Class OpenPgpDigitalSignature

    An OpenPGP digital signature.

    Implements

    Index
    signerCertificate: OpenPgpDigitalCertificate | null

    The resolved signer certificate, or null if the signing key is not in the keyring.

    publicKeyAlgorithm: PublicKeyAlgorithm

    The public key algorithm of the signer.

    digestAlgorithm: DigestAlgorithm

    The digest algorithm used for the signature (when known).

    creationDate: Date

    The signature creation date.

    keyId: string

    The hex key id of the signing key.

    • Verify the signature. OpenPGP trust/web-of-trust validation is not performed (as with the S/MIME context's deferred chain validation); this reports the cryptographic validity computed at decode time.

      Parameters

      • _verifySignatureOnly: boolean = false

      Returns Promise<boolean>

      true if the signature is cryptographically valid.