Struct hickory_proto::rr::dnssec::public_key::Ed25519
source · pub struct Ed25519<'k> { /* private fields */ }
Available on crate features
dnssec
and ring
only.Expand description
Ed25519 Public key
Implementations§
source§impl<'k> Ed25519<'k>
impl<'k> Ed25519<'k>
sourcepub fn from_public_bytes(public_key: &'k [u8]) -> ProtoResult<Self>
pub fn from_public_bytes(public_key: &'k [u8]) -> ProtoResult<Self>
Internet-Draft EdDSA for DNSSEC December 2016
An Ed25519 public key consists of a 32-octet value, which is encoded
into the Public Key field of a DNSKEY resource record as a simple bit
string. The generation of a public key is defined in Section 5.1.5
in [RFC 8032]. Breaking tradition, the keys are encoded in little-
endian byte order.
Trait Implementations§
Auto Trait Implementations§
impl<'k> Freeze for Ed25519<'k>
impl<'k> RefUnwindSafe for Ed25519<'k>
impl<'k> Send for Ed25519<'k>
impl<'k> Sync for Ed25519<'k>
impl<'k> Unpin for Ed25519<'k>
impl<'k> UnwindSafe for Ed25519<'k>
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