Packages

object nodeTlsMod

Source
nodeTlsMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nodeTlsMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Server extends Object with StObject
    Annotations
    @JSType() @JSImport("node:tls", "Server") @native()
  2. class TLSSocket extends Object with StObject
    Annotations
    @JSType() @JSImport("node:tls", "TLSSocket") @native()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val CLIENT_RENEG_LIMIT: Double
    Annotations
    @JSImport("node:tls", "CLIENT_RENEG_LIMIT") @native()
  5. val CLIENT_RENEG_WINDOW: Double
    Annotations
    @JSImport("node:tls", "CLIENT_RENEG_WINDOW") @native()
  6. 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()
  7. def DEFAULT_ECDH_CURVE_=(x: java.lang.String): Unit
    Annotations
    @inline()
  8. 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()
  9. def DEFAULT_MAX_VERSION_=(x: SecureVersion): Unit
    Annotations
    @inline()
  10. 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()
  11. def DEFAULT_MIN_VERSION_=(x: SecureVersion): Unit
    Annotations
    @inline()
  12. val ^: Any
    Annotations
    @JSImport("node:tls", JSImport.Namespace) @native()
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def checkServerIdentity(host: java.lang.String, cert: PeerCertificate): UndefOr[Error]
    Annotations
    @inline()
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  16. def connect(port: Double, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  17. def connect(port: Double, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  18. def connect(port: Double, options: ConnectionOptions): tlsMod.TLSSocket
    Annotations
    @inline()
  19. def connect(port: Double, host: Unit, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  20. def connect(port: Double, host: Unit, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  21. def connect(port: Double, host: Unit, options: ConnectionOptions): tlsMod.TLSSocket
    Annotations
    @inline()
  22. def connect(port: Double, host: java.lang.String, options: Unit, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  23. def connect(port: Double, host: java.lang.String, options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  24. def connect(port: Double, host: java.lang.String, options: ConnectionOptions): tlsMod.TLSSocket
    Annotations
    @inline()
  25. def connect(port: Double, host: java.lang.String): tlsMod.TLSSocket
    Annotations
    @inline()
  26. def connect(port: Double): tlsMod.TLSSocket
    Annotations
    @inline()
  27. def connect(options: ConnectionOptions, secureConnectListener: Function0[Unit]): tlsMod.TLSSocket
    Annotations
    @inline()
  28. def connect(options: ConnectionOptions): tlsMod.TLSSocket
    Annotations
    @inline()
  29. def createSecureContext(options: SecureContextOptions): SecureContext
    Annotations
    @inline()
  30. def createSecureContext(): SecureContext
    Annotations
    @inline()
  31. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  32. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  33. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  34. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  35. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  36. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  37. def createSecurePair(credentials: Unit, isServer: Boolean): SecurePair
    Annotations
    @inline()
  38. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  39. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  40. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  41. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  42. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  43. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  44. def createSecurePair(credentials: SecureContext, isServer: Boolean): SecurePair
    Annotations
    @inline()
  45. def createSecurePair(credentials: SecureContext): SecurePair
    Annotations
    @inline()
  46. def createServer(secureConnectionListener: Function1[tlsMod.TLSSocket, Unit]): tlsMod.Server
    Annotations
    @inline()
  47. def createServer(options: TlsOptions, secureConnectionListener: Function1[tlsMod.TLSSocket, Unit]): tlsMod.Server
    Annotations
    @inline()
  48. def createServer(options: TlsOptions): tlsMod.Server
    Annotations
    @inline()
  49. def createServer(): tlsMod.Server
    Annotations
    @inline()
  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. def getCiphers(): Array[java.lang.String]
    Annotations
    @inline()
  53. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  59. 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()
  60. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  61. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def createSecurePair(): SecurePair

    Annotations
    @inline()
    Deprecated

    since v0.11.3 Use tls.TLSSocket instead.

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped