CRYPTNET_URL_CACHE_FLUSH_INFO structure

The CRYPTNET_URL_CACHE_FLUSH_INFO structure contains expiry information used by the Cryptnet URL Cache (CUC) service to maintain a URL cache entry. This structure composes the pFlushInfo member of the CRYPT_RETRIEVE_AUX_INFO structure that is passed to the CryptRetrieveObjectByUrl method as the pAuxInfo parameter.

Syntax


typedef struct _CRYPTNET_URL_CACHE_FLUSH_INFO {
  DWORD    cbSize;
  DWORD    dwExemptSeconds;
  FILETIME ExpireTime;
} CRYPTNET_URL_CACHE_FLUSH_INFO, *PCRYPTNET_URL_CACHE_FLUSH_INFO;

Members

cbSize

The size, in bytes, of this structure.

dwExemptSeconds

A value that specifies how long to extend the ExpireTime member. If prefetch is enabled, the CUC service ignores this value.

The following values have special meaning.

ValueMeaning
CRYPTNET_URL_CACHE_DEFAULT_FLUSH
0

Use the default flush exempt seconds for a retrieved URL. The following REG_DWORD constants define the default value of dwExemptSeconds for a computer.

CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME L"CryptnetDefaultFlushExemptSeconds"
CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_DEFAULT (28 * 24 * 60 * 60)
CRYPTNET_URL_CACHE_DISABLE_FLUSH
0xFFFFFFFF

Disable cache flushing for a retrieved URL.

 

ExpireTime

A FILETIME structure that contains the time the object expires.

Remarks

The dwExemptSeconds member is added to the ExpireTime member to determine the flush time. If the pLastSyncTime member of the CRYPT_RETRIEVE_AUX_INFO structure is after the ExpireTime member, the pLastSyncTime member determines the flush time.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wincrypt.h

 

 

Show: