Interface aes/shared. AesCbcProxiedCryptoKey
source · [−]Properties
sourceself
self
sourceself: AesCbcCryptoKey
self: AesCbcCryptoKey
Methods
decrypt
decrypt
source(algorithm: Omit<EnforcedAesCbcParams, "name">, data: BufferSource): Promise<ArrayBuffer>
(algorithm: Omit<EnforcedAesCbcParams, "name">, data: BufferSource): Promise<ArrayBuffer>
Parameters
algorithm: Omit<EnforcedAesCbcParams, "name">
data: BufferSource
Returns Promise<ArrayBuffer>
encrypt
encrypt
source(algorithm: Omit<EnforcedAesCbcParams, "name">, data: BufferSource): Promise<ArrayBuffer>
(algorithm: Omit<EnforcedAesCbcParams, "name">, data: BufferSource): Promise<ArrayBuffer>
Parameters
algorithm: Omit<EnforcedAesCbcParams, "name">
data: BufferSource
Returns Promise<ArrayBuffer>
unwrapKey
unwrapKey
source(format: KeyFormat, wrappedKey: BufferSource, wrappedKeyAlgorithm: EnforcedImportParams, unwrappingKeyAlgorithm: Omit<EnforcedAesCbcParams, "name">, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<CryptoKey>
(format: KeyFormat, wrappedKey: BufferSource, wrappedKeyAlgorithm: EnforcedImportParams, unwrappingKeyAlgorithm: Omit<EnforcedAesCbcParams, "name">, extractable?: boolean, keyUsages?: KeyUsage[]): Promise<CryptoKey>
Parameters
format: KeyFormat
wrappedKey: BufferSource
wrappedKeyAlgorithm: EnforcedImportParams
unwrappingKeyAlgorithm: Omit<EnforcedAesCbcParams, "name">
Optional extractable: boolean
Optional keyUsages: KeyUsage[]
Returns Promise<CryptoKey>
wrapKey
wrapKey
source(format: KeyFormat, key: CryptoKey, wrapAlgorithm: Omit<EnforcedAesCbcParams, "name">): Promise<ArrayBuffer>
(format: KeyFormat, key: CryptoKey, wrapAlgorithm: Omit<EnforcedAesCbcParams, "name">): Promise<ArrayBuffer>
Parameters
format: KeyFormat
key: CryptoKey
wrapAlgorithm: Omit<EnforcedAesCbcParams, "name">