Method SignMessageDigestWithTimeStamp
SignMessageDigestWithTimeStamp(X509Certificate2, HashAlgorithmName, Byte[])
Signs the given message digest.
Declaration
[Obsolete("Might be removed in a later version")]
public static SignedCms SignMessageDigestWithTimeStamp(X509Certificate2 signerCert, HashAlgorithmName hashAlgorithmName, byte[] messageDigest)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | signerCert | Certificate with private key. |
System.Security.Cryptography.HashAlgorithmName | hashAlgorithmName | Algorithm name. |
System.Byte[] | messageDigest | The message digest. |
Returns
Type | Description |
---|---|
System.Security.Cryptography.Pkcs.SignedCms |