Package

org.scalajs.dom

crypto

Permalink

package crypto

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. crypto
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait AesCbcParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  2. trait AesCfbParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  3. trait AesCmacParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  4. trait AesCtrParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  5. trait AesDerivedKeyParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  6. trait AesGcmParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  7. trait AesKeyAlgorithm extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  8. trait AesKeyGenParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  9. trait Algorithm extends Object

    Permalink
    Annotations
    @RawJSType() @native()
  10. type AlgorithmIdentifier = |[Algorithm, String]

    Permalink

    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

  11. type BigInteger = Uint8Array

    Permalink
  12. sealed trait BufferSource extends Any

    Permalink
    Annotations
    @RawJSType() @native()
  13. trait ConcatParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  14. trait Crypto extends Object

    Permalink

    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()
  15. trait CryptoKey extends Object

    Permalink

    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()
  16. trait CryptoKeyPair extends Object

    Permalink

    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()
  17. trait DhImportKeyParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  18. trait DhKeyAlgorithm extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  19. trait DhKeyDeriveParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  20. trait DhKeyGenParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  21. trait EcKeyAlgorithm extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  22. trait EcKeyGenParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  23. trait EcKeyImportParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  24. trait EcdhKeyDeriveParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  25. trait EcdsaParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  26. trait HashAlgorithm extends Object with Algorithm

    Permalink

    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()
  27. type HashAlgorithmIdentifier = |[HashAlgorithm, String]

    Permalink

    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.

  28. trait HkdfCtrParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  29. trait HmacImportParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  30. trait HmacKeyAlgorithm extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  31. trait HmacKeyGenParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  32. trait JsonWebKey extends Object

    Permalink
    Annotations
    @RawJSType() @native()
  33. trait KeyAlgorithm extends Object with Algorithm

    Permalink

    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()
  34. type KeyAlgorithmIdentifier = |[KeyAlgorithm, String]

    Permalink

    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.

  35. trait KeyFormat extends Any

    Permalink

    see ¶14.2 Data Types in W3C spec

    see ¶14.2 Data Types in W3C spec

    Annotations
    @RawJSType() @native()
  36. trait KeyType extends Any

    Permalink

    see ¶13 CryptoKey interface in W3C doc

    see ¶13 CryptoKey interface in W3C doc

    Annotations
    @RawJSType() @native()
  37. trait KeyUsage extends Any

    Permalink

    See ¶ 13. CryptoKey Interface of w3c spec

    Annotations
    @RawJSType() @native()
  38. trait Pbkdf2Params extends Object with HashAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  39. trait RSAPublicKey extends Object

    Permalink

    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()
  40. trait RsaHashedImportParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  41. trait RsaHashedKeyAlgorithm extends Object with RsaKeyAlgorithm

    Permalink

    see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary

    Annotations
    @RawJSType() @native()
  42. trait RsaHashedKeyGenParams extends Object with RsaKeyGenParams

    Permalink
    Annotations
    @RawJSType() @native()
  43. trait RsaKeyAlgorithm extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  44. trait RsaKeyGenParams extends Object with KeyAlgorithm

    Permalink
    Annotations
    @RawJSType() @native()
  45. trait RsaOaepParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  46. trait RsaOtherPrimesInfo extends Object

    Permalink
    Annotations
    @RawJSType() @native()
  47. trait RsaPssParams extends Object with Algorithm

    Permalink
    Annotations
    @RawJSType() @native()
  48. trait SubtleCrypto extends Object

    Permalink

    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

  1. object AesCbcParams

    Permalink
  2. object AesCfbParams

    Permalink
  3. object AesCmacParams

    Permalink
  4. object AesCtrParams

    Permalink
  5. object AesDerivedKeyParams

    Permalink
  6. object AesGcmParams

    Permalink
  7. object AesKeyAlgorithm

    Permalink
  8. object AesKeyGenParams

    Permalink
  9. object ConcatParams

    Permalink
  10. object DhImportKeyParams

    Permalink
  11. object DhKeyAlgorithm

    Permalink
  12. object DhKeyDeriveParams

    Permalink
  13. object DhKeyGenParams

    Permalink
  14. object EcKeyAlgorithm

    Permalink
  15. object EcKeyGenParams

    Permalink
  16. object EcKeyImportParams

    Permalink
  17. object EcdhKeyDeriveParams

    Permalink
  18. object EcdsaParams

    Permalink
  19. object GlobalCrypto extends GlobalScope

    Permalink
    Annotations
    @native()
  20. object HashAlgorithm

    Permalink
  21. object HkdfCtrParams

    Permalink
  22. object HmacImportParams

    Permalink
  23. object HmacKeyAlgorithm

    Permalink
  24. object HmacKeyGenParams

    Permalink
  25. object KeyFormat

    Permalink
  26. object KeyType

    Permalink
  27. object KeyUsage

    Permalink
  28. object Pbkdf2Params

    Permalink
  29. object RsaHashedImportParams

    Permalink
  30. object RsaHashedKeyAlgorithm

    Permalink
  31. object RsaHashedKeyGenParams

    Permalink
  32. object RsaKeyAlgorithm

    Permalink
  33. object RsaKeyGenParams

    Permalink
  34. object RsaOaepParams

    Permalink
  35. object RsaPssParams

    Permalink
  36. implicit def arrayBuffer2BufferSource(b: ArrayBuffer): BufferSource

    Permalink
  37. implicit def arrayBufferView2BufferSource(b: ArrayBufferView): BufferSource

    Permalink
  38. val crypto: Crypto

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped