| 206 | } |
| 207 | |
| 208 | bool CCryptoKeyStore::Lock() |
| 209 | { |
| 210 | if (!SetCrypted()) |
| 211 | return false; |
| 212 | |
| 213 | { |
| 214 | LOCK(cs_KeyStore); |
| 215 | vMasterKey.clear(); |
| 216 | } |
| 217 | |
| 218 | NotifyStatusChanged(this); |
| 219 | return true; |
| 220 | } |
| 221 | |
| 222 | bool CCryptoKeyStore::Unlock(const CKeyingMaterial& vMasterKeyIn) |
| 223 | { |
no test coverage detected