Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for crypto functions used by library

Hierarchy

  • ICrypto

Implemented by

Index

Methods

base64Decode

  • base64Decode(input: string): string

base64Encode

  • base64Encode(input: string): string

clearKeystore

  • clearKeystore(): Promise<boolean>

createNewGuid

  • createNewGuid(): string

generatePkceCodes

getPublicKeyThumbprint

hashString

  • hashString(plainText: string): Promise<string>

removeTokenBindingKey

  • removeTokenBindingKey(kid: string): Promise<boolean>

signJwt

  • signJwt(payload: SignedHttpRequest, kid: string, correlationId?: string): Promise<string>
  • Returns a signed proof-of-possession token with a given acces token that contains a cnf claim with the required kid.

    Parameters

    Returns Promise<string>

Generated using TypeDoc