Optionalallow Half Open allowHalfOpen ?: boolean
OptionalALPNCallback ALPNCallback ?: ( arg : { protocols : string [] ; servername : string } ) => string
OptionalALPNProtocols ALPNProtocols ?: string [] | Uint8Array | Uint8Array []
Optionalca ca ?: string | Buffer | (string | Buffer )[]
Optionalcert cert ?: string | Buffer | (string | Buffer )[]
Optionalciphers ciphers ?: string
Optionalclient Cert Engine clientCertEngine ?: string
Optionalconnections Checking Interval connectionsCheckingInterval ?: number
Optionalcrl crl ?: string | Buffer | (string | Buffer )[]
Optionaldhparam dhparam ?: string | Buffer
Optionalecdh Curve ecdhCurve ?: string
Optionalenable Trace enableTrace ?: boolean
Optionalhandshake Timeout handshakeTimeout ?: number
Optionalhigh Water Mark highWaterMark ?: number
Optionalhonor Cipher Order honorCipherOrder ?: boolean
OptionalIncoming Message IncomingMessage ?: typeof IncomingMessage
OptionalinsecureHTTPParser insecureHTTPParser ?: boolean
Optionaljoin Duplicate Headers joinDuplicateHeaders ?: boolean
Optionalkeep Alive keepAlive ?: boolean
Optionalkeep Alive Initial Delay keepAliveInitialDelay ?: number
Optionalkeep Alive Timeout keepAliveTimeout ?: number
Optionalkey key ?: string | Buffer | (string | Buffer | KeyObject )[]
Optionalmax Header Size maxHeaderSize ?: number
Optionalmax Version maxVersion ?: SecureVersion
Optionalmin Version minVersion ?: SecureVersion
Optionalno Delay noDelay ?: boolean
Optionalpassphrase passphrase ?: string
Optionalpause On Connect pauseOnConnect ?: boolean
Optionalpfx pfx ?: string | Buffer | (string | Buffer | PxfObject )[]
Optionalport port ?: string | number
Optionalprivate Key Engine privateKeyEngine ?: string
Optionalprivate Key Identifier privateKeyIdentifier ?: string
Optionalpsk Callback pskCallback ?: ( socket : TLSSocket , identity : string ) => DataView | TypedArray
Type declaration ( socket : TLSSocket , identity : string ) : DataView | TypedArray Parameters socket : TLSSocket identity : string Returns DataView | TypedArray pre-shared key that must either be
a buffer or null to stop the negotiation process. Returned PSK must be
compatible with the selected cipher's digest.
When negotiating TLS-PSK (pre-shared keys), this function is called
with the identity provided by the client.
If the return value is null the negotiation process will stop and an
"unknown_psk_identity" alert message will be sent to the other party.
If the server wishes to hide the fact that the PSK identity was not known,
the callback must provide some random data as psk to make the connection
fail with "decrypt_error" before negotiation is finished.
PSK ciphers are disabled by default, and using TLS-PSK thus
requires explicitly specifying a cipher suite with the ciphers option.
More information can be found in the RFC 4279.
Optionalpsk Identity Hint pskIdentityHint ?: string
Optionalreject Unauthorized rejectUnauthorized ?: boolean
Optionalrequest Cert requestCert ?: boolean
Optionalrequest Timeout requestTimeout ?: number
Optionalsecure Context secureContext ?: SecureContext
Optionalsecure Options secureOptions ?: number
Optionalsecure Protocol secureProtocol ?: string
OptionalServer Response ServerResponse ?: typeof ServerResponse
Optionalsession Id Context sessionIdContext ?: string
Optionalsession Timeout sessionTimeout ?: number
Optionalsigalgs sigalgs ?: string
OptionalSNICallback SNICallback ?: ( servername : string , cb : ( err : Error , ctx ?: SecureContext ) => void , ) => void
Optionalticket Keys ticketKeys ?: Buffer
Optionalunique Headers uniqueHeaders ?: (string | string [] )[]
webhooks Secret Token webhooksSecretToken : string
identity parameter sent from the client.