Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packer ¶
type Packer struct {
// contains filtered or unexported fields
}
Packer represents an Anoncrypt Pack/Unpacker that outputs/reads legacy Aries envelopes.
func New ¶
New will create a Packer that encrypts messages using the legacy Aries format. Note: legacy Packer does not support XChacha20Poly1035 (XC20P), only Chacha20Poly1035 (C20P).
func (*Packer) EncodingType ¶
EncodingType returns the type of the encoding, as in the `Typ` field of the envelope header.
Click to show internal directories.
Click to hide internal directories.