Packages

package tlsMod

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

Type Members

  1. trait Certificate extends Object with StObject
    Annotations
    @JSType() @native()
  2. trait CipherNameAndProtocol extends Object with StObject
    Annotations
    @JSType() @native()
  3. trait CommonConnectionOptions extends Object with StObject
    Annotations
    @JSType() @native()
  4. trait ConnectionOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions
    Annotations
    @JSType() @native()
  5. trait DetailedPeerCertificate extends Object with StObject with PeerCertificate
    Annotations
    @JSType() @native()
  6. trait EphemeralKeyInfo extends Object with StObject
    Annotations
    @JSType() @native()
  7. trait KeyObject extends Object with StObject
    Annotations
    @JSType() @native()
  8. trait PSKCallbackNegotation extends Object with StObject
    Annotations
    @JSType() @native()
  9. trait PeerCertificate extends Object with StObject
    Annotations
    @JSType() @native()
  10. trait PxfObject extends Object with StObject
    Annotations
    @JSType() @native()
  11. trait SecureContext extends Object with StObject
    Annotations
    @JSType() @native()
  12. trait SecureContextOptions extends Object with StObject
    Annotations
    @JSType() @native()
  13. trait SecureVersion extends Object with StObject
    Annotations
    @JSType()
  14. class Server extends Object with StObject
    Annotations
    @JSType() @JSImport("tls", "Server") @native()
  15. class TLSSocket extends Object with StObject
    Annotations
    @JSType() @JSImport("tls", "TLSSocket") @native()
  16. trait TLSSocketOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions
    Annotations
    @JSType() @native()
  17. trait TlsOptions extends Object with StObject with SecureContextOptions with CommonConnectionOptions with ServerOpts
    Annotations
    @JSType() @native()

Deprecated Type Members

  1. trait SecurePair extends Object with StObject

    Annotations
    @JSType() @native()
    Deprecated

    since v0.11.3 Use tls.TLSSocket instead.

Value Members

  1. def CLIENT_RENEG_LIMIT: Double
    Annotations
    @inline()
  2. def CLIENT_RENEG_WINDOW: Double
    Annotations
    @inline()
  3. 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()
  4. def DEFAULT_ECDH_CURVE_=(x: java.lang.String): Unit
    Annotations
    @inline()
  5. 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()
  6. def DEFAULT_MAX_VERSION_=(x: SecureVersion): Unit
    Annotations
    @inline()
  7. 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()
  8. def DEFAULT_MIN_VERSION_=(x: SecureVersion): Unit
    Annotations
    @inline()
  9. def checkServerIdentity(host: java.lang.String, cert: PeerCertificate): UndefOr[Error]
    Annotations
    @inline()
  10. def connect(port: Double, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  11. def connect(port: Double, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  12. def connect(port: Double, options: ConnectionOptions): TLSSocket
    Annotations
    @inline()
  13. def connect(port: Double, host: Unit, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  14. def connect(port: Double, host: Unit, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  15. def connect(port: Double, host: Unit, options: ConnectionOptions): TLSSocket
    Annotations
    @inline()
  16. def connect(port: Double, host: java.lang.String, options: Unit, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  17. def connect(port: Double, host: java.lang.String, options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  18. def connect(port: Double, host: java.lang.String, options: ConnectionOptions): TLSSocket
    Annotations
    @inline()
  19. def connect(port: Double, host: java.lang.String): TLSSocket
    Annotations
    @inline()
  20. def connect(port: Double): TLSSocket
    Annotations
    @inline()
  21. def connect(options: ConnectionOptions, secureConnectListener: Function0[Unit]): TLSSocket
    Annotations
    @inline()
  22. def connect(options: ConnectionOptions): TLSSocket
    Annotations
    @inline()
  23. def createSecureContext(options: SecureContextOptions): SecureContext
    Annotations
    @inline()
  24. def createSecureContext(): SecureContext
    Annotations
    @inline()
  25. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  26. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  27. def createSecurePair(credentials: Unit, isServer: Unit, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  28. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  29. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  30. def createSecurePair(credentials: Unit, isServer: Boolean, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  31. def createSecurePair(credentials: Unit, isServer: Boolean): SecurePair
    Annotations
    @inline()
  32. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  33. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  34. def createSecurePair(credentials: SecureContext, isServer: Unit, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  35. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Unit, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  36. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean, rejectUnauthorized: Boolean): SecurePair
    Annotations
    @inline()
  37. def createSecurePair(credentials: SecureContext, isServer: Boolean, requestCert: Boolean): SecurePair
    Annotations
    @inline()
  38. def createSecurePair(credentials: SecureContext, isServer: Boolean): SecurePair
    Annotations
    @inline()
  39. def createSecurePair(credentials: SecureContext): SecurePair
    Annotations
    @inline()
  40. def createServer(secureConnectionListener: Function1[TLSSocket, Unit]): Server
    Annotations
    @inline()
  41. def createServer(options: TlsOptions, secureConnectionListener: Function1[TLSSocket, Unit]): Server
    Annotations
    @inline()
  42. def createServer(options: TlsOptions): Server
    Annotations
    @inline()
  43. def createServer(): Server
    Annotations
    @inline()
  44. def getCiphers(): Array[java.lang.String]
    Annotations
    @inline()
  45. 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()
  46. object Certificate
  47. object CipherNameAndProtocol
  48. object CommonConnectionOptions
  49. object ConnectionOptions
  50. object DetailedPeerCertificate
  51. object EphemeralKeyInfo
  52. object KeyObject
  53. object PSKCallbackNegotation
  54. object PeerCertificate
  55. object PxfObject
  56. object SecureContext
  57. object SecureContextOptions
  58. object SecurePair
  59. object SecureVersion
  60. object TLSSocketOptions
  61. object TlsOptions
  62. object ^ extends Object with StObject
    Annotations
    @JSImport("tls", JSImport.Namespace) @native()

Deprecated Value Members

  1. def createSecurePair(): SecurePair

    Annotations
    @inline()
    Deprecated

    since v0.11.3 Use tls.TLSSocket instead.

Inherited from AnyRef

Inherited from Any

Ungrouped