Struct zerotier_api::PublicKey
source · [−]Expand description
Concatenation of X25519 public key (first 32 bytes) and Ed25519 public key (last 32 bytes).
Fields
ed: PublicKeyEd25519 public key (last 32 bytes)
dh: PublicKeyX25519 public key (first 32 bytes)
Trait Implementations
Derive public key from secret key.
Convert this public key into a byte array.
Construct a public key from a slice of bytes, fails if len(bytes) != 64.
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more