pub struct Ed25519<'k> { /* private fields */ }
This is supported on crate features dnssec and ring only.
Expand description

Ed25519 Public key

Implementations

 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

Returns the public bytes of the public key, in DNS format

Verifies the hash matches the signature with the current key. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more