package tlsMod
- Source
- package.scala
- Alphabetic
- By Inheritance
- tlsMod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait Certificate extends Object with StObject
- Annotations
- @JSType() @native()
- trait CipherNameAndProtocol extends Object with StObject
- Annotations
- @JSType() @native()
- trait CommonConnectionOptions extends Object with StObject
- Annotations
- @JSType() @native()
- trait ConnectionOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions
- Annotations
- @JSType() @native()
- trait DetailedPeerCertificate extends Object with StObject with PeerCertificate
- Annotations
- @JSType() @native()
- trait EphemeralKeyInfo extends Object with StObject
- Annotations
- @JSType() @native()
- trait KeyObject extends Object with StObject
- Annotations
- @JSType() @native()
- trait PSKCallbackNegotation extends Object with StObject
- Annotations
- @JSType() @native()
- trait PeerCertificate extends Object with StObject
- Annotations
- @JSType() @native()
- trait PxfObject extends Object with StObject
- Annotations
- @JSType() @native()
- trait SecureContext extends Object with StObject
- Annotations
- @JSType() @native()
- trait SecureContextOptions extends Object with StObject
- Annotations
- @JSType() @native()
- trait SecureVersion extends Object with StObject
- Annotations
- @JSType()
- class Server extends Object with StObject
- Annotations
- @JSType() @JSImport("tls", "Server") @native()
- class TLSSocket extends Object with StObject
- Annotations
- @JSType() @JSImport("tls", "TLSSocket") @native()
- trait TLSSocketOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions
- Annotations
- @JSType() @native()
- trait TlsOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions with ServerOpts
- Annotations
- @JSType() @native()
Deprecated Type Members
- trait SecurePair extends Object with StObject
- Annotations
- @JSType() @native()
- Deprecated
since v0.11.3 Use
tls.TLSSocketinstead.
Value Members
- def CLIENT_RENEG_LIMIT: Double
- Annotations
- @inline()
- def CLIENT_RENEG_WINDOW: Double
- Annotations
- @inline()
- def DEFAULT_ECDH_CURVE: java.lang.String
The default curve name to use for ECDH key agreement in a tls server.
The default curve name to use for ECDH key agreement in a tls server. The default value is 'auto'. See tls.createSecureContext() for further information.
- Annotations
- @inline()
- def DEFAULT_ECDH_CURVE_=(x: java.lang.String): Unit
- Annotations
- @inline()
- def DEFAULT_MAX_VERSION: SecureVersion
The default value of the maxVersion option of tls.createSecureContext().
The default value of the maxVersion option of tls.createSecureContext(). It can be assigned any of the supported TLS protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to 'TLSv1.3'. If multiple of the options are provided, the highest maximum is used.
- Annotations
- @inline()
- def DEFAULT_MAX_VERSION_=(x: SecureVersion): Unit
- Annotations
- @inline()
- def DEFAULT_MIN_VERSION: SecureVersion
The default value of the minVersion option of tls.createSecureContext().
The default value of the minVersion option of tls.createSecureContext(). It can be assigned any of the supported TLS protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless changed using CLI options. Using --tls-min-v1.0 sets the default to 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used.
- Annotations
- @inline()
- def DEFAULT_MIN_VERSION_=(x: SecureVersion): Unit
- Annotations
- @inline()
- def checkServerIdentity(host: java.lang.String, cert: PeerCertificate): UndefOr[Error]
- Annotations
- @inline()
- def connect(port: Double, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, options: ConnectionOptions): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: ConnectionOptions): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: ConnectionOptions): TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String): TLSSocket
- Annotations
- @inline()
- def connect(port: Double): TLSSocket
- Annotations
- @inline()
- def connect(options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
- Annotations
- @inline()
- def connect(options: ConnectionOptions): TLSSocket
- Annotations
- @inline()
- def createSecureContext(options: SecureContextOptions): SecureContext
- Annotations
- @inline()
- def createSecureContext(): SecureContext
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: Unit, isServer: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext, isServer: Boolean): SecurePair
- Annotations
- @inline()
- def createSecurePair(credentials: SecureContext): SecurePair
- Annotations
- @inline()
- def createServer(secureConnectionListener: Function1[TLSSocket, Unit]): Server
- Annotations
- @inline()
- def createServer(options: TlsOptions, secureConnectionListener: Function1[TLSSocket, Unit]): Server
- Annotations
- @inline()
- def createServer(options: TlsOptions): Server
- Annotations
- @inline()
- def createServer(): Server
- Annotations
- @inline()
- def getCiphers(): Array[java.lang.String]
- Annotations
- @inline()
- def rootCertificates: Array[java.lang.String]
An immutable array of strings representing the root certificates (in PEM format) used for verifying peer certificates.
An immutable array of strings representing the root certificates (in PEM format) used for verifying peer certificates. This is the default value of the ca option to tls.createSecureContext().
- Annotations
- @inline()
- object Certificate
- object CipherNameAndProtocol
- object CommonConnectionOptions
- object ConnectionOptions
- object DetailedPeerCertificate
- object EphemeralKeyInfo
- object KeyObject
- object PSKCallbackNegotation
- object PeerCertificate
- object PxfObject
- object SecureContext
- object SecureContextOptions
- object SecurePair
- object SecureVersion
- object TLSSocketOptions
- object TlsOptions
- object ^ extends Object with StObject
- Annotations
- @JSImport("tls", JSImport.Namespace) @native()
Deprecated Value Members
- def createSecurePair(): SecurePair
- Annotations
- @inline()
- Deprecated
since v0.11.3 Use
tls.TLSSocketinstead.