SubtleCrypto
- interface SubtleCrypto
exported from
runtime.dMethods
-
async SubtleCrypto.decrypt(algorithm: AlgorithmIdentifier, key:
CryptoKey, data: BufferSource) Promise<ArrayBuffer>
-
async SubtleCrypto.deriveBits(algorithm: AlgorithmIdentifier, baseKey:
CryptoKey, length: number | null) Promise<ArrayBuffer>
-
async SubtleCrypto.deriveKey(algorithm: AlgorithmIdentifier, baseKey:
CryptoKey, derivedKeyType: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]) Promise<CryptoKey>
-
async SubtleCrypto.encrypt(algorithm: AlgorithmIdentifier, key:
CryptoKey, data: BufferSource) Promise<ArrayBuffer>
-
async SubtleCrypto.exportKey(format: “jwk”, key:
CryptoKey) Promise<JsonWebKey>
-
async SubtleCrypto.generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]) Promise<
CryptoKey|CryptoKeyPair>
-
async SubtleCrypto.importKey(format: KeyFormat, keyData:
JsonWebKey| BufferSource, algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]) Promise<CryptoKey>
-
async SubtleCrypto.sign(algorithm: AlgorithmIdentifier, key:
CryptoKey, data: BufferSource) Promise<ArrayBuffer>
- SubtleCrypto.supports(operation: string, algorithm: AlgorithmIdentifier, lengthOrHash: number | AlgorithmIdentifier | null) boolean
-
async SubtleCrypto.unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey:
CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]) Promise<CryptoKey>
-
async SubtleCrypto.decrypt(algorithm: AlgorithmIdentifier, key: