object nodeTlsMod
- Source
- nodeTlsMod.scala
- Alphabetic
- By Inheritance
- nodeTlsMod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CLIENT_RENEG_LIMIT: Double
- Annotations
- @JSImport("node:tls", "CLIENT_RENEG_LIMIT") @native()
- val CLIENT_RENEG_WINDOW: Double
- Annotations
- @JSImport("node:tls", "CLIENT_RENEG_WINDOW") @native()
- 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
- @JSImport("node:tls", "DEFAULT_ECDH_CURVE") @native()
- 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
- @JSImport("node:tls", "DEFAULT_MAX_VERSION") @native()
- 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
- @JSImport("node:tls", "DEFAULT_MIN_VERSION") @native()
- def DEFAULT_MIN_VERSION_=(x: SecureVersion): Unit
- Annotations
- @inline()
- val ^: Any
- Annotations
- @JSImport("node:tls", JSImport.Namespace) @native()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkServerIdentity(host: java.lang.String, cert: PeerCertificate): UndefOr[Error]
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def connect(port: Double, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, options: ConnectionOptions): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: Unit, options: ConnectionOptions): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String, options: ConnectionOptions): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double, host: java.lang.String): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(port: Double): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
- Annotations
- @inline()
- def connect(options: ConnectionOptions): tlsMod.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[tlsMod.TLSSocket, Unit]): tlsMod.Server
- Annotations
- @inline()
- def createServer(options: TlsOptions, secureConnectionListener: Function1[tlsMod.TLSSocket, Unit]): tlsMod.Server
- Annotations
- @inline()
- def createServer(options: TlsOptions): tlsMod.Server
- Annotations
- @inline()
- def createServer(): tlsMod.Server
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getCiphers(): Array[java.lang.String]
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val 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
- @JSImport("node:tls", "rootCertificates") @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def createSecurePair(): SecurePair
- Annotations
- @inline()
- Deprecated
since v0.11.3 Use
tls.TLSSocketinstead.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated