Interface ec/shared. EcdhProxiedPrivCryptoKey
source · [−]Properties
sourceself
self
sourceself: EcdhPrivCryptoKey
self: EcdhPrivCryptoKey
Methods
sourcederiveBits
deriveBits
source(algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">, length: number): Promise<ArrayBuffer>
(algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">, length: number): Promise<ArrayBuffer>
Parameters
algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">
length: number
Returns Promise<ArrayBuffer>
sourcederiveKey
deriveKey
source(algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">, derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<HmacCryptoKey | AesCryptoKeys>
(algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">, derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<HmacCryptoKey | AesCryptoKeys>
Parameters
algorithm: Omit<EnforcedEcdhKeyDeriveParams, "name">
derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams
Optional extractable: boolean
Optional keyUsages: KeyUsage[]