Skip to main content

KeySlotIds

Trait KeySlotIds 

Source
pub trait KeySlotIds {
    type Symmetric: KeySlotId<KeyValue = SymmetricCryptoKey>;
    type Private: KeySlotId<KeyValue = PrivateKey>;
    type Signing: KeySlotId<KeyValue = SigningKey>;
}
Expand description

Represents a set of all the key identifiers that need to be defined to use a key store.

Required Associated Types§

Source

type Symmetric: KeySlotId<KeyValue = SymmetricCryptoKey>

Source

type Private: KeySlotId<KeyValue = PrivateKey>

Source

type Signing: KeySlotId<KeyValue = SigningKey>

Signing keys are used to create detached signatures and to sign objects.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§