pub struct VerifiedRequest { /* private fields */ }Expand description
A certificate-signing request whose proof of possession has been verified.
This type cannot be constructed except by
verify_certificate_request, and its fields are private. Holding one is
therefore itself the evidence that the request’s self-signature verified
strictly under the key it carries — there is no path that produces a
VerifiedRequest for a key the requester did not demonstrably control.
Implementations§
Source§impl VerifiedRequest
impl VerifiedRequest
Sourcepub fn subject_public_key(&self) -> &[u8; 32]
pub fn subject_public_key(&self) -> &[u8; 32]
The 32-byte Ed25519 public key the requester proved possession of.
Sourcepub fn common_name(&self) -> &str
pub fn common_name(&self) -> &str
The single common name the request asked to be certified under.
Trait Implementations§
Source§impl Clone for VerifiedRequest
impl Clone for VerifiedRequest
Source§impl Debug for VerifiedRequest
impl Debug for VerifiedRequest
impl Eq for VerifiedRequest
Source§impl PartialEq for VerifiedRequest
impl PartialEq for VerifiedRequest
impl StructuralPartialEq for VerifiedRequest
Auto Trait Implementations§
impl Freeze for VerifiedRequest
impl RefUnwindSafe for VerifiedRequest
impl Send for VerifiedRequest
impl Sync for VerifiedRequest
impl Unpin for VerifiedRequest
impl UnsafeUnpin for VerifiedRequest
impl UnwindSafe for VerifiedRequest
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