pub struct AliceSignalProtocolParameters { /* private fields */ }
Implementations§
source§impl AliceSignalProtocolParameters
impl AliceSignalProtocolParameters
pub fn new( our_identity_key_pair: IdentityKeyPair, our_base_key_pair: KeyPair, their_identity_key: IdentityKey, their_signed_pre_key: PublicKey, their_ratchet_key: PublicKey, ) -> Self
pub fn set_their_one_time_pre_key(&mut self, ec_public: PublicKey)
pub fn with_their_one_time_pre_key(self, ec_public: PublicKey) -> Self
pub fn set_their_kyber_pre_key(&mut self, kyber_public: &PublicKey)
pub fn with_their_kyber_pre_key(self, kyber_public: &PublicKey) -> Self
pub fn our_identity_key_pair(&self) -> &IdentityKeyPair
pub fn our_base_key_pair(&self) -> &KeyPair
pub fn their_identity_key(&self) -> &IdentityKey
pub fn their_signed_pre_key(&self) -> &PublicKey
pub fn their_one_time_pre_key(&self) -> Option<&PublicKey>
pub fn their_kyber_pre_key(&self) -> Option<&PublicKey>
pub fn their_ratchet_key(&self) -> &PublicKey
Auto Trait Implementations§
impl Freeze for AliceSignalProtocolParameters
impl RefUnwindSafe for AliceSignalProtocolParameters
impl Send for AliceSignalProtocolParameters
impl Sync for AliceSignalProtocolParameters
impl Unpin for AliceSignalProtocolParameters
impl UnwindSafe for AliceSignalProtocolParameters
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> 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