pub struct IPv6BindingProof {
pub ipv6_identity: IPv6NodeID,
pub binding_signature: Vec<u8>,
pub mutual_signature: Vec<u8>,
pub created_at: SystemTime,
}
Expand description
Proof that user identity is bound to IPv6 network identity
Fields§
§ipv6_identity: IPv6NodeID
IPv6 node identity
binding_signature: Vec<u8>
User private key signature of IPv6 public key
mutual_signature: Vec<u8>
IPv6 private key signature of user public key (mutual binding)
created_at: SystemTime
Proof creation timestamp
Implementations§
Trait Implementations§
Source§impl Clone for IPv6BindingProof
impl Clone for IPv6BindingProof
Source§fn clone(&self) -> IPv6BindingProof
fn clone(&self) -> IPv6BindingProof
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IPv6BindingProof
impl Debug for IPv6BindingProof
Source§impl<'de> Deserialize<'de> for IPv6BindingProof
impl<'de> Deserialize<'de> for IPv6BindingProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IPv6BindingProof
impl RefUnwindSafe for IPv6BindingProof
impl Send for IPv6BindingProof
impl Sync for IPv6BindingProof
impl Unpin for IPv6BindingProof
impl UnwindSafe for IPv6BindingProof
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