Skip to main content

SignMethodType

Trait SignMethodType 

Source
pub trait SignMethodType {
    const SIGNATURE_TYPE: u64;
}
Expand description

Associates a SignMethod implementation with its fixed signature type number, so it can be checked against a certificate’s declared type without needing an instance (see SignatureSha256WithRsaVerifier::from_data and similar).

Required Associated Constants§

Source

const SIGNATURE_TYPE: u64

This signing scheme’s signature type number (see signature_type).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§