diff --git a/index.html b/index.html index 4c59d6f..26b37d9 100644 --- a/index.html +++ b/index.html @@ -123,7 +123,7 @@ - + @@ -1464,56 +1464,81 @@
SubtleCrypto
interface provides a set of
methods for dealing with low-level cryptographic primitives and algorithms.
- WebIDLenum KeyFormat
{ "raw
", "spki
", "pkcs8
", "jwk
" };
+ WebIDLenum KeyFormat
{ "raw
", "spki
", "pkcs8
", "jwk
" };
[SecureContext,Exposed=(Window,Worker)]
interface SubtleCrypto
{
- Promise<any> encrypt
(AlgorithmIdentifier
algorithm,
- CryptoKey
key,
- BufferSource data);
- Promise<any> decrypt
(AlgorithmIdentifier
algorithm,
- CryptoKey
key,
- BufferSource data);
- Promise<any> sign
(AlgorithmIdentifier
algorithm,
- CryptoKey
key,
- BufferSource data);
- Promise<any> verify
(AlgorithmIdentifier
algorithm,
- CryptoKey
key,
- BufferSource signature,
- BufferSource data);
- Promise<any> digest
(AlgorithmIdentifier
algorithm,
- BufferSource data);
+ Promise<ArrayBuffer> encrypt
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
key,
+ BufferSource data
+ );
+ Promise<ArrayBuffer> decrypt
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
key,
+ BufferSource data
+ );
+ Promise<ArrayBuffer> sign
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
key,
+ BufferSource data
+ );
+ Promise<boolean> verify
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
key,
+ BufferSource signature,
+ BufferSource data
+ );
+ Promise<ArrayBuffer> digest
(
+ AlgorithmIdentifier
algorithm,
+ BufferSource data
+ );
- Promise<any> generateKey
(AlgorithmIdentifier
algorithm,
- boolean extractable,
- sequence<KeyUsage
> keyUsages );
- Promise<any> deriveKey
(AlgorithmIdentifier
algorithm,
- CryptoKey
baseKey,
- AlgorithmIdentifier
derivedKeyType,
- boolean extractable,
- sequence<KeyUsage
> keyUsages );
- Promise<ArrayBuffer> deriveBits
(AlgorithmIdentifier
algorithm,
- CryptoKey
baseKey,
- optional unsigned long? length = null);
+ Promise<(CryptoKey
or CryptoKeyPair
)> generateKey
(
+ AlgorithmIdentifier
algorithm,
+ boolean extractable,
+ sequence<KeyUsage
> keyUsages
+ );
+ Promise<CryptoKey
> deriveKey
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
baseKey,
+ AlgorithmIdentifier
derivedKeyType,
+ boolean extractable,
+ sequence<KeyUsage
> keyUsages
+ );
+ Promise<ArrayBuffer> deriveBits
(
+ AlgorithmIdentifier
algorithm,
+ CryptoKey
baseKey,
+ optional unsigned long? length = null
+ );
- Promise<CryptoKey
> importKey
(KeyFormat
format,
- (BufferSource or JsonWebKey
) keyData,
- AlgorithmIdentifier
algorithm,
- boolean extractable,
- sequence<KeyUsage
> keyUsages );
- Promise<any> exportKey
(KeyFormat
format, CryptoKey
key);
+ Promise<CryptoKey
> importKey
(
+ KeyFormat
format,
+ (BufferSource or JsonWebKey
) keyData,
+ AlgorithmIdentifier
algorithm,
+ boolean extractable,
+ sequence<KeyUsage
> keyUsages
+ );
+ Promise<(ArrayBuffer or JsonWebKey
)> exportKey
(
+ KeyFormat
format,
+ CryptoKey
key
+ );
- Promise<any> wrapKey
(KeyFormat
format,
- CryptoKey
key,
- CryptoKey
wrappingKey,
- AlgorithmIdentifier
wrapAlgorithm);
- Promise<CryptoKey
> unwrapKey
(KeyFormat
format,
- BufferSource wrappedKey,
- CryptoKey
unwrappingKey,
- AlgorithmIdentifier
unwrapAlgorithm,
- AlgorithmIdentifier
unwrappedKeyAlgorithm,
- boolean extractable,
- sequence<KeyUsage
> keyUsages );
+ Promise<ArrayBuffer> wrapKey
(
+ KeyFormat
format,
+ CryptoKey
key,
+ CryptoKey
wrappingKey,
+ AlgorithmIdentifier
wrapAlgorithm
+ );
+ Promise<CryptoKey
> unwrapKey
(
+ KeyFormat
format,
+ BufferSource wrappedKey,
+ CryptoKey
unwrappingKey,
+ AlgorithmIdentifier
unwrapAlgorithm,
+ AlgorithmIdentifier
unwrappedKeyAlgorithm,
+ boolean extractable,
+ sequence<KeyUsage
> keyUsages
+ );
};
@@ -1554,7 +1579,7 @@
spki
jwk
JsonWebKey
dictionary encoded as a JavaScript objectJsonWebKey
dictionary encoded as a JavaScript objectAlgorithmIdentifier
with
- the supplied CryptoKey
. It must act
+ the supplied CryptoKey
. It must act
as follows:
decrypt
method returns a new Promise object that will decrypt data using the specified
AlgorithmIdentifier
with
- the supplied CryptoKey
. It must act
+ the supplied CryptoKey
. It must act
as follows:
The sign
method returns a
new Promise object that will sign data using the specified AlgorithmIdentifier
with the supplied
- CryptoKey
. It must act as follows:
+ CryptoKey
. It must act as follows:
The verify
method returns
a new Promise object that will verify data using the specified AlgorithmIdentifier
with the supplied
- CryptoKey
. It must act as follows:
+ CryptoKey
. It must act as follows:
CryptoKey
object:CryptoKey
object:
If the [[type]]
internal slot of
@@ -2179,7 +2204,7 @@
SyntaxError
.
CryptoKeyPair
object:CryptoKeyPair
object:
If the [[usages]]
internal slot of the
@@ -2497,7 +2522,7 @@
If the keyData
parameter passed to the
importKey
()
method is a
- JsonWebKey
dictionary, throw a
+ JsonWebKey
dictionary, throw a
TypeError
.
If the keyData
parameter passed to the
importKey
()
method is not a
- JsonWebKey
dictionary, throw a
+ JsonWebKey
dictionary, throw a
TypeError
.
- Let result be the CryptoKey
object that
+ Let result be the CryptoKey
object that
results from performing the import key operation specified by
normalizedAlgorithm using keyData,
algorithm,
@@ -3203,7 +3228,7 @@
t
;
};
-dictionary JsonWebKey
{
+dictionary JsonWebKey
{
// The following fields are defined in Section 3.1 of JSON Web Key
DOMString kty
;
DOMString use
;
@@ -3257,9 +3282,9 @@ WebIDLdictionary CryptoKeyPair
{
- CryptoKey
publicKey
;
- CryptoKey
privateKey
;
+ WebIDLdictionary CryptoKeyPair
{
+ CryptoKey
publicKey
;
+ CryptoKey
privateKey
;
};
The CryptoKeyPair
dictionary represents an
@@ -4056,12 +4081,12 @@
Web Cryptography API
generateKey
RsaHashedKeyGenParams
- CryptoKeyPair
+ CryptoKeyPair
importKey
RsaHashedImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -4253,7 +4278,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -4283,7 +4308,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -4313,7 +4338,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -4400,7 +4425,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA public key identified by
publicKey.
@@ -4468,7 +4493,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA private key identified by
rsaPrivateKey.
@@ -4486,7 +4511,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -4672,7 +4697,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents
+ Let key be a new CryptoKey
object that represents
privateKey.
@@ -4710,7 +4735,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
representing publicKey.
+ Let key be a new CryptoKey
representing publicKey.
-
@@ -4918,7 +4943,7 @@
Web Cryptography API
-
-
-
Let jwk be a new JsonWebKey
+
Let jwk be a new JsonWebKey
dictionary.
-
@@ -5111,12 +5136,12 @@
Web Cryptography API
generateKey
RsaHashedKeyGenParams
- CryptoKeyPair
+ CryptoKeyPair
importKey
RsaHashedImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -5280,7 +5305,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -5310,7 +5335,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -5340,7 +5365,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -5427,7 +5452,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA public key identified by
publicKey.
@@ -5493,7 +5518,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA private key identified by
rsaPrivateKey.
@@ -5511,7 +5536,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -5691,7 +5716,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
representing privateKey.
+ Let key be a new CryptoKey
representing privateKey.
-
@@ -5728,7 +5753,7 @@
Web Cryptography API
-
- Let key be a new CryptoKey
representing publicKey.
+ Let key be a new CryptoKey
representing publicKey.
-
@@ -5936,7 +5961,7 @@
Web Cryptography API
-
-
-
Let jwk be a new JsonWebKey
dictionary.
+ Let jwk be a new JsonWebKey
dictionary.
-
Set the kty
attribute of jwk to the string
@@ -6122,12 +6147,12 @@
Web Cryptography API
generateKey
RsaHashedKeyGenParams
- CryptoKeyPair
+ CryptoKeyPair
importKey
RsaHashedImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -6319,7 +6344,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -6351,7 +6376,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -6383,7 +6408,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -6471,7 +6496,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA public key identified by
publicKey.
@@ -6537,7 +6562,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the RSA private key identified by
rsaPrivateKey.
@@ -6555,7 +6580,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -6715,7 +6740,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
representing privateKey.
+ Let key be a new CryptoKey
representing privateKey.
-
@@ -6752,7 +6777,7 @@
Web Cryptography API
-
- Let key be a new CryptoKey
representing publicKey.
+ Let key be a new CryptoKey
representing publicKey.
-
@@ -6961,7 +6986,7 @@
Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -7164,12 +7189,12 @@ Web Cryptography API
generateKey
EcKeyGenParams
- CryptoKeyPair
+ CryptoKeyPair
importKey
EcKeyImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -7488,7 +7513,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -7518,7 +7543,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -7548,7 +7573,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -7706,7 +7731,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents publicKey.
@@ -7910,7 +7935,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the Elliptic Curve private key identified by
performing the conversion steps defined in Section 3 of [RFC5915] using ecPrivateKey.
@@ -7990,7 +8015,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -8118,7 +8143,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Elliptic Curve private key identified by interpreting
jwk according to Section 6.2.2 of JSON Web Algorithms [JWA].
@@ -8142,7 +8167,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Elliptic Curve public key identified by interpreting
jwk according to Section 6.2.1 of JSON Web Algorithms [JWA].
@@ -8273,7 +8298,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents Q.
@@ -8357,7 +8382,7 @@ Web Cryptography API
-
- Let key be the CryptoKey
to be
+ Let key be the CryptoKey
to be
exported.
@@ -8662,7 +8687,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -8889,7 +8914,7 @@ Web Cryptography API
generateKey
EcKeyGenParams
- CryptoKeyPair
+ CryptoKeyPair
deriveBits
@@ -8899,7 +8924,7 @@ Web Cryptography API
importKey
EcKeyImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -8912,7 +8937,7 @@ Web Cryptography API
WebIDLdictionary EcdhKeyDeriveParams
: Algorithm
{
- required CryptoKey
public
;
+ required CryptoKey
public
;
};
The public
member represents the peer's EC public key.
@@ -8995,7 +9020,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -9025,7 +9050,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -9057,7 +9082,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -9333,7 +9358,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents publicKey.
@@ -9540,7 +9565,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents the Elliptic Curve private key identified by
performing the conversion steps defined in Section 3 of [RFC5915] using ecPrivateKey.
@@ -9620,7 +9645,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -9705,7 +9730,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Elliptic Curve private key identified by interpreting
jwk according to Section 6.2.2 of JSON Web Algorithms [JWA].
@@ -9729,7 +9754,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Elliptic Curve public key identified by interpreting
jwk according to Section 6.2.1 of JSON Web Algorithms [JWA].
@@ -9855,7 +9880,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
that represents Q.
@@ -9932,7 +9957,7 @@ Web Cryptography API
-
- Let key be the CryptoKey
to be
+ Let key be the CryptoKey
to be
exported.
@@ -10226,7 +10251,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -10450,12 +10475,12 @@ Web Cryptography API
generateKey
None
- CryptoKeyPair
+ CryptoKeyPair
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -10593,7 +10618,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -10624,7 +10649,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -10655,7 +10680,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -10738,7 +10763,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
that represents publicKey.
@@ -10831,7 +10856,7 @@
Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
that represents the Ed25519 private key identified by curvePrivateKey.
@@ -10867,7 +10892,7 @@
Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -10941,7 +10966,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Ed25519 private key identified by interpreting
jwk according to Section 2 of [RFC8037].
@@ -10966,7 +10991,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
Ed25519 public key identified by interpreting
jwk according to Section 2 of [RFC8037].
@@ -11024,7 +11049,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
representing the key data provided in keyData.
@@ -11066,7 +11091,7 @@
Web Cryptography API
-
- Let key be the CryptoKey
to be
+ Let key be the CryptoKey
to be
exported.
@@ -11181,7 +11206,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -11311,12 +11336,12 @@ Web Cryptography API
generateKey
None
- CryptoKeyPair
+ CryptoKeyPair
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -11431,7 +11456,7 @@ Web Cryptography API
-
- Let publicKey be a new CryptoKey
+ Let publicKey be a new CryptoKey
representing the public key of the generated key pair.
@@ -11461,7 +11486,7 @@ Web Cryptography API
-
- Let privateKey be a new CryptoKey
+ Let privateKey be a new CryptoKey
representing the private key of the generated key pair.
@@ -11493,7 +11518,7 @@ Web Cryptography API
-
- Let result be a new CryptoKeyPair
+ Let result be a new CryptoKeyPair
dictionary.
@@ -11575,7 +11600,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
that represents publicKey.
@@ -11668,7 +11693,7 @@
Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
that represents the X25519 private key identified by curvePrivateKey.
@@ -11704,7 +11729,7 @@
Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -11782,7 +11807,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
X25519 private key identified by interpreting
jwk according to Section 2 of [RFC8037].
@@ -11807,7 +11832,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object that represents the
+ Let key be a new CryptoKey
object that represents the
X25519 public key identified by interpreting
jwk according to Section 2 of [RFC8037].
@@ -11864,7 +11889,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
associated with the
+ Let key be a new CryptoKey
associated with the
relevant global object
of this
[HTML], and
representing the key data provided in keyData.
@@ -11906,7 +11931,7 @@
Web Cryptography API
-
- Let key be the CryptoKey
to be
+ Let key be the CryptoKey
to be
exported.
@@ -12021,7 +12046,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -12156,12 +12181,12 @@ Web Cryptography API
generateKey
AesKeyGenParams
- CryptoKey
+ CryptoKey
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -12335,7 +12360,7 @@ Web Cryptography API
-
Let key be a new
- CryptoKey
object representing the
+ CryptoKey
object representing the
generated AES key.
@@ -12426,7 +12451,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -12514,7 +12539,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
object representing an AES key with
+ Let key be a new CryptoKey
object representing an AES key with
value data.
@@ -12587,7 +12612,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -12724,12 +12749,12 @@ Web Cryptography API
generateKey
AesKeyGenParams
- CryptoKey
+ CryptoKey
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -12875,7 +12900,7 @@ Web Cryptography API
-
Let key be a new
- CryptoKey
object representing the
+ CryptoKey
object representing the
generated AES key.
@@ -12966,7 +12991,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -13055,7 +13080,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
object representing an AES key with value data.
@@ -13127,7 +13152,7 @@ Web Cryptography API
-
-
-
Let jwk be a new JsonWebKey
dictionary.
+ Let jwk be a new JsonWebKey
dictionary.
-
@@ -13254,12 +13279,12 @@
Web Cryptography API
generateKey
AesKeyGenParams
- CryptoKey
+ CryptoKey
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -13499,7 +13524,7 @@ Web Cryptography API
-
Let key be a new
- CryptoKey
object representing the
+ CryptoKey
object representing the
generated AES key.
@@ -13590,7 +13615,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -13679,7 +13704,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
object representing an AES key with value data.
@@ -13752,7 +13777,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -13880,12 +13905,12 @@ Web Cryptography API
generateKey
AesKeyGenParams
- CryptoKey
+ CryptoKey
importKey
None
- CryptoKey
+ CryptoKey
exportKey
@@ -13985,7 +14010,7 @@ Web Cryptography API
-
Let key be a new
- CryptoKey
object representing the
+ CryptoKey
object representing the
generated AES key.
@@ -14077,7 +14102,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -14165,7 +14190,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
representing an AES key with value data.
@@ -14238,7 +14263,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -14373,12 +14398,12 @@ Web Cryptography API
generateKey
HmacKeyGenParams
- CryptoKey
+ CryptoKey
importKey
HmacImportParams
- CryptoKey
+ CryptoKey
exportKey
@@ -14514,7 +14539,7 @@ Web Cryptography API
-
Let key be a new
- CryptoKey
object representing the
+ CryptoKey
object representing the
generated key.
@@ -14623,7 +14648,7 @@ Web Cryptography API
-
- - If keyData is a
JsonWebKey
dictionary:
+ - If keyData is a
JsonWebKey
dictionary:
Let jwk equal keyData.
- Otherwise:
@@ -14804,7 +14829,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
object representing an HMAC key with the first length
bits of data.
@@ -14889,7 +14914,7 @@ Web Cryptography API
-
- Let jwk be a new JsonWebKey
+ Let jwk be a new JsonWebKey
dictionary.
@@ -15180,7 +15205,7 @@ Web Cryptography API
importKey
None
- CryptoKey
+ CryptoKey
Get key length
@@ -15300,7 +15325,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
representing the key data provided in keyData.
@@ -15399,7 +15424,7 @@ Web Cryptography API
importKey
None
- CryptoKey
+ CryptoKey
Get key length
@@ -15498,7 +15523,7 @@ Web Cryptography API
-
- Let key be a new CryptoKey
+ Let key be a new CryptoKey
representing keyData.
@@ -17114,79 +17139,79 @@ Web Cryptography API
-
§ 13.5 Serialization and deserialization steps (2)
-
- § 14. SubtleCrypto interface (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12)
+ § 14. SubtleCrypto interface (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14)
-
- § 14.3.1 The encrypt method
+ § 14.3.1 The encrypt method
-
- § 14.3.2 The decrypt method
+ § 14.3.2 The decrypt method
-
- § 14.3.3 The sign method
+ § 14.3.3 The sign method
-
- § 14.3.4 The verify method
+ § 14.3.4 The verify method
-
- § 14.3.6 The generateKey method
+ § 14.3.6 The generateKey method
-
- § 14.3.9 The importKey() method
+ § 14.3.9 The importKey() method
-
- § 17. CryptoKeyPair dictionary (2)
+ § 17. CryptoKeyPair dictionary (2)
-
- § 20.2 Registration
+ § 20.2 Registration
-
- § 20.8 Operations (2) (3) (4) (5) (6)
+ § 20.8 Operations (2) (3) (4) (5) (6)
-
- § 21.2 Registration
+ § 21.2 Registration
-
- § 21.4 Operations (2) (3) (4) (5) (6)
+ § 21.4 Operations (2) (3) (4) (5) (6)
-
- § 22.2 Registration
+ § 22.2 Registration
-
- § 22.4 Operations (2) (3) (4) (5) (6)
+ § 22.4 Operations (2) (3) (4) (5) (6)
-
- § 23.2 Registration
+ § 23.2 Registration
-
- § 23.7 Operations (2) (3) (4) (5) (6) (7) (8)
+ § 23.7 Operations (2) (3) (4) (5) (6) (7) (8)
-
- § 24.2 Registration
+ § 24.2 Registration
-
- § 24.3 EcdhKeyDeriveParams dictionary
+ § 24.3 EcdhKeyDeriveParams dictionary
-
- § 24.4 Operations (2) (3) (4) (5) (6) (7) (8)
+ § 24.4 Operations (2) (3) (4) (5) (6) (7) (8)
-
- § 25.2 Registration
+ § 25.2 Registration
-
- § 25.3 Operations (2) (3) (4) (5) (6) (7) (8)
+ § 25.3 Operations (2) (3) (4) (5) (6) (7) (8)
-
- § 26.2 Registration
+ § 26.2 Registration
-
- § 26.3 Operations (2) (3) (4) (5) (6) (7) (8)
+ § 26.3 Operations (2) (3) (4) (5) (6) (7) (8)
-
- § 27.2 Registration (2)
+ § 27.2 Registration (2)
-
- § 27.7 Operations (2)
+ § 27.7 Operations (2)
-
- § 28.2 Registration (2)
+ § 28.2 Registration (2)
-
- § 28.4 Operations (2)
+ § 28.4 Operations (2)
-
- § 29.2 Registration (2)
+ § 29.2 Registration (2)
-
- § 29.4 Operations (2)
+ § 29.4 Operations (2)
-
- § 30.2 Registration (2)
+ § 30.2 Registration (2)
-
- § 30.3 Operations (2)
+ § 30.3 Operations (2)
-
- § 31.2 Registration (2)
+ § 31.2 Registration (2)
-
- § 31.6 Operations (2)
+ § 31.6 Operations (2)
-
- § 33.2 Registration
+ § 33.2 Registration
-
- § 33.4 Operations
+ § 33.4 Operations
-
- § 34.2 Registration
+ § 34.2 Registration
-
- § 34.4 Operations
+ § 34.4 Operations
@@ -17775,7 +17800,7 @@ Web Cryptography API
Referenced in:
@@ -17801,7 +17826,7 @@ Web Cryptography API
Referenced in:
@@ -17823,7 +17848,7 @@ Web Cryptography API
Referenced in:
@@ -17865,7 +17890,7 @@ Web Cryptography API
Referenced in:
@@ -17899,7 +17924,7 @@ Web Cryptography API
Referenced in:
@@ -17933,7 +17958,7 @@ Web Cryptography API
Referenced in:
@@ -18013,7 +18038,7 @@ Web Cryptography API
Referenced in:
@@ -18029,7 +18054,7 @@ Web Cryptography API
Referenced in:
@@ -18045,7 +18070,7 @@ Web Cryptography API
Referenced in:
@@ -18061,7 +18086,7 @@ Web Cryptography API
Referenced in:
@@ -18077,7 +18102,7 @@ Web Cryptography API
Referenced in:
@@ -18093,7 +18118,7 @@ Web Cryptography API
Referenced in:
@@ -18111,7 +18136,7 @@ Web Cryptography API
Referenced in:
@@ -18127,7 +18152,7 @@ Web Cryptography API
Referenced in:
@@ -18143,7 +18168,7 @@ Web Cryptography API
Referenced in:
@@ -18159,7 +18184,7 @@ Web Cryptography API
Referenced in:
@@ -18177,7 +18202,7 @@ Web Cryptography API
Referenced in:
@@ -18195,7 +18220,7 @@ Web Cryptography API
Referenced in:
@@ -18636,37 +18661,37 @@ Web Cryptography API
-
§ 9. Terminology
-
- § 14. SubtleCrypto interface
+ § 14. SubtleCrypto interface (2)
-
- § 14.1 Data Types
+ § 14.1 Data Types
-
- § 14.3.9 The importKey() method (2)
+ § 14.3.9 The importKey() method (2)
-
- § 15. JsonWebKey dictionary
+ § 15. JsonWebKey dictionary
-
- § 20.8 Operations (2)
+ § 20.8 Operations (2)
-
- § 21.4 Operations (2)
+ § 21.4 Operations (2)
-
- § 22.4 Operations (2)
+ § 22.4 Operations (2)
-
- § 23.7 Operations (2)
+ § 23.7 Operations (2)
-
- § 24.4 Operations (2)
+ § 24.4 Operations (2)
-
- § 25.3 Operations (2)
+ § 25.3 Operations (2)
-
- § 26.3 Operations (2)
+ § 26.3 Operations (2)
-
- § 27.7 Operations (2)
+ § 27.7 Operations (2)
-
- § 28.4 Operations (2)
+ § 28.4 Operations (2)
-
- § 29.4 Operations (2)
+ § 29.4 Operations (2)
-
- § 30.3 Operations (2)
+ § 30.3 Operations (2)
-
- § 31.6 Operations (2)
+ § 31.6 Operations (2)
@@ -18712,37 +18737,39 @@ Web Cryptography API
Referenced in:
-
- § 14.3.6 The generateKey method
+ § 14. SubtleCrypto interface
+
-
+ § 14.3.6 The generateKey method
-
- § 17. CryptoKeyPair dictionary
+ § 17. CryptoKeyPair dictionary
-
- § 20.2 Registration
+ § 20.2 Registration
-
- § 20.8 Operations
+ § 20.8 Operations
-
- § 21.2 Registration
+ § 21.2 Registration
-
- § 21.4 Operations
+ § 21.4 Operations
-
- § 22.2 Registration
+ § 22.2 Registration
-
- § 22.4 Operations
+ § 22.4 Operations
-
- § 23.2 Registration
+ § 23.2 Registration
-
- § 23.7 Operations
+ § 23.7 Operations
-
- § 24.2 Registration
+ § 24.2 Registration
-
- § 24.4 Operations
+ § 24.4 Operations
-
- § 25.2 Registration
+ § 25.2 Registration
-
- § 25.3 Operations
+ § 25.3 Operations
-
- § 26.2 Registration
+ § 26.2 Registration
-
- § 26.3 Operations
+ § 26.3 Operations