CreaSign

TimeStamp.CreateTimeStampFromData Method 

Creates a new timestamp of the specified data.

[Visual Basic]
Public Function CreateTimeStampFromData( _
   ByVal Data As Data, _
   ByVal TimeStampProvider As String, _
   ByVal ClientCertname As String, _
   ByVal NewServerURL As String _
) As XmlVerifyResult

Parameters

Data
The data that should be timestamped.
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 XmlVerifyResult object representing the verification result of the timestamp.

Remarks

The timestamp is created by calculating hash over the specified data.

The following TimeStampProviders are supported:

TimeStampProviderDescription
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_TESTThe 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_TESTThe 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 that can be used for testing purposes. It does not require the access to an external timestamping authority - the timestamp is created on a local computer. Use the certName parameter to specify the certificate which is used to create the timestamp.

This method can not be called from an untrusted code.

Requirements

Requires CreaSign Pro (not supported by CreaSign Lite).

See Also

TimeStamp Class | CreaSign Namespace | CreateSignatureTimeStamp | CreateTimeStampFromDigest


Send comments on this topic.

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