package crypto
- Alphabetic
- By Inheritance
- crypto
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait AesCbcParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait AesCfbParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait AesCmacParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait AesCtrParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait AesDerivedKeyParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait AesGcmParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait AesKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait AesKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait Algorithm extends Object
- Annotations
- @RawJSType() @native()
- type AlgorithmIdentifier = |[Algorithm, String]
According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString.According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString. We make this more precise here and specify an Algorithm. note: it may be that we can do only with KeyAlgorithmIdentifier and HashAlgorithmIdentifier - type BigInteger = Uint8Array
- sealed trait BufferSource extends Any
- Annotations
- @RawJSType() @native()
- trait ConcatParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait Crypto extends Object
The Crypto interface represents basic cryptography features available in the current context.
The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
MDN
- Annotations
- @RawJSType() @native()
- trait CryptoKey extends Object
The CryptoKey object represents an opaque reference to keying material that is managed by the user agent.
The CryptoKey object represents an opaque reference to keying material that is managed by the user agent.
defined at ¶13 The CryptoKey Interface
- Annotations
- @RawJSType() @native()
- trait CryptoKeyPair extends Object
The CryptoKeyPair dictionary represents an asymmetric key pair that is comprised of both public and private keys.
The CryptoKeyPair dictionary represents an asymmetric key pair that is comprised of both public and private keys. defined at ¶17 CryptoKeyPair dictionary of spec
- Annotations
- @RawJSType() @native()
- trait DhImportKeyParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait DhKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait DhKeyDeriveParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait DhKeyGenParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait EcKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait EcKeyGenParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait EcKeyImportParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait EcdhKeyDeriveParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait EcdsaParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait HashAlgorithm extends Object with Algorithm
A HashAlgorithm type is not defined in the W3C Web Crypto API, even though a KeyAlgorithm dictionary type is.
A HashAlgorithm type is not defined in the W3C Web Crypto API, even though a KeyAlgorithm dictionary type is. There are nevertheless a number of indications that HashAlgorithm's are a type of their own, as searching the spec will show.
- Annotations
- @RawJSType() @native()
- type HashAlgorithmIdentifier = |[HashAlgorithm, String]
According to ¶11 Algorithm Identifier a HashAlgorithmIdentifier is an AlgorithmIdentifier.
According to ¶11 Algorithm Identifier a HashAlgorithmIdentifier is an AlgorithmIdentifier. Here we distinguish between Hash and Key Algorithm Identifiers. At the JS layer these have the same structure.
- trait HkdfCtrParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait HmacImportParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait HmacKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait HmacKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait JsonWebKey extends Object
- Annotations
- @RawJSType() @native()
- trait KeyAlgorithm extends Object with Algorithm
The KeyAlgorithm dictionary represents information about the contents of a given CryptoKey object.
The KeyAlgorithm dictionary represents information about the contents of a given CryptoKey object.
See ¶12 KeyAlgorithm dictionary in w3c spec.
- Annotations
- @RawJSType() @native()
- type KeyAlgorithmIdentifier = |[KeyAlgorithm, String]
According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString.According to ¶11 Algorithm Identifier of the WebCryptoAPI an AlgorithmIdentifier is an
object or DOMString. We make this more precise here and distinguish the non overlapping classes of Key and Hash Algorithms. - trait KeyFormat extends Any
see ¶14.2 Data Types in W3C spec
see ¶14.2 Data Types in W3C spec
- Annotations
- @RawJSType() @native()
- trait KeyType extends Any
see ¶13 CryptoKey interface in W3C doc
see ¶13 CryptoKey interface in W3C doc
- Annotations
- @RawJSType() @native()
- trait KeyUsage extends Any
See ¶ 13. CryptoKey Interface of w3c spec
See ¶ 13. CryptoKey Interface of w3c spec
- Annotations
- @RawJSType() @native()
- trait Pbkdf2Params extends Object with HashAlgorithm
- Annotations
- @RawJSType() @native()
- trait RSAPublicKey extends Object
see example http://tools.ietf.org/html/rfc7517#appendix-A.1 //todo: where is the specification of n and e?
see example http://tools.ietf.org/html/rfc7517#appendix-A.1 //todo: where is the specification of n and e?
- Annotations
- @RawJSType() @native()
- trait RsaHashedImportParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait RsaHashedKeyAlgorithm extends Object with RsaKeyAlgorithm
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
- Annotations
- @RawJSType() @native()
- trait RsaHashedKeyGenParams extends Object with RsaKeyGenParams
- Annotations
- @RawJSType() @native()
- trait RsaKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait RsaKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @RawJSType() @native()
- trait RsaOaepParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait RsaOtherPrimesInfo extends Object
- Annotations
- @RawJSType() @native()
- trait RsaPssParams extends Object with Algorithm
- Annotations
- @RawJSType() @native()
- trait SubtleCrypto extends Object
w3c ¶14 Subtle Crytpo interface
w3c ¶14 Subtle Crytpo interface
The SubtleCrypto interface represents a set of cryptographic primitives. It is available via the Crypto.subtle properties available in a window context (via Window.crypto).
MDN
- Annotations
- @RawJSType() @native()
Value Members
- implicit def arrayBuffer2BufferSource(b: ArrayBuffer): BufferSource
- implicit def arrayBufferView2BufferSource(b: ArrayBufferView): BufferSource
- val crypto: Crypto
- object AesCbcParams
- object AesCfbParams
- object AesCmacParams
- object AesCtrParams
- object AesDerivedKeyParams
- object AesGcmParams
- object AesKeyAlgorithm
- object AesKeyGenParams
- object ConcatParams
- object DhImportKeyParams
- object DhKeyAlgorithm
- object DhKeyDeriveParams
- object DhKeyGenParams
- object EcKeyAlgorithm
- object EcKeyGenParams
- object EcKeyImportParams
- object EcdhKeyDeriveParams
- object EcdsaParams
- object GlobalCrypto extends Object
- Annotations
- @native() @JSGlobalScope()
- object HashAlgorithm
- object HkdfCtrParams
- object HmacImportParams
- object HmacKeyAlgorithm
- object HmacKeyGenParams
- object KeyFormat
- object KeyType
- object KeyUsage
- object Pbkdf2Params
- object RsaHashedImportParams
- object RsaHashedKeyAlgorithm
- object RsaHashedKeyGenParams
- object RsaKeyAlgorithm
- object RsaKeyGenParams
- object RsaOaepParams
- object RsaPssParams