ComPDFKit Web SDK
    Preparing search index...

    Interface VerificationCertificate

    Certificate summary and details (times as Date, der is the certificate bytes; other fields see CertificateData)

    interface VerificationCertificate {
        authorityInfoAccess: { location: string; method: string }[];
        authorityKeyIdentifier: string | null;
        basicConstraints: { ca: boolean; pathLength?: number } | null;
        certificatePolicies: string[];
        crlDistributionPoints: string[];
        der: Uint8Array;
        issuer: Record<string, string>;
        keyUsage: string[];
        md5: string;
        notAfter: Date;
        notBefore: Date;
        publicKey: {
            algorithm: string;
            bits: number;
            curve?: string;
            value: string;
        };
        serialNumber: string;
        sha1: string;
        signatureAlgorithm: { name: string; oid: string };
        subject: Record<string, string>;
        subjectKeyIdentifier: string | null;
        version: number;
    }

    Hierarchy

    • Omit<CertificateData, "der" | "notBefore" | "notAfter">
      • VerificationCertificate
    Index
    authorityInfoAccess: { location: string; method: string }[]

    Authority information access: method (OCSP, caIssuers, otherwise a dotted OID) and location.

    Type Declaration

    • location: string

      Access location.

    • method: string

      Access method: OCSP, caIssuers, or a dotted OID.

    authorityKeyIdentifier: string | null

    Authority key identifier in lowercase hex; null when missing.

    basicConstraints: { ca: boolean; pathLength?: number } | null

    Basic constraints: whether CA, path length.

    Type Declaration

    • { ca: boolean; pathLength?: number }
      • ca: boolean

        Whether the certificate is a CA.

      • OptionalpathLength?: number

        Maximum path length, when set.

    • null
    certificatePolicies: string[]

    Certificate policies (dotted OIDs).

    crlDistributionPoints: string[]

    CRL distribution points (URIs).

    der: Uint8Array

    Certificate bytes (DER).

    issuer: Record<string, string>

    Issuer name attributes (CN, O, OU, C, ...).

    keyUsage: string[]

    Key usage (RFC 5280 names: digitalSignature nonRepudiation keyEncipherment dataEncipherment keyAgreement keyCertSign cRLSign encipherOnly decipherOnly).

    md5: string

    MD5 fingerprint in lowercase hex.

    notAfter: Date

    End of the validity period.

    notBefore: Date

    Start of the validity period.

    publicKey: { algorithm: string; bits: number; curve?: string; value: string }

    Public key: algorithm (RSA, EC, otherwise a dotted OID), bit size (RSA modulus, EC curve size), EC curve, public key value.

    Type Declaration

    • algorithm: string

      Key algorithm: RSA, EC, or a dotted OID.

    • bits: number

      Key size in bits.

    • Optionalcurve?: string

      EC curve name.

    • value: string

      Public key value in lowercase hex.

    serialNumber: string

    Serial number in lowercase hex.

    sha1: string

    Fingerprints of the certificate DER.

    signatureAlgorithm: { name: string; oid: string }

    Algorithm the issuer used to sign this certificate: dotted OID and name (sha256WithRSAEncryption, ecdsa-with-SHA384, etc.; empty when unknown).

    Type Declaration

    • name: string

      Algorithm name; empty when unknown.

    • oid: string

      Dotted OID.

    subject: Record<string, string>

    Subject name attributes (CN, O, OU, C, ...).

    subjectKeyIdentifier: string | null

    Subject key identifier in lowercase hex; null when missing.

    version: number

    X.509 version (1–3).