import"WebKitSubtleCrypto.idl";
|
Promise< ArrayBuffer > | encrypt (AlgorithmIdentifier algorithm, Key key, sequence< CryptoOperationData > data) |
|
Promise< ArrayBuffer > | decrypt (AlgorithmIdentifier algorithm, Key key, sequence< CryptoOperationData > data) |
|
Promise< ArrayBuffer > | sign (AlgorithmIdentifier algorithm, Key key, sequence< CryptoOperationData > data) |
|
Promise< boolean > | verify (AlgorithmIdentifier algorithm, Key key, CryptoOperationData signature, sequence< CryptoOperationData > data) |
|
Promise< ArrayBuffer > | digest (AlgorithmIdentifier algorithm, sequence< CryptoOperationData > data) |
|
Promise<(CryptoKey or CryptoKeyPair)> | generateKey (AlgorithmIdentifier algorithm, optional boolean extractable, optional sequence< KeyUsage > keyUsages) |
|
Promise< CryptoKey > | importKey (KeyFormat format, CryptoOperationData keyData, AlgorithmIdentifier? algorithm, optional boolean extractable, optional sequence< KeyUsage > keyUsages) |
|
Promise< ArrayBuffer > | exportKey (KeyFormat format, Key key) |
|
Promise< ArrayBuffer > | wrapKey (KeyFormat format, Key key, Key wrappingKey, AlgorithmIdentifier wrapAlgorithm) |
|
Promise< CryptoKey > | unwrapKey (KeyFormat format, CryptoOperationData wrappedKey, Key unwrappingKey, AlgorithmIdentifier unwrapAlgorithm, AlgorithmIdentifier? unwrappedKeyAlgorithm, optional boolean extractable, optional sequence< KeyUsage > keyUsages) |
|
◆ decrypt()
Promise<ArrayBuffer> WebKitSubtleCrypto::decrypt |
( |
AlgorithmIdentifier |
algorithm, |
|
|
Key |
key, |
|
|
sequence< CryptoOperationData > |
data |
|
) |
| |
◆ digest()
Promise<ArrayBuffer> WebKitSubtleCrypto::digest |
( |
AlgorithmIdentifier |
algorithm, |
|
|
sequence< CryptoOperationData > |
data |
|
) |
| |
◆ encrypt()
Promise<ArrayBuffer> WebKitSubtleCrypto::encrypt |
( |
AlgorithmIdentifier |
algorithm, |
|
|
Key |
key, |
|
|
sequence< CryptoOperationData > |
data |
|
) |
| |
◆ exportKey()
Promise<ArrayBuffer> WebKitSubtleCrypto::exportKey |
( |
KeyFormat |
format, |
|
|
Key |
key |
|
) |
| |
◆ generateKey()
◆ importKey()
◆ sign()
Promise<ArrayBuffer> WebKitSubtleCrypto::sign |
( |
AlgorithmIdentifier |
algorithm, |
|
|
Key |
key, |
|
|
sequence< CryptoOperationData > |
data |
|
) |
| |
◆ unwrapKey()
◆ verify()
Promise<boolean> WebKitSubtleCrypto::verify |
( |
AlgorithmIdentifier |
algorithm, |
|
|
Key |
key, |
|
|
CryptoOperationData |
signature, |
|
|
sequence< CryptoOperationData > |
data |
|
) |
| |
◆ wrapKey()
Promise<ArrayBuffer> WebKitSubtleCrypto::wrapKey |
( |
KeyFormat |
format, |
|
|
Key |
key, |
|
|
Key |
wrappingKey, |
|
|
AlgorithmIdentifier |
wrapAlgorithm |
|
) |
| |
The documentation for this interface was generated from the following file: