public bool CheckFingerprintStore() { if (_FPStore == null) { throw new NullReferenceException("No FingerprintStore to work with"); } using (var sha1 = new SHA1CryptoServiceProvider()) { byte[] fingerprint = _Certificate.GetCertHash(); return(_FPStore.ContainsFingerprint(fingerprint)); } }