|
|
@ -121,6 +121,9 @@ private:
|
|
|
|
// if fUseCrypto is false, vMasterKey must be empty
|
|
|
|
// if fUseCrypto is false, vMasterKey must be empty
|
|
|
|
bool fUseCrypto;
|
|
|
|
bool fUseCrypto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// keeps track of whether Unlock has run a thourough check before
|
|
|
|
|
|
|
|
bool fDecryptionThoroughlyChecked;
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
bool SetCrypted();
|
|
|
|
bool SetCrypted();
|
|
|
|
|
|
|
|
|
|
|
@ -130,7 +133,7 @@ protected:
|
|
|
|
bool Unlock(const CKeyingMaterial& vMasterKeyIn);
|
|
|
|
bool Unlock(const CKeyingMaterial& vMasterKeyIn);
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CCryptoKeyStore() : fUseCrypto(false)
|
|
|
|
CCryptoKeyStore() : fUseCrypto(false), fDecryptionThoroughlyChecked(false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|