Click or drag to resize

SignedCmsBuilderAddTimestamp Method

Attaches a timestamp to signed CMS object.

Namespace:  SysadminsLV.PKI.Cryptography.Pkcs
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public void AddTimestamp(
	TspResponse timestamp,
	int signerInfoIndex
)

Parameters

timestamp
Type: SysadminsLV.PKI.CryptographyTspResponse
TSP response returned from Time-Stamping Authority.
signerInfoIndex
Type: SystemInt32
Signature index to attach the timestamp.
Exceptions
ExceptionCondition
NotSupportedException Time-Stamp Response contains invalid content type.
ArgumentException Data returned from Time-Stamping Authority does not contain valid response.
ArgumentNullExceptionresponse parameter is null.
IndexOutOfRangeExceptionsignerInfoIndex value exceeds the number of attached signatures.
Remarks
See Also