sslko - v2.0.2
    Preparing search index...

    Type Alias GetCertificateOptions

    GetCertificateOptions: TLSSocketOptions & {
        detailed?: boolean;
        port?: number;
        timeout?: number;
    }

    GetCertificateOptions for the getCertificate function.

    Type declaration

    • Optionaldetailed?: boolean

      If true, returns a DetailedPeerCertificate with additional information.

    • Optionalport?: number

      The port to connect to.

    • Optionaltimeout?: number

      The timeout for the connection in milliseconds.