Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

CRYPT_TIMESTAMP_REQUEST structure

The CRYPT_TIMESTAMP_REQUEST structure defines a time stamp request structure that corresponds to the Abstract Syntax Notation One (ASN.1) definition of a TimeStampReq type. The CRYPT_TIMESTAMP_REQUEST structure is used internally.

Syntax


typedef struct _CRYPT_TIMESTAMP_REQUEST {
  DWORD                      dwVersion;
  CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
  CRYPT_DER_BLOB             HashedMessage;
  LPSTR                      pszTSAPolicyId;
  CRYPT_INTEGER_BLOB         Nonce;
  BOOL                       fCertReq;
  DWORD                      cExtension;
  PCERT_EXTENSION            rgExtension;
} CRYPT_TIMESTAMP_REQUEST, *PCRYPT_TIMESTAMP_REQUEST;

Members

dwVersion

A DWORD value that specifies the version of the time stamp request.

This member can be one of the following values.

ValueMeaning
TIMESTAMP_VERSION
1

A version 1 time stamp request.

 

HashAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER structure that contains information about the algorithm used to calculate the hash.

HashedMessage

A CRYPT_DER_BLOB structure that specifies the hash values to be time stamped.

pszTSAPolicyId

Optional. A pointer to a null-terminated string that specifies the Time Stamping Authority (TSA) policy under which the time stamp token should be provided.

Nonce

Optional. A CRYPT_INTEGER_BLOB structure that contains the nonce value used by the client to verify the timeliness of the response when no local clock is available.

fCertReq

A Boolean value that indicates whether the TSA must include the certificates used to sign the time stamp token in the response.

cExtension

The number of elements in the array pointed to by the rgExtension member.

rgExtension

A pointer to an array of CERT_EXTENSION structures that contain extension information that is passed in the request.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft