Skip to content

Latest commit

 

History

History
135 lines (108 loc) · 4.88 KB

ns-wincrypt-cryptnet_url_cache_response_info.md

File metadata and controls

135 lines (108 loc) · 4.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wincrypt._CRYPTNET_URL_CACHE_RESPONSE_INFO
CRYPTNET_URL_CACHE_RESPONSE_INFO (wincrypt.h)
Contains response information used by the Cryptnet URL Cache (CUC) service to maintain a URL cache entry.
*PCRYPTNET_URL_CACHE_RESPONSE_INFO
CRYPTNET_URL_CACHE_RESPONSE_HTTP
CRYPTNET_URL_CACHE_RESPONSE_INFO
CRYPTNET_URL_CACHE_RESPONSE_INFO structure [Security]
CRYPTNET_URL_CACHE_RESPONSE_NONE
PCRYPTNET_URL_CACHE_RESPONSE_INFO
PCRYPTNET_URL_CACHE_RESPONSE_INFO structure pointer [Security]
security.cryptnet_url_cache_response_info
wincrypt/CRYPTNET_URL_CACHE_RESPONSE_INFO
wincrypt/PCRYPTNET_URL_CACHE_RESPONSE_INFO
security\cryptnet_url_cache_response_info.htm
security
26cd6065-8be9-4b3b-8207-5ad620e9b537
12/05/2018
*PCRYPTNET_URL_CACHE_RESPONSE_INFO, CRYPTNET_URL_CACHE_RESPONSE_HTTP, CRYPTNET_URL_CACHE_RESPONSE_INFO, CRYPTNET_URL_CACHE_RESPONSE_INFO structure [Security], CRYPTNET_URL_CACHE_RESPONSE_NONE, PCRYPTNET_URL_CACHE_RESPONSE_INFO, PCRYPTNET_URL_CACHE_RESPONSE_INFO structure pointer [Security], security.cryptnet_url_cache_response_info, wincrypt/CRYPTNET_URL_CACHE_RESPONSE_INFO, wincrypt/PCRYPTNET_URL_CACHE_RESPONSE_INFO
wincrypt.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
CRYPTNET_URL_CACHE_RESPONSE_INFO, *PCRYPTNET_URL_CACHE_RESPONSE_INFO
19H1
_CRYPTNET_URL_CACHE_RESPONSE_INFO
wincrypt/_CRYPTNET_URL_CACHE_RESPONSE_INFO
PCRYPTNET_URL_CACHE_RESPONSE_INFO
wincrypt/PCRYPTNET_URL_CACHE_RESPONSE_INFO
CRYPTNET_URL_CACHE_RESPONSE_INFO
wincrypt/CRYPTNET_URL_CACHE_RESPONSE_INFO
c++
APIRef
kbSyntax
HeaderDef
Wincrypt.h
CRYPTNET_URL_CACHE_RESPONSE_INFO

CRYPTNET_URL_CACHE_RESPONSE_INFO structure

-description

The CRYPTNET_URL_CACHE_RESPONSE_INFO structure contains response information used by the Cryptnet URL Cache (CUC) service to maintain a URL cache entry. This structure composes the pResponseInfo member of the CRYPT_RETRIEVE_AUX_INFO structure, which is passed to CryptRetrieveObjectByUrl as the pAuxInfo parameter.

-struct-fields

-field cbSize

The size, in bytes, of this structure.

-field wResponseType

A value that indicates whether the cache entry contains HTTP response information.

Value Meaning
CRYPTNET_URL_CACHE_RESPONSE_NONE
0
The cache entry contains no response information.
CRYPTNET_URL_CACHE_RESPONSE_HTTP
1
The cache entry contains response information derived from HTTP response headers.

-field wResponseFlags

A value that specifies a collection of flags that control server-based certificate validation response options.

-field LastModifiedTime

A FILETIME structure that specifies the Last-Modified entity-header field value of the cached HTTP response for the URL.

-field dwMaxAge

A value that specifies the number of seconds in the max-age directive of the Cache-Control header of the cached HTTP response for the URL.

-field pwszETag

A pointer to a string that contains the ETag response-header field value of the cached HTTP response for the URL.

-field dwProxyId

A value that contains the MD5 hash of the HTTP response header values Via, ETag, and Last-Modified, if they exist.

-remarks

If not specified in the HTTP response headers, the cache service sets the values of the LastModifiedTime, dwMaxAge, pwszETag, and dwProxyId members to zero.

The cache service only allows a strong ETag in the pwszETag member.

To determine whether a response is valid, the cache service performs a bitwise AND of the wResponseFlags member with the following constant defined in Wincrypt.h. If the result is TRUE, the response is valid.

Name Value
CRYPTNET_URL_CACHE_RESPONSE_VALIDATED 0x8000