Struct mls_rs_crypto_openssl::x509::X509Validator
source · pub struct X509Validator { /* private fields */ }Implementations§
source§impl X509Validator
impl X509Validator
pub fn new(root_ca_list: Vec<DerCertificate>) -> Result<Self, X509Error>
pub fn with_system_ca(self) -> Self
pub fn validate_chain( &self, chain: &CertificateChain, timestamp: Option<MlsTime> ) -> Result<SignaturePublicKey, X509Error>
Trait Implementations§
source§impl Clone for X509Validator
impl Clone for X509Validator
source§fn clone(&self) -> X509Validator
fn clone(&self) -> X509Validator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for X509Validator
impl Debug for X509Validator
source§impl X509CredentialValidator for X509Validator
impl X509CredentialValidator for X509Validator
type Error = X509Error
source§fn validate_chain(
&self,
chain: &CertificateChain,
timestamp: Option<MlsTime>
) -> Result<SignaturePublicKey, Self::Error>
fn validate_chain( &self, chain: &CertificateChain, timestamp: Option<MlsTime> ) -> Result<SignaturePublicKey, Self::Error>
Validate a certificate chain. Read more
Auto Trait Implementations§
impl RefUnwindSafe for X509Validator
impl Send for X509Validator
impl Sync for X509Validator
impl Unpin for X509Validator
impl UnwindSafe for X509Validator
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