Skip to main content

OcspTarget

Struct OcspTarget 

Source
pub struct OcspTarget<'view, 'certificate, 'document> { /* private fields */ }
Expand description

Actual target and issuing-key association. This does not bless the status, nonce, update window or configured responder policy. Delegation still needs original-root path constraints and any unresolved responder revocation.

Implementations§

Source§

impl<'view, 'certificate, 'document> OcspTarget<'view, 'certificate, 'document>

Source

pub fn bind_responder_path<'receipt, W: Work>( &'receipt self, path: &'receipt CheckedPath<'document>, utc: &LeapTable<'_>, execution: &W, ) -> Result<ResponderBinding<'receipt, 'view, 'certificate, 'document>, ResponderError>

Bind an actual delegated response to a full path under the target’s root. The shared RFC6960 §4.2.2.2 delegation check establishes the direct issuing-key relation and OCSP purpose; it does not resume the original root’s ancestor constraints. This separate binding requires those full path facts, the original signer/effective key and complete evaluation reading. It reuses the CRL association kernel without signature replay. https://www.rfc-editor.org/rfc/rfc6960#section-4.2.2.2

Source§

impl<'view, 'certificate, 'document> OcspTarget<'view, 'certificate, 'document>

Source

pub fn path(&self) -> &'view CheckedPath<'document>

Same actual common-validator path, without a substituted issuer key.

Source

pub fn member(&self) -> usize

Exact original target’s issuer-to-subject path ordinal.

Source

pub fn evidence( &self, ) -> &'view BoundEvidence<'certificate, 'document, 'certificate, 'document>

Same original target/request/status source and temporal facts.

Source

pub fn authority(&self) -> AuthoritySource

Original authorization branch. Configured trust remains explicit and does not fabricate an issuer-signature/delegation-key proof.

Auto Trait Implementations§

§

impl<'view, 'certificate, 'document> !RefUnwindSafe for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> !Send for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> !Sync for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> !UnwindSafe for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> Freeze for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> Unpin for OcspTarget<'view, 'certificate, 'document>

§

impl<'view, 'certificate, 'document> UnsafeUnpin for OcspTarget<'view, 'certificate, 'document>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.