CRYPT_TIME_STAMP_REQUEST_INFO structure (wincrypt.h)
The CRYPT_TIME_STAMP_REQUEST_INFO structure is used for time stamping. To add an authenticated attribute when signing an executable file to verify the date and time of the signature, a signed time stamp is requested from a time stamp server. The CRYPT_TIME_STAMP_REQUEST_INFO structure is used to get a time stamp. It contains the signature bits of the material being time stamped in the Content field.
Syntax
typedef struct _CRYPT_TIME_STAMP_REQUEST_INFO {
LPSTR pszTimeStampAlgorithm;
LPSTR pszContentType;
CRYPT_OBJID_BLOB Content;
DWORD cAttribute;
PCRYPT_ATTRIBUTE rgAttribute;
} CRYPT_TIME_STAMP_REQUEST_INFO, *PCRYPT_TIME_STAMP_REQUEST_INFO;
Members
pszTimeStampAlgorithm
The object identifier (OID) that specifies the desired format of the time stamp, usually UTC.
pszContentType
The OID of the Content Type of the content, usually DATA.
Content
A CRYPT_OBJID_BLOB structure that contains the encoded signature bits of the material being time stamped.
cAttribute
The number of elements in the rgAttribute array.
rgAttribute
Array of pointers to CRYPT_ATTRIBUTE structures, each holding an encoded attribute.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |