/// Creates a key pair for encrypting threshold key shares in transmission
/// from dealers to receivers.
Creates a key pair for encrypting threshold key shares in transmission
from dealers to receivers.
Creates a key pair for encrypting threshold key shares in transmission from dealers to receivers .
fn create_forward_secure_key_pair(
        &mut self,
        algorithm_id: AlgorithmId,
        node_id: NodeId,
    ) -> Result<(CspFsEncryptionPublicKey, CspFsEncryptionPop), ni_dkg_errors::CspDkgCreateFsKeyError>
    {
        debug!(self.logger; crypto.method_name => "create_forward_secure_key_pair");
        self.csp_vault
            .gen_forward_secure_key_pair(node_id, algorithm_id)
    }
fn create_forward_secure_key_pair ( & mut self , algorithm_id : AlgorithmId , node_id : NodeId , ) -> Result < ( CspFsEncryptionPublicKey , CspFsEncryptionPop ) , ni_dkg_errors :: CspDkgCreateFsKeyError > { debug ! ( self logger crypto method_name " " ) ; self . csp_vault . gen_forward_secure_key_pair ( node_id , algorithm_id ) }
Creates a key pair for encrypting threshold key shares in transmission
from dealers to receivers.
Creates a key pair for encrypting threshold key shares in transmission from dealers to receivers .
&mut self
algorithm_id
AlgorithmId
node_id
NodeId