The base64-encoded variant of a PkMessage.

This can be useful if the encrypted message should be put into JSON.

Constructors

Properties

Methods

Constructors

  • Creates a new base64-encoded encrypted message from its parts.

    Parameters

    • ciphertext: string
    • mac: string
    • ephemeral_key: string

    Returns Base64EncodedPkMessage

Properties

ciphertext: string

The base64-encoded ciphertext.

ephemeralKey: string

The base64-encoded ephemeral public key.

mac: string

The base64-encoded message authentication code (MAC).

Methods

  • Returns void