- getSharedKey(
privateKey: CryptoKey,
publicKey: CryptoKey,
opts?: Partial<
{
alg: "AES-CTR"
| "AES-CBC"
| "AES-GCM";
iv: ArrayBuffer;
length: SymmKeyLength;
},
>,
): Promise<SymmKey> Parameters
- privateKey: CryptoKey
- publicKey: CryptoKey
Optional
opts: Partial<
{
alg: "AES-CTR"
| "AES-CBC"
| "AES-GCM";
iv: ArrayBuffer;
length: SymmKeyLength;
},
>
Returns Promise<SymmKey>