pub(crate) fn nethsm_signature_type(
key_type: KeyType,
) -> Result<SignatureType, Error>Expand description
Returns a SignatureType for a [KeyType].
Reflects the specific capabilities of a NetHSM backend and only returns a SignatureType for
a supported key_type.
ยงErrors
Returns an error if the key type is unsupported (e.g. [KeyType::Generic],
[KeyType::BrainpoolP256], [KeyType::BrainpoolP384], [KeyType::BrainpoolP512],
[KeyType::EcP256K1]).