Example #1
0
        public bool CanUnlockWith(Passphrase passphrase)
        {
            try
            {
                var privateData = PrivateKey.AccessData(passphrase);

                return(CryptoServices.IsKeyMatch(PublicKey.Data, privateData));
            }
            catch
            {
                return(false);
            }
        }