Expand description
Provide methods to generate, read, write or validate keysets.
Modules§
- insecure
insecure
- Module for test code methods to read or write cleartext keyset material.
Structs§
- Binary
Reader BinaryReader
deserializes a keyset from binary proto format.- Binary
Writer BinaryWriter
serializes a keyset into binary proto format.- Handle
Handle
provides access to aKeyset
protobuf, to limit the exposure of actual protocol buffers that hold sensitive key material.- Json
Reader json
JsonReader
deserializes a keyset from JSON format.- Json
Writer json
JsonWriter
serializes a keyset into JSON format.- Manager
- Manager manages a
Keyset
-proto, with convenience methods that rotate, disable, enable or destroy keys. Note: It is not thread-safe. - MemReader
Writer MemReaderWriter
implementskeyset::Reader
andkeyset.Writer
with in-memory storage.
Traits§
- Reader
Reader
knows how to read aKeyset
or anEncryptedKeyset
from some source.- Writer
Writer
knows how to write aKeyset
or anEncryptedKeyset
to some source.
Functions§
- validate
- Validate the given key set.
- validate_
key - Validate the given key.
- validate_
key_ version - Check whether the given version is valid. The version is valid only if it is the range [0..max_expected].