public CryptoData SignMessage(string message)
        {
            var result = new CryptoData();

            result.Certificate = GetCertificate();
            result.Hash        = HashData(message);
            result.Sign        = HashSigning();
            return(result);
        }
예제 #2
0
 public void Signing(CryptoData sign)
 {
     CertificateValue.Value = sign.Certificate;
     DigestValue.Value      = sign.Hash;
     SignedValue.Value      = sign.Sign;
 }