Struct osshkeys::keys::ed25519::Ed25519KeyPair [−][src]
pub struct Ed25519KeyPair { /* fields omitted */ }
Expand description
Represent the Ed25519 key pair
Implementations
Generate Ed25519 key pair
The bits parameter should be 256 bits or 0
to use default length (256 bits).
Clone the public parts to generate public key
Trait Implementations
Performs the conversion.
Verify the data with a detached signature, returning true if the signature is not malformed
Hash the blob of the public key to generate the fingerprint