Interface kdf/shared. Pbkdf2ProxiedKeyMaterial
source · [−]Properties
sourceself
self
sourceself: Pbkdf2KeyMaterial
self: Pbkdf2KeyMaterial
Methods
deriveBits
deriveBits
source(algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">, length: number): Promise<ArrayBuffer>
(algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">, length: number): Promise<ArrayBuffer>
Parameters
algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">
length: number
Returns Promise<ArrayBuffer>
deriveKey
deriveKey
source(algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">, derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<HmacCryptoKey | AesCryptoKeys>
(algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">, derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<HmacCryptoKey | AesCryptoKeys>
Parameters
algorithm: Omit<EnforcedPbkdf2Params, "iterations" | "name">
derivedKeyType: EnforcedHmacKeyGenParams | EnforcedAesKeyGenParams
Optional extractable: boolean
Optional keyUsages: KeyUsage[]