bkcrack: SigintHandler Class Reference

bkcrack 1.8.1 Crack legacy zip encryption with Biham and Kocher's known plaintext attack.

SigintHandler Class Reference

Utility class to set a progress state to Progress::State::Canceled when SIGINT arrives. More...

`#include <src/cli/SigintHandler.hpp>`

## Public Member Functions
| SigintHandler (std::atomic< Progress::State > &destination)
| Enable the signal handler.
| ~SigintHandler ()
| Disable the signal handler.
| SigintHandler (const SigintHandler &other)=delete
| Deleted copy constructor.
auto | operator= (const SigintHandler &other) -> SigintHandler &=delete
| Deleted assignment operator.

## Detailed Description

Utility class to set a progress state to Progress::State::Canceled when SIGINT arrives.

Note
  There should exist at most one instance of this class at any time.

The documentation for this class was generated from the following file:

- src/cli/SigintHandler.hpp