Struct ockam_key_exchange_core::CompletedKeyExchange [−][src]
pub struct CompletedKeyExchange { /* fields omitted */ }
The state of a completed key exchange.
Implementations
impl CompletedKeyExchange
[src]
impl CompletedKeyExchange
[src]pub fn encrypt_key(&self) -> &Secret
[src]
pub fn encrypt_key(&self) -> &Secret
[src]The derived encryption key.
pub fn decrypt_key(&self) -> &Secret
[src]
pub fn decrypt_key(&self) -> &Secret
[src]The derived decryption key.
pub fn local_static_secret(&self) -> &Secret
[src]
pub fn local_static_secret(&self) -> &Secret
[src]The long term static key.
pub fn remote_static_public_key(&self) -> &PublicKey
[src]
pub fn remote_static_public_key(&self) -> &PublicKey
[src]Remote peer well known public key.
Trait Implementations
impl Debug for CompletedKeyExchange
[src]
impl Debug for CompletedKeyExchange
[src]Auto Trait Implementations
impl RefUnwindSafe for CompletedKeyExchange
impl Send for CompletedKeyExchange
impl Sync for CompletedKeyExchange
impl Unpin for CompletedKeyExchange
impl UnwindSafe for CompletedKeyExchange
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,