CRYPT_TIMESTAMP_CONTEXT structure (wincrypt.h)

The CRYPT_TIMESTAMP_CONTEXT structure contains both the encoded and decoded representations of a time stamp token.

Syntax

typedef struct _CRYPT_TIMESTAMP_CONTEXT {
  DWORD                 cbEncoded;
  BYTE                  *pbEncoded;
  PCRYPT_TIMESTAMP_INFO pTimeStamp;
} CRYPT_TIMESTAMP_CONTEXT, *PCRYPT_TIMESTAMP_CONTEXT;

Members

cbEncoded

The size, in bytes, of the buffer pointed to by the pbEncoded member.

pbEncoded

A pointer to a buffer that contains an Abstract Syntax Notation One (ASN.1) encoded content information sequence. This value should be stored for future time stamp validations on the signature. Applications can use the CertOpenStore function with the CERT_STORE_PROV_PKCS7 flag to find additional certificates or certificate revocation lists (CRLs) related to the TSA time stamp signature.

pTimeStamp

A pointer to a CRYPT_TIMESTAMP_INFO structure that contains a signed data content type in Cryptographic Message Syntax (CMS) format.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header wincrypt.h