Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

  • CryptoFactory

Index

Properties

asymmetricDecrypt

asymmetricDecrypt: (buffer: Buffer, privateKey: string) => Buffer

Type declaration

    • (buffer: Buffer, privateKey: string): Buffer
    • Parameters

      • buffer: Buffer
      • privateKey: string

      Returns Buffer

asymmetricEncrypt

asymmetricEncrypt: (buffer: Buffer, publicKey: string) => Buffer

Type declaration

    • (buffer: Buffer, publicKey: string): Buffer
    • Parameters

      • buffer: Buffer
      • publicKey: string

      Returns Buffer

asymmetricEncryptionAlgorithm

asymmetricEncryptionAlgorithm: string

asymmetricSign

asymmetricSign: (buffer: Buffer, publicKey: string) => Buffer

Type declaration

    • (buffer: Buffer, publicKey: string): Buffer
    • Parameters

      • buffer: Buffer
      • publicKey: string

      Returns Buffer

asymmetricSignatureAlgorithm

asymmetricSignatureAlgorithm: string

asymmetricVerify

asymmetricVerify: (buffer: Buffer, signature: Buffer, certificate: Buffer) => boolean

Type declaration

    • (buffer: Buffer, signature: Buffer, certificate: Buffer): boolean
    • Parameters

      • buffer: Buffer
      • signature: Buffer
      • certificate: Buffer

      Returns boolean

asymmetricVerifyChunk

asymmetricVerifyChunk: (self: CryptoFactory, chunk: Buffer, certificate: Buffer) => boolean

Type declaration

    • (self: CryptoFactory, chunk: Buffer, certificate: Buffer): boolean
    • Parameters

      Returns boolean

blockPaddingSize

blockPaddingSize: number

derivedEncryptionKeyLength

derivedEncryptionKeyLength: number

derivedSignatureKeyLength

derivedSignatureKeyLength: number

encryptingBlockSize

encryptingBlockSize: number

maximumAsymmetricKeyLength

maximumAsymmetricKeyLength: number

minimumAsymmetricKeyLength

minimumAsymmetricKeyLength: number

securityPolicy

securityPolicy: SecurityPolicy

sha1or256

sha1or256: "SHA1" | "SHA256"

signatureLength

signatureLength: number

symmetricEncryptionAlgorithm

symmetricEncryptionAlgorithm: string

symmetricKeyLength

symmetricKeyLength: number

Generated using TypeDoc