SignWithCertificate() public method

public SignWithCertificate ( string message, X509Certificate2 certificate ) : byte[]
message string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return byte[]
 /// <summary>
 /// 
 /// </summary>
 public byte[] Sign(string message)
 {
     CryptographyHelper helper = new CryptographyHelper();
     return helper.SignWithCertificate(message, this.Certificate);
 }
        /// <summary>
        ///
        /// </summary>
        public byte[] Sign(string message)
        {
            CryptographyHelper helper = new CryptographyHelper();

            return(helper.SignWithCertificate(message, this.Certificate));
        }
Esempio n. 3
0
        internal byte[] Sign(string message)
        {
            CryptographyHelper helper = new CryptographyHelper();

            return(helper.SignWithCertificate(message, Certificate));
        }