Structs

A Diffie-Hellman public key, corresponding to an EphemeralSecret or StaticSecret key.

A Diffie-Hellman secret key that can be used to compute multiple SharedSecrets.

Enums

Functions

Generate a keypair, in DER format

Parse an OpenSSL Ed25519 or X25519 private key, either in PEM or DER format

Parse a DER ED25519 or X25519 private key, and return the corresponding x25519_dalek::StaticSecret

Parse an OpenSSL Ed25519 or X25519 public key, either in PEM or DER format

Parse a DER Ed25519 or X25519 public key, and return the corresponding x25519_dalek::PublicKey

Parse several contiguous OpenSSL Ed25519 org X25519 public keys in PEM format