In file x509cert.cpp on both lines 1425 and 1435 the code doesn't compile since the constructor of an ed25519::Verifier object cannot implicitly convert an X509PublicKey key.
The verifiers for existing encryption algorithms (e.g. ECDSA<ECP, SHA512>, RSASS<PSS, SHA256>, etc.) all provide a constructor (inherited from PK_FinalTemplate), accepting a const CryptoMaterial& key (which is a base class of type X509PublicKey).
In file x509cert.cpp on both lines 1425 and 1435 the code doesn't compile since the constructor of an ed25519::Verifier object cannot implicitly convert an X509PublicKey key.
The verifiers for existing encryption algorithms (e.g. ECDSA<ECP, SHA512>, RSASS<PSS, SHA256>, etc.) all provide a constructor (inherited from PK_FinalTemplate), accepting a const CryptoMaterial& key (which is a base class of type X509PublicKey).