object constants
- Source
- constants.scala
- Alphabetic
- By Inheritance
- constants
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 ALPN_ENABLED: Double
- Annotations
- @JSImport("crypto", "constants.ALPN_ENABLED") @native()
- val DH_CHECK_P_NOT_PRIME: Double
- Annotations
- @JSImport("crypto", "constants.DH_CHECK_P_NOT_PRIME") @native()
- val DH_CHECK_P_NOT_SAFE_PRIME: Double
- Annotations
- @JSImport("crypto", "constants.DH_CHECK_P_NOT_SAFE_PRIME") @native()
- val DH_NOT_SUITABLE_GENERATOR: Double
- Annotations
- @JSImport("crypto", "constants.DH_NOT_SUITABLE_GENERATOR") @native()
- val DH_UNABLE_TO_CHECK_GENERATOR: Double
- Annotations
- @JSImport("crypto", "constants.DH_UNABLE_TO_CHECK_GENERATOR") @native()
- val ENGINE_METHOD_ALL: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_ALL") @native()
- val ENGINE_METHOD_CIPHERS: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_CIPHERS") @native()
- val ENGINE_METHOD_DH: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_DH") @native()
- val ENGINE_METHOD_DIGESTS: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_DIGESTS") @native()
- val ENGINE_METHOD_DSA: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_DSA") @native()
- val ENGINE_METHOD_EC: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_EC") @native()
- val ENGINE_METHOD_NONE: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_NONE") @native()
- val ENGINE_METHOD_PKEY_ASN1_METHS: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_PKEY_ASN1_METHS") @native()
- val ENGINE_METHOD_PKEY_METHS: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_PKEY_METHS") @native()
- val ENGINE_METHOD_RAND: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_RAND") @native()
- val ENGINE_METHOD_RSA: Double
- Annotations
- @JSImport("crypto", "constants.ENGINE_METHOD_RSA") @native()
- val OPENSSL_VERSION_NUMBER: Double
- Annotations
- @JSImport("crypto", "constants.OPENSSL_VERSION_NUMBER") @native()
- val POINT_CONVERSION_COMPRESSED: Double
- Annotations
- @JSImport("crypto", "constants.POINT_CONVERSION_COMPRESSED") @native()
- val POINT_CONVERSION_HYBRID: Double
- Annotations
- @JSImport("crypto", "constants.POINT_CONVERSION_HYBRID") @native()
- val POINT_CONVERSION_UNCOMPRESSED: Double
- Annotations
- @JSImport("crypto", "constants.POINT_CONVERSION_UNCOMPRESSED") @native()
- val RSA_NO_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_NO_PADDING") @native()
- val RSA_PKCS1_OAEP_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_PKCS1_OAEP_PADDING") @native()
- val RSA_PKCS1_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_PKCS1_PADDING") @native()
- val RSA_PKCS1_PSS_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_PKCS1_PSS_PADDING") @native()
- val RSA_PSS_SALTLEN_AUTO: Double
Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature.
Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature.
- Annotations
- @JSImport("crypto", "constants.RSA_PSS_SALTLEN_AUTO") @native()
- val RSA_PSS_SALTLEN_DIGEST: Double
Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying.
Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying.
- Annotations
- @JSImport("crypto", "constants.RSA_PSS_SALTLEN_DIGEST") @native()
- val RSA_PSS_SALTLEN_MAX_SIGN: Double
Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data.
Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data.
- Annotations
- @JSImport("crypto", "constants.RSA_PSS_SALTLEN_MAX_SIGN") @native()
- val RSA_SSLV23_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_SSLV23_PADDING") @native()
- val RSA_X931_PADDING: Double
- Annotations
- @JSImport("crypto", "constants.RSA_X931_PADDING") @native()
- val SSLOPNOSSLv2: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_SSLv2") @native()
- val SSLOPNOSSLv3: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_SSLv3") @native()
- val SSLOPNOTLSv1: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_TLSv1") @native()
- val SSLOPNOTLSv11: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_TLSv1_1") @native()
- val SSLOPNOTLSv12: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_TLSv1_2") @native()
- val SSL_OP_ALL: Double
Applies multiple bug workarounds within OpenSSL.
Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_ALL") @native()
- val SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: Double
Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers.
Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION") @native()
- val SSL_OP_CIPHER_SERVER_PREFERENCE: Double
Attempts to use the server's preferences instead of the client's when selecting a cipher.
Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_CIPHER_SERVER_PREFERENCE") @native()
- val SSL_OP_CISCO_ANYCONNECT: Double
Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER.
Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_CISCO_ANYCONNECT") @native()
- val SSL_OP_COOKIE_EXCHANGE: Double
Instructs OpenSSL to turn on cookie exchange.
Instructs OpenSSL to turn on cookie exchange.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_COOKIE_EXCHANGE") @native()
- val SSL_OP_CRYPTOPRO_TLSEXT_BUG: Double
Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft.
Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_CRYPTOPRO_TLSEXT_BUG") @native()
- val SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: Double
Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d.
Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS") @native()
- val SSL_OP_EPHEMERAL_RSA: Double
Instructs OpenSSL to always use the tmp_rsa key when performing RSA operations.
Instructs OpenSSL to always use the tmp_rsa key when performing RSA operations.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_EPHEMERAL_RSA") @native()
- val SSL_OP_LEGACY_SERVER_CONNECT: Double
Allows initial connection to servers that do not support RI.
Allows initial connection to servers that do not support RI.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_LEGACY_SERVER_CONNECT") @native()
- val SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER") @native()
- val SSL_OP_MICROSOFT_SESS_ID_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_MICROSOFT_SESS_ID_BUG") @native()
- val SSL_OP_MSIE_SSLV2_RSA_PADDING: Double
Instructs OpenSSL to disable the workaround for a man-in-the-middle protocol-version vulnerability in the SSL 2.0 server implementation.
Instructs OpenSSL to disable the workaround for a man-in-the-middle protocol-version vulnerability in the SSL 2.0 server implementation.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_MSIE_SSLV2_RSA_PADDING") @native()
- val SSL_OP_NETSCAPE_CA_DN_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NETSCAPE_CA_DN_BUG") @native()
- val SSL_OP_NETSCAPE_CHALLENGE_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NETSCAPE_CHALLENGE_BUG") @native()
- val SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG") @native()
- val SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG") @native()
- val SSL_OP_NO_COMPRESSION: Double
Instructs OpenSSL to disable support for SSL/TLS compression.
Instructs OpenSSL to disable support for SSL/TLS compression.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_COMPRESSION") @native()
- val SSL_OP_NO_QUERY_MTU: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_QUERY_MTU") @native()
- val SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: Double
Instructs OpenSSL to always start a new session when performing renegotiation.
Instructs OpenSSL to always start a new session when performing renegotiation.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION") @native()
- val SSL_OP_NO_TICKET: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_NO_TICKET") @native()
- val SSL_OP_PKCS1_CHECK_1: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_PKCS1_CHECK_1") @native()
- val SSL_OP_PKCS1_CHECK_2: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_PKCS1_CHECK_2") @native()
- val SSL_OP_SINGLE_DH_USE: Double
Instructs OpenSSL to always create a new key when using temporary/ephemeral DH parameters.
Instructs OpenSSL to always create a new key when using temporary/ephemeral DH parameters.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_SINGLE_DH_USE") @native()
- val SSL_OP_SINGLE_ECDH_USE: Double
Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters.
Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_SINGLE_ECDH_USE") @native()
- val SSL_OP_SSLEAY_080_CLIENT_DH_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_SSLEAY_080_CLIENT_DH_BUG") @native()
- val SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG") @native()
- val SSL_OP_TLS_BLOCK_PADDING_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_TLS_BLOCK_PADDING_BUG") @native()
- val SSL_OP_TLS_D5_BUG: Double
- Annotations
- @JSImport("crypto", "constants.SSL_OP_TLS_D5_BUG") @native()
- val SSL_OP_TLS_ROLLBACK_BUG: Double
Instructs OpenSSL to disable version rollback attack detection.
Instructs OpenSSL to disable version rollback attack detection.
- Annotations
- @JSImport("crypto", "constants.SSL_OP_TLS_ROLLBACK_BUG") @native()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val defaultCipherList: scala.Predef.String
Specifies the active default cipher list used by the current Node.js process (colon-separated values).
Specifies the active default cipher list used by the current Node.js process (colon-separated values).
- Annotations
- @JSImport("crypto", "constants.defaultCipherList") @native()
- val defaultCoreCipherList: scala.Predef.String
Specifies the built-in default cipher list used by Node.js (colon-separated values).
Specifies the built-in default cipher list used by Node.js (colon-separated values).
- Annotations
- @JSImport("crypto", "constants.defaultCoreCipherList") @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated