Returns the raw ciphertext as a Uint8Array
.
Returns the ephemeral public key used during encryption.
Returns the raw message authentication code (MAC) as a Uint8Array
.
Converts the PkMessage
into a base64-encoded representation.
Static
fromConstructs a PkMessage
from a base64-encoded representation.
Static
fromConstructs a PkMessage
from its parts: ciphertext, MAC, and ephemeral
key.
A class representing an encrypted message using PkEncryption.