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

    Class ArcSignerAbstract

    An ARC signer.

    Hierarchy (View Summary)

    Index
    domain: string

    The domain that the signer represents.

    selector: string

    The selector subdividing the domain.

    signatureAlgorithm: DkimSignatureAlgorithm

    The algorithm to use for signing.

    bodyCanonicalizationAlgorithm: DkimCanonicalizationAlgorithm = DkimCanonicalizationAlgorithm.Simple

    The canonicalization algorithm to use for the message body.

    headerCanonicalizationAlgorithm: DkimCanonicalizationAlgorithm = DkimCanonicalizationAlgorithm.Simple

    The canonicalization algorithm to use for the message headers.

    signaturesExpireAfter: number | null = null

    The number of seconds after which signatures are no longer valid, or null for no expiration (C#: SignaturesExpireAfter, a TimeSpan).

    privateKey: AsymmetricKey

    The private key used for signing.

    • Get the timestamp to use as the t= value in the ARC headers.

      Returns number

      The Unix timestamp in seconds.

    • Digitally sign and seal a message using ARC.

      Parameters

      Returns Promise<void>

      A required argument is null, or the header list is invalid.

    • Digitally sign and seal a message using ARC.

      Parameters

      Returns Promise<void>

      A required argument is null, or the header list is invalid.