method SubtleCrypto.generateKey
Jump to headingSubtleCrypto.generateKey(): Promise<CryptoKeyPair>
Parameters Jump to heading
Jump to headingalgorithm: RsaHashedKeyGenParams | EcKeyGenParams
Jump to headingextractable: boolean
Jump to headingkeyUsages: KeyUsage[]
Return Type Jump to heading
Promise<CryptoKeyPair>
Jump to headingSubtleCrypto.generateKey(): Promise<CryptoKey>
Parameters Jump to heading
Jump to headingalgorithm: AesKeyGenParams | HmacKeyGenParams
Jump to headingextractable: boolean
Jump to headingkeyUsages: KeyUsage[]
Return Type Jump to heading
Promise<CryptoKey>
Jump to headingSubtleCrypto.generateKey(): Promise<CryptoKeyPair | CryptoKey>
Parameters Jump to heading
Jump to headingalgorithm: AlgorithmIdentifier
Jump to headingextractable: boolean
Jump to headingkeyUsages: KeyUsage[]
Return Type Jump to heading
Promise<CryptoKeyPair | CryptoKey>