extract_ed25519_public_key_from_cert

Function extract_ed25519_public_key_from_cert 

Source
pub fn extract_ed25519_public_key_from_cert(
    cert_der: &CertificateDer<'_>,
) -> Result<VerifyingKey, CryptoError>
Expand description

Extract Ed25519 public key from a certificate This function extracts the Ed25519 public key directly from the certificate’s SubjectPublicKeyInfo field when the certificate uses the Ed25519 algorithm identifier.