pub fn deny_keyedhash(algorithm: &Alg) -> Result<(), CommandError>
Returns an error if the provided algorithm is KeyedHash.
KeyedHash
Returns CommandError::UnsupportedKeyAlgorithm if the algorithm is keyedhash.
CommandError::UnsupportedKeyAlgorithm