Skip to main content

TLSSocketOptions

interface TLSSocketOptions

Properties Jump to heading

optional
Jump to headingisServer: boolean | undefined

If true the TLS socket will be instantiated in server-mode. Defaults to false.

optional
Jump to headingserver: net.Server | undefined

An optional net.Server instance.

optional
Jump to headingsession: Buffer | undefined

An optional Buffer instance containing a TLS session.

optional
Jump to headingrequestOCSP: boolean | undefined

If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication

Back to top