@mxraven/mail - v0.6.0
    Preparing search index...

    Interface NotificationTlsOptions

    TLS options for a wss:// notification connection.

    These are the options applications normally need when the notification tier is fronted by a private certificate authority or requires mutual TLS. Byte material may be a PEM string or raw bytes.

    interface NotificationTlsOptions {
        ca?:
            | string
            | Uint8Array<ArrayBufferLike>
            | readonly (string | Uint8Array<ArrayBufferLike>)[];
        cert?: string | Uint8Array<ArrayBufferLike>;
        key?: string | Uint8Array<ArrayBufferLike>;
        passphrase?: string;
        rejectUnauthorized?: boolean;
        servername?: string;
    }
    Index
    ca?:
        | string
        | Uint8Array<ArrayBufferLike>
        | readonly (string | Uint8Array<ArrayBufferLike>)[]

    PEM-encoded CA certificate(s) used to verify the server.

    cert?: string | Uint8Array<ArrayBufferLike>

    PEM-encoded client certificate for mutual TLS.

    key?: string | Uint8Array<ArrayBufferLike>

    PEM-encoded client private key for mutual TLS.

    passphrase?: string

    The passphrase for an encrypted client private key.

    rejectUnauthorized?: boolean

    Whether to verify the server certificate chain and hostname.

    Defaults to true. Disabling it makes the connection vulnerable to interception and should only be used in controlled development environments.

    servername?: string

    The SNI server name, when it differs from the URL host.