sslko - v2.0.2
    Preparing search index...

    Interface CertificateInfo

    CertificateInfo extends PeerCertificateConverted and includes additional fields for validation status, errors, and warnings. It also includes the issuer certificate if available.

    interface CertificateInfo {
        daysLeft: number;
        daysTotal: number;
        errorCode?: string;
        errors: string[];
        expired: boolean;
        issuerCertificate?: PeerCertificateConverted;
        pubkey?: string;
        raw?: string;
        valid: boolean;
        validFor?: string[];
        validFromDate: Date;
        validToDate: Date;
        warnings: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    daysLeft: number

    The number of days left until the certificate expires.

    daysTotal: number

    The total number of days the certificate is valid.

    errorCode?: string

    The error code if the certificate validation failed.

    errors: string[]

    List of errors encountered during certificate validation.

    expired: boolean

    A boolean indicating if the certificate is expired.

    issuerCertificate?: PeerCertificateConverted

    The issuer certificate, if available.

    pubkey?: string

    The public key in base64 format.

    raw?: string

    The raw certificate in base64 format.

    valid: boolean

    Indicates if the certificate is valid.

    validFor?: string[]

    The list of valid subject alternative names (SANs) for the certificate.

    validFromDate: Date

    The date when the certificate becomes valid.

    validToDate: Date

    The date when the certificate expires.

    warnings: string[]

    List of warnings encountered during certificate validation.