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

    Interface X509Certificate

    A parsed X.509 certificate.

    Mirrors the surface of BouncyCastle's X509Certificate that MimeKit's portable code depends on. The concrete implementation is supplied by the crypto backend (wave C2b).

    interface X509Certificate {
        getEncoded(): Uint8Array;
        getFingerprint(): string;
        getPublicKeyAlgorithm(): PublicKeyAlgorithm;
        getKeyUsageFlags(): X509KeyUsageFlags;
        getEncryptionAlgorithms(): EncryptionAlgorithm[];
        getNotBefore(): Date;
        getNotAfter(): Date;
        getSubjectEmailAddress(): string | null;
        getSubjectDnsNames(): string[];
        getCommonName(): string | null;
        equals(other: X509Certificate): boolean;
    }

    Implemented by

    Index
    • The subject email address, if any (C#: GetSubjectEmailAddress(false)).

      Returns string | null