package crypto
- Alphabetic
- By Inheritance
- crypto
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
AesCbcParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
AesCfbParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
AesCmacParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
AesCtrParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
AesDerivedKeyParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
AesGcmParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
AesKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
AesKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
Algorithm extends Object
- Annotations
- @JSType() @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
- @JSType() @native()
-
trait
ConcatParams extends Object with Algorithm
- Annotations
- @JSType() @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
- @JSType() @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
- @JSType() @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
- @JSType() @native()
-
trait
DhImportKeyParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
DhKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
DhKeyDeriveParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
DhKeyGenParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
EcKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
EcKeyGenParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
EcKeyImportParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
EcdhKeyDeriveParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
EcdsaParams extends Object with Algorithm
- Annotations
- @JSType() @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
- @JSType() @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
- @JSType() @native()
-
trait
HmacImportParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
HmacKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
HmacKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
JsonWebKey extends Object
- Annotations
- @JSType() @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
- @JSType() @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
- @JSType() @native()
-
trait
KeyType extends Any
see ¶13 CryptoKey interface in W3C doc
see ¶13 CryptoKey interface in W3C doc
- Annotations
- @JSType() @native()
-
trait
KeyUsage extends Any
See ¶ 13. CryptoKey Interface of w3c spec
See ¶ 13. CryptoKey Interface of w3c spec
- Annotations
- @JSType() @native()
-
trait
Pbkdf2Params extends Object with HashAlgorithm
- Annotations
- @JSType() @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
- @JSType() @native()
-
trait
RsaHashedImportParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
RsaHashedKeyAlgorithm extends Object with RsaKeyAlgorithm
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
- Annotations
- @JSType() @native()
-
trait
RsaHashedKeyGenParams extends Object with RsaKeyGenParams
- Annotations
- @JSType() @native()
-
trait
RsaKeyAlgorithm extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
RsaKeyGenParams extends Object with KeyAlgorithm
- Annotations
- @JSType() @native()
-
trait
RsaOaepParams extends Object with Algorithm
- Annotations
- @JSType() @native()
-
trait
RsaOtherPrimesInfo extends Object
- Annotations
- @JSType() @native()
-
trait
RsaPssParams extends Object with Algorithm
- Annotations
- @JSType() @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
- @JSType() @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