public CryptoData SignMessage(string message) { var result = new CryptoData(); result.Certificate = GetCertificate(); result.Hash = HashData(message); result.Sign = HashSigning(); return(result); }
public void Signing(CryptoData sign) { CertificateValue.Value = sign.Certificate; DigestValue.Value = sign.Hash; SignedValue.Value = sign.Sign; }