zeed
    Preparing search index...

    Function importKeyXAES

    • Import a key suitable for XAES-256-GCM. The actual key must be an AES-CBC CryptoKey with 256-bit length.

      This function is not necessary, as you can use crypto.subtle.importKey with AES-CBC directly.

      Parameters

      • format: "jwk" | "raw" | "pkcs8" | "spki"
      • keyData: BufferSource | JsonWebKey
      • Optionalextractable: boolean

      Returns Promise<CryptoKey>