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; 8],
pub transport_key: TransportKey,
pub initiator_x25519_pub: [u8; 32],
}Expand description
Result of a successfully completed pairing exchange (initiator side).
Fields§
The 32-byte X25519 shared secret (zeroized on drop).
peer_signing_pubkey: Vec<u8>The peer’s Ed25519 signing public key.
peer_did: StringThe peer’s DID string.
response: PairingResponseThe pairing response for downstream processing.
sas: [u8; 8]The 8-byte SAS for human verification.
transport_key: TransportKeySingle-use transport encryption key.
initiator_x25519_pub: [u8; 32]The initiator’s X25519 ephemeral public key.
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