/// Erases forward secure secret keys before a given epoch
Erases forward secure secret keys before a given epoch
Erases forward secure secret keys before a given epoch
fn update_forward_secure_epoch(
        &self,
        algorithm_id: AlgorithmId,
        epoch: Epoch,
    ) -> Result<(), ni_dkg_errors::CspDkgUpdateFsEpochError> {
        debug!(self.logger; crypto.method_name => "update_forward_secure_epoch", crypto.dkg_epoch => epoch.get());
        let key_id = self.dkg_dealing_encryption_key_id();
        self.csp_vault
            .update_forward_secure_epoch(algorithm_id, key_id, epoch)
    }
fn update_forward_secure_epoch ( & self , algorithm_id : AlgorithmId , epoch : Epoch , ) -> Result < ( ) , ni_dkg_errors :: CspDkgUpdateFsEpochError > { debug ! ( self logger crypto method_name " " crypto dkg_epoch epoch get ( ) ) ; let key_id = self . dkg_dealing_encryption_key_id ( ) ; self . csp_vault . update_forward_secure_epoch ( algorithm_id , key_id , epoch ) }
Erases forward secure secret keys before a given epoch
Erases forward secure secret keys before a given epoch
&self
algorithm_id
AlgorithmId
epoch
Epoch