Method StampFirstSignerInfo
StampFirstSignerInfo(SignedCms, HashAlgorithmName, String)
Adds a trusted timestamp to the given SignedData structure through a TSA service.
Declaration
public static SignedCms StampFirstSignerInfo(SignedCms cmsSignedData, HashAlgorithmName digestAlgo, string TSA_address = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Security.Cryptography.Pkcs.SignedCms | cmsSignedData | The CMS-Signedata .  | 
    
| System.Security.Cryptography.HashAlgorithmName | digestAlgo | The digest algorithm.  | 
    
| System.String | TSA_address | The address of the TSA.  | 
    
Returns
| Type | Description | 
|---|---|
| System.Security.Cryptography.Pkcs.SignedCms | Null in case of error or the signed data having the trusted timestamp.  |