p

org.scalajs.dom

crypto

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
    Annotations
    @JSType() @native()
  2. trait AesCfbParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  3. trait AesCmacParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  4. trait AesCtrParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  5. trait AesDerivedKeyParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  6. trait AesGcmParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  7. trait AesKeyAlgorithm extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  8. trait AesKeyGenParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  9. trait Algorithm extends Object
    Annotations
    @JSType() @native()
  10. 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

  11. type BigInteger = Uint8Array
  12. sealed trait BufferSource extends Any
    Annotations
    @JSType() @native()
  13. trait ConcatParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  14. 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()
  15. 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()
  16. 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()
  17. trait DhImportKeyParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  18. trait DhKeyAlgorithm extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  19. trait DhKeyDeriveParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  20. trait DhKeyGenParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  21. trait EcKeyAlgorithm extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  22. trait EcKeyGenParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  23. trait EcKeyImportParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  24. trait EcdhKeyDeriveParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  25. trait EcdsaParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  26. 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()
  27. 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.

  28. trait HkdfCtrParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  29. trait HmacImportParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  30. trait HmacKeyAlgorithm extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  31. trait HmacKeyGenParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  32. trait JsonWebKey extends Object
    Annotations
    @JSType() @native()
  33. 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()
  34. 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.

  35. trait KeyFormat extends Any

    see ¶14.2 Data Types in W3C spec

    see ¶14.2 Data Types in W3C spec

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

    see ¶13 CryptoKey interface in W3C doc

    see ¶13 CryptoKey interface in W3C doc

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

    See ¶ 13. CryptoKey Interface of w3c spec

    Annotations
    @JSType() @native()
  38. trait Pbkdf2Params extends Object with HashAlgorithm
    Annotations
    @JSType() @native()
  39. 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()
  40. trait RsaHashedImportParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  41. trait RsaHashedKeyAlgorithm extends Object with RsaKeyAlgorithm

    see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary

    Annotations
    @JSType() @native()
  42. trait RsaHashedKeyGenParams extends Object with RsaKeyGenParams
    Annotations
    @JSType() @native()
  43. trait RsaKeyAlgorithm extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  44. trait RsaKeyGenParams extends Object with KeyAlgorithm
    Annotations
    @JSType() @native()
  45. trait RsaOaepParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  46. trait RsaOtherPrimesInfo extends Object
    Annotations
    @JSType() @native()
  47. trait RsaPssParams extends Object with Algorithm
    Annotations
    @JSType() @native()
  48. 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()

Inherited from AnyRef

Inherited from Any

Ungrouped