deny_keyedhash

Function deny_keyedhash 

Source
pub fn deny_keyedhash(algorithm: &Alg) -> Result<(), CommandError>
Expand description

Returns an error if the provided algorithm is KeyedHash.

ยงErrors

Returns CommandError::UnsupportedKeyAlgorithm if the algorithm is keyedhash.