pub struct RootCa {
pub subject_dn: Vec<u8, 256>,
pub spki: Vec<u8, 512>,
pub spki_alg_oid: Vec<u8, 16>,
pub not_before: u64,
pub not_after: u64,
}Expand description
A trusted root certificate authority with pre-parsed fields.
All fields use fixed-capacity [heapless::Vec] for zero-allocation
storage. Use RootCa::from_der to parse a DER-encoded certificate.
Fields§
§subject_dn: Vec<u8, 256>§spki: Vec<u8, 512>§spki_alg_oid: Vec<u8, 16>§not_before: u64§not_after: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootCa
impl RefUnwindSafe for RootCa
impl Send for RootCa
impl Sync for RootCa
impl Unpin for RootCa
impl UnsafeUnpin for RootCa
impl UnwindSafe for RootCa
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