pub enum Profile {
Root,
SubCA {
issuer: RdnSequence,
path_len_constraint: Option<u8>,
},
Leaf {
issuer: RdnSequence,
enable_key_agreement: bool,
enable_key_encipherment: bool,
},
}
Expand description
The type of certificate to build
Variants§
Root
Build a root CA certificate
SubCA
Build an intermediate sub CA certificate
Fields
§
issuer: RdnSequence
issuer Name, represents the name signing the certificate
Leaf
Build an end certificate
Trait Implementations§
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more