impl_certificate_ed25519

Macro impl_certificate_ed25519 

Source
macro_rules! impl_certificate_ed25519 {
    ($subject:ty) => { ... };
}
Expand description

Generates an Ed25519 signing scheme wrapper for a specific protocol.

This macro creates a complete wrapper struct with constructors, Scheme trait implementation, and a fixture function for testing. The only required parameter is the Subject type, which varies per protocol.

§Example

impl_certificate_ed25519!(VoteSubject<'a, D>);