[−][src]Module crypt4gh::header
Generate and parse a Crypt4GH header.
Structs
DecryptedHeaderPackets | Contains the parsed data of the packets |
HeaderInfo | Contains the basic information of the header. |
Functions
deconstruct_header_body | Gets data packets and edit list packets from the encrypted packets. |
deconstruct_header_info | Deserializes the data info from the header bytes. |
encrypt | Computes the encrypted part, using all keys |
make_packet_data_edit_list | Constructs an edit list packet |
make_packet_data_enc | Constructs an encrypted data packet |
rearrange | Gets the packages to rearrange. |
reencrypt | Reencrypts the header. |
serialize | Serializes the header. |