Skip to main content

RegistrationGenesisSigner

Trait RegistrationGenesisSigner 

Source
pub trait RegistrationGenesisSigner: Send + Sync {
    // Required method
    fn sign_genesis(
        &self,
        caller: &str,
        operator_manual: bool,
        unsigned: &UnsignedGenesisDidOp,
    ) -> Result<DidOpSignature>;
}
Expand description

Select and use the hybrid genesis signer for one authenticated request.

Implementations may map self-service callers to user-held key material and operator-manual callers to the deployment-authority workflow. The client cannot select this path in its JSON body.

Required Methods§

Source

fn sign_genesis( &self, caller: &str, operator_manual: bool, unsigned: &UnsignedGenesisDidOp, ) -> Result<DidOpSignature>

Implementors§