pub struct Cnf {
pub jwk: Option<CnfJwk>,
pub jkt: Option<String>,
pub hs_signer_suite: Option<String>,
}Expand description
RFC 8705 / RFC 8747 Proof-of-Possession cnf claim.
Key-binding modes:
jwk: Full OKP JWK object — legacy single-Ed25519 binding (cnf.jwk).jkt: JWK Thumbprint (RFC 7638 SHA-256, base64url) — DPoP user tokens (cnf.jkt, per RFC 9449 § 6).hs_signer_suite: the generic v16 signer-suite content thumbprint (frozen WS-A credential-profile §1.1/§5) — base64url(SHA-256(det-CBOR[suite_id, [ordered raw component public keys]])). In the frozen generic v16 profile, this is the ONLY confirmation method for a hybrid (multi-key) primary signer group; it also covers a classical (single-key) group. A generic v16 dispatch credential MUST carry it. Computed viacrate::auth::signer_suite_thumbprint— the one shared helper mint (WS-B) and verify (WS-C) both use. Legacyjwk/jktare preserved ALONGSIDE it where those protocols still require them; addinghs_signer_suitenever overwrites them. The opt-in Federate subprofile instead has onecnf.jwkkey and a top-levelhs_signer_suite_v1digest.
All fields are optional so the struct serialises correctly for each mode.
Fields§
§jwk: Option<CnfJwk>§jkt: Option<String>§hs_signer_suite: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cnf
impl<'de> Deserialize<'de> for Cnf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Cnf
impl RefUnwindSafe for Cnf
impl Send for Cnf
impl Sync for Cnf
impl Unpin for Cnf
impl UnsafeUnpin for Cnf
impl UnwindSafe for Cnf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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>
Converts
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>
Converts
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more