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

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type

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

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type

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

Parameters

extractable: boolean
keyUsages: KeyUsage[]

Return Type