pub struct ClientPairFinalize {
pub long_term_psk: Option<String>,
pub wrapped_psk: Option<String>,
}Expand description
client/pair-finalize: the long-term PSK this pairing establishes.
Exactly one of the two fields is present: long_term_psk in the Pairing PSK flow, where the
key travels inside the authenticated channel, and wrapped_psk in the code flows, where it is
sealed under the CPace output. Both fields are key material, so Debug redacts them.
Fields§
§long_term_psk: Option<String>32-byte long-term PSK as 43 base64url characters without padding.
wrapped_psk: Option<String>48-byte sealed long-term PSK as 64 base64url characters without padding.
Trait Implementations§
Source§impl Clone for ClientPairFinalize
impl Clone for ClientPairFinalize
Source§impl Debug for ClientPairFinalize
impl Debug for ClientPairFinalize
Source§fn fmt(&self, formatter: &mut Formatter<'_>) -> Result
fn fmt(&self, formatter: &mut Formatter<'_>) -> Result
Formats the message with both key fields redacted.
long_term_psk and wrapped_psk are key material: the first is the new long-term PSK
itself and the second seals it. A Debug log of a decoded message, including one reached
through Incoming, therefore prints <redacted> and never the value.