pub struct X509CertificationRequest<'a> {
pub certification_request_info: X509CertificationRequestInfo<'a>,
pub signature_algorithm: AlgorithmIdentifier<'a>,
pub signature_value: BitString<'a>,
}
Expand description
Certification Signing Request (CSR)
Fields§
§certification_request_info: X509CertificationRequestInfo<'a>
§signature_algorithm: AlgorithmIdentifier<'a>
§signature_value: BitString<'a>
Implementations§
source§impl<'a> X509CertificationRequest<'a>
impl<'a> X509CertificationRequest<'a>
pub fn requested_extensions( &self ) -> Option<impl Iterator<Item = &ParsedExtension<'_>>>
sourcepub fn verify_signature(&self) -> Result<(), X509Error>
pub fn verify_signature(&self) -> Result<(), X509Error>
Verify the cryptographic signature of this certification request
Uses the public key contained in the CSR, which must be the one of the entity requesting the certification for this verification to succeed.
Trait Implementations§
source§impl<'a> Debug for X509CertificationRequest<'a>
impl<'a> Debug for X509CertificationRequest<'a>
source§impl<'a> FromDer<'a, X509Error> for X509CertificationRequest<'a>
impl<'a> FromDer<'a, X509Error> for X509CertificationRequest<'a>
CertificationRequest ::= SEQUENCE { certificationRequestInfo CertificationRequestInfo, signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }}, signature BIT STRING }
source§fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
source§impl<'a> PartialEq for X509CertificationRequest<'a>
impl<'a> PartialEq for X509CertificationRequest<'a>
source§fn eq(&self, other: &X509CertificationRequest<'a>) -> bool
fn eq(&self, other: &X509CertificationRequest<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for X509CertificationRequest<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for X509CertificationRequest<'a>
impl<'a> Send for X509CertificationRequest<'a>
impl<'a> Sync for X509CertificationRequest<'a>
impl<'a> Unpin for X509CertificationRequest<'a>
impl<'a> UnwindSafe for X509CertificationRequest<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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