CreaSign

TimeStamp.CreateTimeStampFromDigest Method 

Creates a new timestamp of the specified digest.

[Visual Basic]
Public Function CreateTimeStampFromDigest( _
   ByVal DigestMethod As String, _
   ByVal DigestValue As String, _
   ByVal TimeStampProvider As String, _
   ByVal ClientCertname As String, _
   ByVal NewServerURL As String _
) As XmlVerifyResult

Parameters

DigestMethod
The identifier of the digesting algorithm that was used to calculate the DigestValue.
DigestValue
The base64 encoded digest value.
TimeStampProvider
The string identifying 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 using the specified DigestValue and DigestMethod.

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_TESTTest timestamping authority managed by the Post Office of Slovenia. This service requires authentication with a client certificate. Use 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 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 | CreateTimeStampFromData


Send comments on this topic.

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