impl_certificate_secp256r1

Macro impl_certificate_secp256r1 

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

Generates a Secp256r1 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_secp256r1!(VoteSubject<'a, D>);