Options
All
  • Public
  • Public/Protected
  • All
Menu

ConcatKeyAgreement concatenates many key agreements into one. Each message is a concatenation of underlying key agreement messages, and shared key is a concatenation of all shared keys.

Hierarchy

  • ConcatKeyAgreement

Implements

Index

Constructors

constructor

Properties

acceptMessageLength

acceptMessageLength: 0 = 0

agreements

agreements: KeyAgreement[]

offerMessageLength

offerMessageLength: 0 = 0

savedStateLength

savedStateLength: 0 = 0

sharedKeyLength

sharedKeyLength: 0 = 0

Methods

accept

  • accept(offerMsg: Uint8Array): Uint8Array

clean

  • clean(): void

finish

  • finish(acceptMsg: Uint8Array): this

getSharedKey

  • getSharedKey(): Uint8Array

offer

  • offer(): Uint8Array

restoreState

  • restoreState(savedState: Uint8Array): this

saveState

  • saveState(): Uint8Array

Generated using TypeDoc