pub struct X509Store { /* private fields */ }Implementations§
Source§impl X509Store
impl X509Store
pub fn new(ca_roots: &[Certificate]) -> Self
pub fn leaf_basic_constraints_required(&mut self, enable: bool)
pub fn verify( &self, leaf: &Certificate, intermediates: &[Certificate], current_time: SystemTime, ) -> Result<&Certificate, X509VerificationError>
Auto Trait Implementations§
impl Freeze for X509Store
impl RefUnwindSafe for X509Store
impl Send for X509Store
impl Sync for X509Store
impl Unpin for X509Store
impl UnsafeUnpin for X509Store
impl UnwindSafe for X509Store
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