WSD_SECURITY_CERT_VALIDATION_V1 structure

Represents the criteria for matching client certificates against those of an HTTPS server.

Note  

Do not implement this structure directly; implementing WSD_SECURITY_CERT_VALIDATION instead ensures that the proper structure version is used, based on the Windows platform the application code is compiled on.

 

Syntax

typedef struct _WSD_SECURITY_CERT_VALIDATION_V1 {
  struct  WSD_SECURITY_CERT_VALIDATION;
  LPCWSTR pszCNGHashAlgId;
  BYTE    *pbCertHash;
  DWORD   dwCertHashSize;
} WSD_SECURITY_CERT_VALIDATION_V1, *PWSD_SECURITY_CERT_VALIDATION_V1;

Members

Remarks

If the application is built using the Windows 8 SDK, targeted for Windows 8, WSD_SECURITY_CERT_VALIDATION resolves as WSD_SECURITY_CERT_VALIDATION_V1. The application can then only run on Windows 8 machines.

However, if the application is built using Windows 8 SDK, but targeted for Windows 7, WSD_SECURITY_CERT_VALIDATION will resolve to the old structure. While it's a given that the application will be supported for Windows 7, Windows 8 will also support the application as wsdapi.dll on Windows 8 will handle both the old and the newer versions of this structure. For example, an application developed with the Windows 7 SDK will run fine on Windows 8 machines.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Wsdbase.h (include Windows.h)

See also

WSD_SECURITY_CERT_VALIDATION

WSDCreateDeviceHost2

WSDCreateDeviceProxy2