CRYPT_TIME_STAMP_REQUEST_INFO

The CRYPT_TIME_STAMP_REQUEST_INFO structure is used for time stamping. When signing an executable, you may wish to add an authenticated attribute that can be used to verify when the executable was signed. To do this, a signed time stamp must be requested from a time stamp server. The structure used to get a time stamp is the CRYPT_TIME_STAMP_REQUEST_INFO. It contains the signature bits of the material being time stamped in the Content field.

typedef struct _CRYPT_TIME_STAMP_REQUEST_INFO {
    LPSTR                   pszTimeStampAlgorithm;   // pszObjId
    LPSTR                   pszContentType;          // pszObjId
    CRYPT_OBJID_BLOB        Content;
    DWORD                   cAttribute;
    PCRYPT_ATTRIBUTE        rgAttribute;
} CRYPT_TIME_STAMP_REQUEST_INFO, *PCRYPT_TIME_STAMP_REQUEST_INFO;
 

Members

pszTimeStampAlgorithm
This OID specifies the desired format of the time stamp data, usually UTC.
pszContentType
The Content Type OID for the content, usually DATA.
Content
An encoded blob containing the signature bits of the material being time stamped.
cAttribute
The number of elements in the array rgAttribute.
rgAttribute
An array of structures, each holding CRYPT_ATTRIBUTE information about the certificate (encoded form).

See Also

BLOB Structure, CRYPT_ATTRIBUTE