Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace keychain

Index

Variables

Const CBC

CBC: Encryption<{}, GenParams> = ...

AES-CBC encryption algorithm.

Initialization Vectors must be 16 octets. During encryption, if IV is unspecified, it is randomly generated. During decryption, quality of IV is not checked.

Const CTR

AES-CTR encryption algorithm.

Initialization Vectors must be 16 octets. During encryption, if IV is unspecified, it is constructed with two parts:

li

a 64-bit random number, generated each time a private key instance is constructed;

li

a 64-bit counter starting from zero.

During decryption, quality of IV is not automatically checked. Since the security of AES-CTR depends on having unique IVs, the application is recommended to check IVs using CounterIvChecker type.

Const GCM

GCM: Encryption<{}, GenParams> = ...

AES-GCM encryption algorithm.

Initialization Vectors must be 12 octets. During encryption, if IV is unspecified, it is constructed with two parts:

li

a 64-bit random number, generated each time a private key instance is constructed;

li

a 32-bit counter starting from zero.

During decryption, quality of IV is not automatically checked. Since the security of AES-CTR depends on having unique IVs, the application is recommended to check IVs using CounterIvChecker type.

Const ISSUER_DEFAULT

ISSUER_DEFAULT: Component = ...

Default issuerId.

Const ISSUER_SELF

ISSUER_SELF: Component = ...

Self-signed issuerId.

Const KEY

KEY: Component = ...

'KEY' component.

Const blockSize

blockSize: 16 = 16

AES block size in octets.

Functions

isCertName

  • isCertName(name: Name): boolean

isKeyName

  • isKeyName(name: Name): boolean

makeCertName

makeKeyName

parseCertName

parseKeyName

toKeyName

toSubjectName

Generated using TypeDoc