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
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
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
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
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.
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.
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.
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.
see ¶14.2 Data Types in W3C spec
see ¶14.2 Data Types in W3C spec
see ¶13 CryptoKey interface in W3C doc
see ¶13 CryptoKey interface in W3C doc
See ¶ 13. CryptoKey Interface of w3c spec
See ¶ 13. CryptoKey Interface of w3c spec
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?
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
see W3C doc 20.6. RsaHashedKeyAlgorithm dictionary
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