# Functions
NewDataEditListHeaderPacket method constructs DataEditListHeaderPacket from io.Reader.
NewDataEncryptionParametersHeaderPacket method constructs DataEncryptionParametersHeaderPacket from io.Reader.
NewEncryptedHeaderPacket method constructs EncryptedHeaderPacket from io.Reader and supplied private key.
NewHeader method constructs Header from io.Reader and supplied private key.
NewHeaderPacket method constructs HeaderPacket from io.Reader and supplied private key.
ReadHeader method strips off the header from the io.Reader and returns it as a byte array.
# Constants
ChaCha20IETFPoly1305 is header encryption method for ChaCha20-IETF-Poly1305.
DataEditList is a packet type for data edit list header packet.
DataEncryptionParameters is a packet type for data encryption parameters header packet.
MagicNumber is standard beginning of Crypt4GH header.
UnencryptedDataSegmentSize is the size of chunk of raw data.
Version stands for current supported version.
X25519ChaCha20IETFPoly1305 is header encryption method for X25519-ChaCha20-IETF-Poly1305.
# Structs
DataEditListHeaderPacket structure represents Crypt4GH data edit list header packet.
DataEncryptionParametersHeaderPacket structure represents Crypt4GH data encryption parameters header packet.
Header structure represents Crypt4GH header.
HeaderPacket structure represents Crypt4GH header packet.
PacketType structure is a wrapper for HeaderPacketType.
# Interfaces
EncryptedHeaderPacket interface describes possible header packets: DataEncryptionParametersHeaderPacket and DataEditListHeaderPacket.
# Type aliases
DataEncryptionMethod is the enum listing supported methods of encryption for data segments.
HeaderEncryptionMethod is the enum listing supported methods of encryption for header packets.
HeaderPacketType is the enum listing possible header packet types.