PFND3D11_1DDI_GETCERTIFICATESIZE callback function (d3d10umddi.h)

Queries the size in bytes of the certificate that the display miniport driver uses for either the cryptographic session certificate or authenticated channel.

Syntax

PFND3D11_1DDI_GETCERTIFICATESIZE Pfnd3d111DdiGetcertificatesize;

void Pfnd3d111DdiGetcertificatesize(
  D3D10DDI_HDEVICE hDevice,
  const D3D11_1DDI_CERTIFICATE_INFO *pCertificateInfo,
  UINT *pCertificateSize
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

pCertificateInfo

A pointer to a D3D11_1DDI_CERTIFICATE_INFO structure that specifies the cryptographic session certificate or authenticated channel to query.

pCertificateSize

The size, in bytes, of the specified certificate.

Return value

None

Remarks

Based on the data in the D3D11_1DDI_CERTIFICATE_INFO structure, the GetCertificateSize function returns the size in bytes of the certificate chain for either the cryptographic session or the authenticated channel. The driver uses this certificate to establish trust and perform key exchange for the session or channel.

Note  The driver's certificate can be queried by calling GetCertificate.
 

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDI_CERTIFICATE_INFO

GetCertificate