pub struct CompletedPairing {
pub shared_secret: Zeroizing<[u8; 32]>,
pub peer_signing_pubkey: Vec<u8>,
pub peer_did: String,
pub response: PairingResponse,
pub sas: [u8; 10],
pub transport_key: TransportKey,
pub initiator_ephemeral_pub: Vec<u8>,
}Expand description
Result of a successfully completed pairing exchange (initiator side).
Fields§
The 32-byte P-256 ECDH shared secret (zeroized on drop).
peer_signing_pubkey: Vec<u8>The peer’s signing public key (curve carried via response.curve).
peer_did: StringThe peer’s DID string.
response: PairingResponseThe pairing response for downstream processing.
sas: [u8; 10]The 8-byte SAS for human verification.
transport_key: TransportKeySingle-use transport encryption key.
initiator_ephemeral_pub: Vec<u8>The initiator’s P-256 ECDH ephemeral public key (SEC1 compressed, 33 bytes).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompletedPairing
impl RefUnwindSafe for CompletedPairing
impl Send for CompletedPairing
impl Sync for CompletedPairing
impl Unpin for CompletedPairing
impl UnsafeUnpin for CompletedPairing
impl UnwindSafe for CompletedPairing
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