Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RsaCryptographyProvider

Package version

An RSA cryptography provider supporting RSA algorithms. The browser replacement of the RsaCryptographyProvider. Since we do not support local cryptography in the browser this replacement always returns false for supportsAlgorithm and supportsOperation so that these methods should never be called.

Hierarchy

  • RsaCryptographyProvider

Implements

  • CryptographyProvider
  • CryptographyProvider

Index

Constructors

constructor

Methods

decrypt

encrypt

isSupported

  • isSupported(algorithm: string, operation: CryptographyProviderOperation): boolean

sign

signData

  • signData(_algorithm: SignatureAlgorithm, _data: Uint8Array, _options?: SignOptions): Promise<SignResult>

unwrapKey

verify

  • verify(_algorithm: SignatureAlgorithm, _digest: Uint8Array, _signature: Uint8Array, _options?: VerifyOptions): Promise<VerifyResult>

verifyData

  • verifyData(algorithm: SignatureAlgorithm, data: Uint8Array, signature: Uint8Array, _options?: VerifyOptions): Promise<VerifyResult>

wrapKey

Generated using TypeDoc