pub trait TypeLevelAlgorithmType {
    // Required method
    fn algorithm_type() -> AlgorithmType;
}
Expand description

A trait used to make the implementation of SigningAlgorithm and VerifyingAlgorithm easier. RustCrypto crates tend to have algorithm types defined at the type level, so they cannot accept a self argument.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TypeLevelAlgorithmType for Sha256

source§

impl TypeLevelAlgorithmType for Sha384

source§

impl TypeLevelAlgorithmType for Sha512

Implementors§