pub trait Profile: PartialEq + Debug + Eq + Clone {
    // Provided method
    fn check_serial_number(serial: &SerialNumber<Self>) -> Result<()> { ... }
}
Expand description

Profile allows the consumer of this crate to customize the behavior when parsing certificates. By default, parsing will be made in a rfc5280-compliant manner.

Provided Methods§

source

fn check_serial_number(serial: &SerialNumber<Self>) -> Result<()>

Checks to run when parsing serial numbers

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Profile for Raw

Available on crate feature hazmat only.
source§

impl Profile for Rfc5280