Module iop_keyvault::multicipher
source · [−]Expand description
A type-erased version of AsymmetricCrypto
and KeyDerivationCrypto
. Serialized versions
of crypto concepts, like KeyId
, PublicKey
, PrivateKey
, Signature
,
ExtendedPrivateKey
and ExtendedPublicKey
can be all deserialized into
their MultiCipher
versions.
This allows multiple cryptographic algorithms to co-exist in a software, which is needed
during migration of a single software to a new cryptography, or which is the status quo in
larger software ecosystems.
MultiCipher
can be thought of a variant of multiple incompatible cipher suits, which are
strongly typed, but are chosen at run-time.
Structs
See the module-level description.
Enums
A suite type that is used to keep the type-safety of the erased types in multicipher
Multicipher PrivateKey
Multicipher PublicKey
Multicipher Signature