Module edcert::certificate [] [src]

This module contains the most important struct of this crate: The Certificate It holds a public key, meta data and a signature. It can also optionally hold a private key and sign data.

Structs

Certificate

A certificate holds a public key, meta data and a signature.

Constants

CERTIFICATE_BYTE_LEN

This is the length of a safehash of a certificate.

PRIVATE_KEY_LEN

This is the length of a ed25519 private key.

PUBLIC_KEY_LEN

This is the length of a ed25519 public key.

SIGNATURE_LEN

This is the length of a ed25519 signature.