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

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