Struct gnunet_sys::EphemeralKeyMessage [−][src]
Message transmitted with the signed ephemeral key of a peer. The session key is then derived from the two ephemeral keys (ECDHE).
Fields
header: GNUNET_MessageHeader
Message type is #GNUNET_MESSAGE_TYPE_CORE_EPHEMERAL_KEY.
sender_status: i32
Status of the sender (should be in enum PeerStateMachine
), nbo.
signature: GNUNET_CRYPTO_EddsaSignature
An ECC signature of the @e origin_identity asserting the validity of the given ephemeral key.
purpose: GNUNET_CRYPTO_EccSignaturePurpose
Information about what is being signed.
creation_time: GNUNET_TIME_AbsoluteNBO
At what time was this key created (beginning of validity).
expiration_time: GNUNET_TIME_AbsoluteNBO
When does the given ephemeral key expire (end of validity).
ephemeral_key: GNUNET_CRYPTO_EcdhePublicKey
Ephemeral public ECC key.
origin_identity: GNUNET_PeerIdentity
Public key of the signing peer (persistent version, not the ephemeral public key).
Trait Implementations
impl Clone for EphemeralKeyMessage
[src]
fn clone(&self) -> EphemeralKeyMessage
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EphemeralKeyMessage
[src]
impl Debug for EphemeralKeyMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for EphemeralKeyMessage
impl Send for EphemeralKeyMessage
impl Sync for EphemeralKeyMessage
impl Unpin for EphemeralKeyMessage
impl UnwindSafe for EphemeralKeyMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,