@@ -654,7 +654,7 @@ added: v15.0.0
654
654
* Type: {boolean}
655
655
656
656
When ` true ` , the {CryptoKey} can be extracted using either
657
- ` subtleCrypto .exportKey ()` or ` subtleCrypto .wrapKey ()` .
657
+ [ ` subtle .exportKey ()` ][] or [ ` subtle .wrapKey ()` ][] .
658
658
659
659
Read-only.
660
660
@@ -846,7 +846,7 @@ changes:
846
846
* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
847
847
848
848
Using the method and parameters specified in ` algorithm` and the keying
849
- material provided by ` key` , ` subtle . decrypt () ` attempts to decipher the
849
+ material provided by ` key` , this method attempts to decipher the
850
850
provided ` data` . If successful, the returned promise will be resolved with
851
851
an {ArrayBuffer} containing the plaintext result.
852
852
@@ -888,7 +888,7 @@ changes:
888
888
<!--lint enable maximum-line-length remark-lint-->
889
889
890
890
Using the method and parameters specified in ` algorithm` and the keying
891
- material provided by ` baseKey` , ` subtle . deriveBits () ` attempts to generate
891
+ material provided by ` baseKey` , this method attempts to generate
892
892
` length` bits.
893
893
894
894
When ` length` is not provided or ` null ` the maximum number of bits for a given
@@ -930,12 +930,12 @@ changes:
930
930
<!--lint enable maximum-line-length remark-lint-->
931
931
932
932
Using the method and parameters specified in ` algorithm` , and the keying
933
- material provided by ` baseKey` , ` subtle . deriveKey () ` attempts to generate
933
+ material provided by ` baseKey` , this method attempts to generate
934
934
a new {CryptoKey} based on the method and parameters in ` derivedKeyAlgorithm` .
935
935
936
- Calling ` subtle . deriveKey () ` is equivalent to calling ` subtle .deriveBits ()` to
936
+ Calling this method is equivalent to calling [ ` subtle .deriveBits ()` ][] to
937
937
generate raw keying material, then passing the result into the
938
- ` subtle .importKey ()` method using the ` deriveKeyAlgorithm` , ` extractable` , and
938
+ [ ` subtle .importKey ()` ][] method using the ` deriveKeyAlgorithm` , ` extractable` , and
939
939
` keyUsages` parameters as input.
940
940
941
941
The algorithms currently supported include:
@@ -963,7 +963,7 @@ changes:
963
963
* ` data` {ArrayBuffer|TypedArray|DataView|Buffer}
964
964
* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
965
965
966
- Using the method identified by ` algorithm` , ` subtle . digest () ` attempts to
966
+ Using the method identified by ` algorithm` , this method attempts to
967
967
generate a digest of ` data` . If successful, the returned promise is resolved
968
968
with an {ArrayBuffer} containing the computed digest.
969
969
@@ -1040,7 +1040,7 @@ changes:
1040
1040
* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
1041
1041
1042
1042
Using the method and parameters specified by ` algorithm` and the keying
1043
- material provided by ` key` , ` subtle . encrypt () ` attempts to encipher ` data` .
1043
+ material provided by ` key` , this method attempts to encipher ` data` .
1044
1044
If successful, the returned promise is resolved with an {ArrayBuffer}
1045
1045
containing the encrypted result.
1046
1046
@@ -1230,7 +1230,7 @@ changes:
1230
1230
* ` keyUsages` {string\[ ]} See [Key usages][].
1231
1231
* Returns: {Promise} Fulfills with a {CryptoKey} upon success.
1232
1232
1233
- The ` subtle .importKey ()` method attempts to interpret the provided ` keyData`
1233
+ The [ ` subtle .importKey ()` ][] method attempts to interpret the provided ` keyData`
1234
1234
as the given ` format` to create a {CryptoKey} instance using the provided
1235
1235
` algorithm` , ` extractable` , and ` keyUsages` arguments. If the import is
1236
1236
successful, the returned promise will be resolved with the created {CryptoKey}.
@@ -1291,7 +1291,7 @@ changes:
1291
1291
<!--lint enable maximum-line-length remark-lint-->
1292
1292
1293
1293
Using the method and parameters given by ` algorithm` and the keying material
1294
- provided by ` key` , ` subtle . sign () ` attempts to generate a cryptographic
1294
+ provided by ` key` , this method attempts to generate a cryptographic
1295
1295
signature of ` data` . If successful, the returned promise is resolved with
1296
1296
an {ArrayBuffer} containing the generated signature.
1297
1297
@@ -1337,11 +1337,11 @@ changes:
1337
1337
* Returns: {Promise} Fulfills with a {CryptoKey} upon success.
1338
1338
1339
1339
In cryptography, "wrapping a key" refers to exporting and then encrypting the
1340
- keying material. The ` subtle . unwrapKey () ` method attempts to decrypt a wrapped
1340
+ keying material. This method attempts to decrypt a wrapped
1341
1341
key and create a {CryptoKey} instance. It is equivalent to calling
1342
- ` subtle .decrypt ()` first on the encrypted key data (using the ` wrappedKey` ,
1342
+ [ ` subtle .decrypt ()` ][] first on the encrypted key data (using the ` wrappedKey` ,
1343
1343
` unwrapAlgo` , and ` unwrappingKey` arguments as input) then passing the results
1344
- in to the ` subtle .importKey ()` method using the ` unwrappedKeyAlgo` ,
1344
+ to the [ ` subtle .importKey ()` ][] method using the ` unwrappedKeyAlgo` ,
1345
1345
` extractable` , and ` keyUsages` arguments as inputs. If successful, the returned
1346
1346
promise is resolved with a {CryptoKey} object.
1347
1347
@@ -1406,7 +1406,7 @@ changes:
1406
1406
<!--lint enable maximum-line-length remark-lint-->
1407
1407
1408
1408
Using the method and parameters given in ` algorithm` and the keying material
1409
- provided by ` key` , ` subtle . verify () ` attempts to verify that ` signature` is
1409
+ provided by ` key` , this method attempts to verify that ` signature` is
1410
1410
a valid cryptographic signature of ` data` . The returned promise is resolved
1411
1411
with either ` true ` or ` false ` .
1412
1412
@@ -1447,12 +1447,12 @@ changes:
1447
1447
<!--lint enable maximum-line-length remark-lint-->
1448
1448
1449
1449
In cryptography, "wrapping a key" refers to exporting and then encrypting the
1450
- keying material. The ` subtle . wrapKey () ` method exports the keying material into
1450
+ keying material. This method exports the keying material into
1451
1451
the format identified by ` format` , then encrypts it using the method and
1452
1452
parameters specified by ` wrapAlgo` and the keying material provided by
1453
- ` wrappingKey` . It is the equivalent to calling ` subtle .exportKey ()` using
1453
+ ` wrappingKey` . It is the equivalent to calling [ ` subtle .exportKey ()` ][] using
1454
1454
` format` and ` key` as the arguments, then passing the result to the
1455
- ` subtle .encrypt ()` method using ` wrappingKey` and ` wrapAlgo` as inputs. If
1455
+ [ ` subtle .encrypt ()` ][] method using ` wrappingKey` and ` wrapAlgo` as inputs. If
1456
1456
successful, the returned promise will be resolved with an {ArrayBuffer}
1457
1457
containing the encrypted key data.
1458
1458
0 commit comments