CryptoKey

interface

interface CryptoKey

The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.

variable

var CryptoKey: { … }

The constructor object for CryptoKey.

CryptoKey instances cannot be created directly; they are produced by SubtleCrypto methods such as generateKey, importKey, and deriveKey, so calling the constructor throws.

Constructors

constructor

new CryptoKey(): never

Properties

algorithm

readonly algorithm: KeyAlgorithm

extractable

readonly extractable: boolean

type

readonly type: KeyType

usages

readonly usages: KeyUsage[]

prototype

readonly prototype: CryptoKey