pub struct SignedRequest<'q, 'a, 'c, 'cert> { /* private fields */ }Expand description
Original key-bound signature and independently reported requester-name fact.
Implementations§
Source§impl<'q, 'a, 'c, 'cert> SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> SignedRequest<'q, 'a, 'c, 'cert>
Sourcepub fn request(self) -> &'q OcspRequest<'a>
pub fn request(self) -> &'q OcspRequest<'a>
The exact original request whose TBS was verified.
Sourcepub fn signer(self) -> &'c Certificate<'cert>
pub fn signer(self) -> &'c Certificate<'cert>
The actual certificate whose SPKI was bound before verification.
Sourcepub fn key(self) -> WorkingKey<'cert>
pub fn key(self) -> WorkingKey<'cert>
Same effective key passed to the selected verifier.
Sourcepub fn requestor(self) -> RequestorBinding
pub fn requestor(self) -> RequestorBinding
Separate declared-name binding, not certificate path/server permission.
Trait Implementations§
Source§impl<'q, 'a, 'c, 'cert> Clone for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Clone for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Copy for SignedRequest<'q, 'a, 'c, 'cert>
Auto Trait Implementations§
impl<'q, 'a, 'c, 'cert> !RefUnwindSafe for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !Send for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !Sync for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> !UnwindSafe for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Freeze for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> Unpin for SignedRequest<'q, 'a, 'c, 'cert>
impl<'q, 'a, 'c, 'cert> UnsafeUnpin for SignedRequest<'q, 'a, 'c, 'cert>
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