Functions
sourceexportKey
exportKey
source(format: KeyFormat, key: EcCryptoKeys): Promise<JsonWebKey | ArrayBuffer>
(format: KeyFormat, key: EcCryptoKeys): Promise<JsonWebKey | ArrayBuffer>
sourcegenerateKey
generateKey
source<T>(algorithm: EnforcedEcKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<T>
<T>(algorithm: EnforcedEcKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<T>
Type Parameters
T extends EcCryptoKeyPairs
Parameters
algorithm: EnforcedEcKeyGenParams
extractable: boolean = true
Optional keyUsages: KeyUsage[]
Returns Promise<T>
sourceimportKey
importKey
source<T>(format: KeyFormat, key: BufferSource | JsonWebKey, algorithm: EnforcedEcKeyImportParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<T>
<T>(format: KeyFormat, key: BufferSource | JsonWebKey, algorithm: EnforcedEcKeyImportParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<T>
Type Parameters
T extends EcCryptoKeys
Parameters
format: KeyFormat
key: BufferSource | JsonWebKey
algorithm: EnforcedEcKeyImportParams
extractable: boolean = true
Optional keyUsages: KeyUsage[]