pub struct AuthenticatedRequestProofInput<'a> {
pub service_domain: &'a str,
pub credential: &'a [u8],
pub issued_at: u64,
pub expires_at: u64,
pub capnp_schema_id: u64,
pub capnp_body: &'a [u8],
pub response_binding: Option<&'a ResponseBinding>,
pub federate_recipient_binding: Option<&'a FederateRecipientBinding>,
}Expand description
Exact request commitments for an authenticated proof CWT.
Fields§
§service_domain: &'a strCanonical addressed RPC service domain.
credential: &'a [u8]Exact credential bytes presented with the envelope; hashed as claim
-70001 without parsing, normalization, or substitution.
issued_at: u64Unix seconds used for CWT iat. W1 freshness is evaluated by the
verifier against its injected clock; the producer records this value
without consulting an ambient clock or imposing an exp/iat rule.
expires_at: u64Unix seconds used for CWT exp. W1 freshness is evaluated by the
verifier against its injected clock; the producer records this value
without consulting an ambient clock or imposing an issued-lifetime cap.
capnp_schema_id: u64Exact Cap’n Proto root schema ID for capnp_schema_id.
capnp_body: &'a [u8]Exact canonical Cap’n Proto request bytes for capnp_body_bytes.
response_binding: Option<&'a ResponseBinding>Commitment to response delivery, or None for cleartext unary.
federate_recipient_binding: Option<&'a FederateRecipientBinding>Optional recipient-pair commitment for deferred Federate requests. Generic request proofs omit this source-slice extension.
Auto Trait Implementations§
impl<'a> Freeze for AuthenticatedRequestProofInput<'a>
impl<'a> RefUnwindSafe for AuthenticatedRequestProofInput<'a>
impl<'a> Send for AuthenticatedRequestProofInput<'a>
impl<'a> Sync for AuthenticatedRequestProofInput<'a>
impl<'a> Unpin for AuthenticatedRequestProofInput<'a>
impl<'a> UnsafeUnpin for AuthenticatedRequestProofInput<'a>
impl<'a> UnwindSafe for AuthenticatedRequestProofInput<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more