| dwParamType value |
Meaning |
pvData type required |
| DGS_VERSION |
The IETF specification version used to encode time stamp token. |
The current release return 0. Upon ratification, the server
will be upgraded to version 1. |
| DGS_POLICY |
Object identifier for TSA policy under which the time stamp was issued. |
As of the time of writing, DigiStamp servers
repond with policy 1.3.6.1.4.1.8291.1.1 This
policy stipulates that the private key is
not accessible to any party, the key is stored
in NIST certified hardware (at minimum level
3), the time stamps are created inside this
tamper detecting hardware and there is no
log of created time stamps (you must store
the resulting time stamp). |
| DGS_HASH_ALGORITHM |
Retrieves the hash algorithm associated with the HASH that has been
time-stamped |
In this release this will always be the object identifier for SHA-1 |
| DGS_HASH_ALGORITHM_PARAM |
Retrieve the parameters used by the hash algorithm |
|
| DGS_HASH_DATA |
Retrieves the hash value stored in the message when it was created. |
A BYTE buffer to receive the hash value. |
| DGS_SERIAL_NUMBER |
A unique serial number is part of each time stamp. |
A BYTE buffer to receive the DER encoded value of the serial number. See function DgsDecInt to decode. |
| DGS_GENERALIZED_TIME |
String representation of the GMT time of the time stamp creation.
In the form YYMMDDHHMMSSZ |
|
| DGS_ACCURACY_SECONDS |
The potential time deviation from official time source. |
seconds |
| DGS_ACCURACY_MILLIS |
The potential time deviation from official time source in addition to the seconds. |
milli seconds. Can be null. |
| DGS_ACCURACY_MICROS |
The potential time deviation from official time source in addition to the seconds and milli seconds. |
micro seconds. Can be null. |
| DGS_ORDERING |
Indicates if the order of multiple time stamps can be determined the the time value in GENERALIZE_TIME |
Set to false in this release. The SERIAL_NUMBER does provide ordering of time stamps. |
| DGS_NONCE |
A random integer value supplied by the client to be incorporated
into the time stamp. This current version of the C toolkit only supports up to 4 bytes (the Java version support full 20 byte nonce.) |
A BYTE buffer to receive the DER encoded value of the nonce. See function DgsDecInt to decode. |
| DGS_TSA |
Additional information, can provide means to contact TSA. |
Always returns NULL in this release |
| DGS_EXTENSIONS |
Additional information, can be used for future extensions to protocol. |
Always returns NULL in this release |