Trait x509_cert::certificate::Profile
source · 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§
sourcefn check_serial_number(serial: &SerialNumber<Self>) -> Result<()>
fn check_serial_number(serial: &SerialNumber<Self>) -> Result<()>
Checks to run when parsing serial numbers
Object Safety§
This trait is not object safe.