Trait KeyIds

Source
pub trait KeyIds {
    type Symmetric: KeyId<KeyValue = SymmetricCryptoKey>;
    type Asymmetric: KeyId<KeyValue = AsymmetricCryptoKey>;
    type Signing: KeyId<KeyValue = SigningKey>;
}
Expand description

Represents a set of all the key identifiers that need to be defined to use a key store. At the moment it’s just symmetric and asymmetric keys.

Required Associated Types§

Source

type Symmetric: KeyId<KeyValue = SymmetricCryptoKey>

Source

type Asymmetric: KeyId<KeyValue = AsymmetricCryptoKey>

Source

type Signing: KeyId<KeyValue = SigningKey>

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

Implementors§