interface TLSSocketOptions
optional
isServer: boolean | undefinedIf true the TLS socket will be instantiated in server-mode. Defaults to false.
optional
server: net.Server | undefinedAn optional net.Server instance.
optional
session: Buffer | undefinedAn optional Buffer instance containing a TLS session.
optional
requestOCSP: boolean | undefinedIf 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