sslko - v2.0.2
    Preparing search index...

    Interface PeerCertificateConverted

    DetailedPeerCertificateConverted is a simplified version of DetailedPeerCertificate with only the necessary fields for certificate information.

    interface PeerCertificateConverted {
        daysLeft: number;
        daysTotal: number;
        expired: boolean;
        pubkey?: string;
        raw?: string;
        validFor?: string[];
        validFromDate: Date;
        validToDate: Date;
    }

    Hierarchy (View Summary)

    • Omit<
          DetailedPeerCertificate,
          "valid_from"
          | "valid_to"
          | "raw"
          | "pubkey"
          | "issuerCertificate",
      >
    • CertificateDates
    Index

    Properties

    daysLeft: number

    The number of days left until the certificate expires.

    daysTotal: number

    The total number of days the certificate is valid.

    expired: boolean

    A boolean indicating if the certificate is expired.

    pubkey?: string

    The public key in base64 format.

    raw?: string

    The raw certificate in base64 format.

    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.