pub trait Allower:
Debug
+ Send
+ Sync {
// Required method
fn allowed(&self, key: &Ed25519PublicKey) -> bool;
}
Expand description
The Allower trait provides an interface for callers to inject decsions whether to allow a cert to be verified or not. This does not prform actual cert validation it only acts as a gatekeeper to decide if we should even try. For example, we may want to filter our actions to well known public keys.