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§
type Symmetric: KeyId<KeyValue = SymmetricCryptoKey>
type Asymmetric: KeyId<KeyValue = AsymmetricCryptoKey>
Sourcetype Signing: KeyId<KeyValue = SigningKey>
type Signing: KeyId<KeyValue = SigningKey>
Signing keys are used to create detached signatures and to sign objects.