Methods
decrypt
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15590
Parameters
Returns PromiseLike < ArrayBuffer >
deriveBits
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15591
Parameters
Returns PromiseLike < ArrayBuffer >
deriveKey
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15592
Parameters
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
digest
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15593
Parameters
Returns PromiseLike < ArrayBuffer >
encrypt
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15594
Parameters
Returns PromiseLike < ArrayBuffer >
exportKey
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15595
Parameters
Returns PromiseLike < JsonWebKey >
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15596
Parameters
format: "raw" | "pkcs8" | "spki"
Returns PromiseLike < ArrayBuffer >
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15597
Parameters
Returns PromiseLike < JsonWebKey | ArrayBuffer >
generateKey
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15598
Parameters
algorithm: string
extractable: boolean
keyUsages: string []
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15599
Parameters
extractable: boolean
keyUsages: string []
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15600
Parameters
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
importKey
importKey( format: "jwk" , keyData: JsonWebKey , algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: string [] ) : PromiseLike < CryptoKey >
importKey( format: "raw" | "pkcs8" | "spki" , keyData: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer , algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: string [] ) : PromiseLike < CryptoKey >
importKey( format: string , keyData: JsonWebKey | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer , algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: string [] ) : PromiseLike < CryptoKey >
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15601
Parameters
format: "jwk"
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15602
Parameters
format: "raw" | "pkcs8" | "spki"
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15603
Parameters
format: string
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
sign
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15604
Parameters
Returns PromiseLike < ArrayBuffer >
unwrapKey
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15605
Parameters
format: string
unwrapAlgorithm: string | Algorithm
unwrappedKeyAlgorithm: string | Algorithm
extractable: boolean
keyUsages: string []
Returns PromiseLike < CryptoKey >
verify
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15606
Parameters
Returns PromiseLike < boolean >
wrapKey
Defined in opt/hostedtoolcache/node/12.18.1/x64/lib/node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:15607
Parameters
format: string
wrapAlgorithm: string | Algorithm
Returns PromiseLike < ArrayBuffer >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).