sp_auto_id::host_functions

Trait HostFunctions

source
pub trait HostFunctions: Send + Sync {
    // Required methods
    fn verify_signature(&self, req: SignatureVerificationRequest) -> Option<()>;
    fn decode_tbs_certificate(
        &self,
        certificate: DerVec,
    ) -> Option<TbsCertificate>;
}
Expand description

Host function trait for Certificate registration

Required Methods§

Implementors§