generate_ed25519_cert_for_tls

Function generate_ed25519_cert_for_tls 

Source
pub(crate) fn generate_ed25519_cert_for_tls(
    ed25519_signing_key: &SigningKey,
    subject_name: &str,
    selected_protocol_version: Option<ProtocolVersion>,
) -> Result<Vec<CertificateDer<'static>>, CryptoError>
Expand description

Generate a deterministic TLS certificate using Ed25519

This creates a proper Ed25519 certificate where the Ed25519 public key is stored directly in the SubjectPublicKeyInfo field.