Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const encryptionAlgo

encryptionAlgo: "RSA-OAEP" = "RSA-OAEP"

Const encryptionHashAlgo

encryptionHashAlgo: "SHA-256" = "SHA-256"

Const encryptionKeySize

encryptionKeySize: 2048 = 2048

Const publicExponent

publicExponent: Uint8Array = new Uint8Array([0x01, 0x00, 0x01])

Const signingAlgo

signingAlgo: "RSA-PSS" = "RSA-PSS"

Const signingHashAlgo

signingHashAlgo: "SHA-256" = "SHA-256"

Const signingKeySize

signingKeySize: 2048 = 2048

Const signingSaltLength

signingSaltLength: 128 = 128

Object literals

Const defaultAsymmetricEncryptionParam

defaultAsymmetricEncryptionParam: object

modulusLength

modulusLength: number = encryptionKeySize

Default key size to use. 2048 or 4096 for RSA.

name

name: string = encryptionAlgo

Default encryption Algorithm to use.

publicExponent

publicExponent: Uint8Array

Default public exponent. 0x010001 -> 65537

hash

hash: object

Default hash algorithm to use with encryption scheme. SHA-256, SHA-384 or SHA-512 for RSA-OAEP.

name

name: string = encryptionHashAlgo

Const defaultAsymmetricSigningParam

defaultAsymmetricSigningParam: object

modulusLength

modulusLength: number = signingKeySize

Default key size to use. 2048 or 4096 for RSA.

name

name: string = signingAlgo

Default encryption Algorithm to use.

publicExponent

publicExponent: Uint8Array

Default public exponent. 0x010001 -> 65537

hash

hash: object

Default hash algorithm to use with signature. SHA-256, SHA-384 or SHA-512 for RSA-PSS.

name

name: string = signingHashAlgo

Const defaultEncryptParams

defaultEncryptParams: object

name

name: string = encryptionAlgo

Const defaultImportEncryptionParam

defaultImportEncryptionParam: object

name

name: string = encryptionAlgo

hash

hash: object

Default hash algorithm to use with encryption scheme. SHA-256, SHA-384 or SHA-512 for RSA-OAEP.

name

name: string = encryptionHashAlgo

Const defaultImportSigningParam

defaultImportSigningParam: object

name

name: string = signingAlgo

hash

hash: object

Default hash algorithm to use with signature scheme. SHA-256, SHA-384 or SHA-512 for RSA-OAEP.

name

name: string = signingHashAlgo

Const defaultSigningParams

defaultSigningParams: object

name

name: string = signingAlgo

saltLength

saltLength: number = signingSaltLength

Default salt length. SHA-256, SHA-384 or SHA-512.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc