Options
All
  • Public
  • Public/Protected
  • All
Menu

Module security/browser

Index

Functions

  • digestSha256(payload: string): Promise<Uint8Array>
  • generatePKCEChallenge(entropy?: number): Promise<PkcePair>
  • importJWK(jwk: JWK): Promise<CryptoKey>
  • randomBytes(count: number): Uint8Array
  • signCompactJws(alg: "ES384" | "RS384", privateKey: CryptoKey, header: any, payload: any): Promise<string>
  • Parameters

    • alg: "ES384" | "RS384"
    • privateKey: CryptoKey
    • header: any
    • payload: any

    Returns Promise<string>

Generated using TypeDoc