This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). Available only in secure contexts.

Hierarchy

  • SubtleCrypto

Methods

  • Parameters

    Returns Promise<JsonWebKey>

  • Parameters

    • format: "raw" | "pkcs8" | "spki"
    • key: CryptoKey

    Returns Promise<ArrayBuffer>

Generated using TypeDoc