Skip to main content
method SubtleCrypto.generateKey
SubtleCrypto.generateKey(
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKeyPair>
Deprecated

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type

Promise<CryptoKeyPair>
SubtleCrypto.generateKey(
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKey>
Deprecated

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type

Promise<CryptoKey>
SubtleCrypto.generateKey(
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKeyPair | CryptoKey>
Deprecated

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type

Back to top