Documentation ¶
Overview ¶
Package body contains structure and related methods for representing Crypt4GH data segments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Segment ¶
type Segment struct { DataEncryptionParametersHeaderPackets []headers.DataEncryptionParametersHeaderPacket Nonce *[chacha20poly1305.NonceSize]byte UnencryptedData []byte }
Segment structure represents Crypt4GH data segment.
func (*Segment) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler.MarshalBinary() method.
func (*Segment) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryMarshaler.UnmarshalBinary() method.
Click to show internal directories.
Click to hide internal directories.