Module tink_core::keyset

source ·
Expand description

Provide methods to generate, read, write or validate keysets.

Modules

  • insecureinsecure
    Module for test code methods to read or write cleartext keyset material.

Structs

  • BinaryReader deserializes a keyset from binary proto format.
  • BinaryWriter serializes a keyset into binary proto format.
  • Handle provides access to a Keyset protobuf, to limit the exposure of actual protocol buffers that hold sensitive key material.
  • JsonReader deserializes a keyset from JSON format.
  • JsonWriter serializes a keyset into JSON format.
  • Manager manages a Keyset-proto, with convenience methods that rotate, disable, enable or destroy keys. Note: It is not thread-safe.
  • MemReaderWriter implements keyset::Reader and keyset.Writer with in-memory storage.

Traits

Functions