pub trait AsExtension: AssociatedOid + Encode {
// Required method
fn critical(&self, subject: &Name, extensions: &[Extension]) -> bool;
// Provided method
fn to_extension(
&self,
subject: &Name,
extensions: &[Extension],
) -> Result<Extension, Error> { ... }
}
Expand description
Trait to be implemented by extensions to allow them to be formated as x509 v3 extensions by builder.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.