CreaSign

XmlSignature.CreateSignatureTimeStamp Method 

Creates a timestamp of the current signature.

[Visual Basic]
Public Function CreateSignatureTimeStamp( _
   ByVal TimeStampProvider As String, _
   ByVal ClientCertname As String, _
   ByVal NewServerURL As String _
) As SignatureTimeStamp

Parameters

TimeStampProvider
The string identifying the timestamping authority. See the Remarks section for a list of supported values.
ClientCertname
The name of the digital certificate used when authenticating to the timestamp server. See also "Specifying the Signing Certificate".
NewServerURL
Optional. Overrides the default URL of the timestamp server.

Return Value

The SignatureTimeStamp object representing the timestamp.

Remarks

The timestamp is created by calculating hash over the <ds:SignatureValue> node as specified in the XADES standard. The <ds:SignatureValue> node must have a non-empty value of the Id attribute.

The following TimeStampProviders are supported:

TimeStampProvider Description
POSTARCA A timestamping authority managed by the Post Office of Slovenia. See http://postarca.posta.si. This service requires authentication with a client certificate. Use the certName parameter to specify the certificate.
POSTACA_TEST The test timestamping authority managed by the Post Office of Slovenia. This service requires authentication with a client certificate. Use the certName parameter to specify the certificate.
SIGEN The SI-TSA timestamping authority. See http://www.si-tsa.gov.si/eng/index.htm. This service requires authentication with a client certificate. Use the certName parameter to specify the certificate.
SIGEN_TEST The test version of the SI-TSA timestamping authority. This service requires authentication with a client certificate. Use the certName parameter to specify the certificate.
TIMESTAMP_TEST A built-in timestamping provider, which can be used for testing purposes. It does not require the access to an external timestamping authority - the timestamp is created on the local computer. Use the certName parameter to specify the certificate which is used to create the timestamp.
See also: "Add a Timestamp to a Signature".

Requirements

Requires CreaSign Pro (not supported by CreaSign Lite).

See Also

XmlSignature Class | CreaSign Namespace | CreateTimeStampFromData | CreateTimeStampFromDigest


Send comments on this topic.

(c) CREA 2002-2007 www.creasign.si