Module primitiveset

Module primitiveset 

Source
Expand description

Provides a container for a set of cryptographic primitives.

It provides also additional properties for the primitives it holds. In particular, one of the primitives in the set can be distinguished as “the primary” one.

Structs§

Entry
Entry represents a single entry in the keyset. In addition to the actual primitive, it holds the identifier and status of the primitive.
PrimitiveSet
PrimitiveSet is used for supporting key rotation: primitives in a set correspond to keys in a keyset.
TypedEntry
TypedEntry represents a single entry in a keyset for primitives of a known type. In addition to the actual primitive, it holds the identifier and status of the primitive.
TypedPrimitiveSet
TypedPrimitiveSet is equivalent to PrimitiveSet but holds primitives of a specific known type P.