Module document

Module document 

Source
Expand description

ASN.1 DER-encoded documents stored on the heap.

Structs§

Document
ASN.1 DER-encoded document.
SecretDocument
Secret Document type.

Functions§

decode_sequence 🔒
Attempt to decode a ASN.1 SEQUENCE from the given decoder, returning the entire sequence including the header.
write_secret_file 🔒
Write a file containing secret data to the filesystem, restricting the file permissions so it’s only readable by the owner