Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCertificate
Collapse the table of content
Expand the table of content

GetCertificate function

Returns a certificate that the display miniport driver uses for either the cryptographic session certificate or authenticated channel.

Syntax


VOID APIENTRY* GetCertificate(
  _In_        D3D10DDI_HDEVICE            hDevice,
  _In_  const D3D11_1DDI_CERTIFICATE_INFO *pCertificateInfo,
  _In_        UINT                        CertificateSize,
  _Out_       BYTE                        *pCertificate
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

pCertificateInfo [in]

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

CertificateSize [in]

The size, in bytes, of the buffer that is referenced by the pCertificate parameter.

pCertificate [out]

A pointer to a byte array that receives the driver's certificate chain.

Return value

This function does not return a value.

Remarks

Based on the data in the D3D11_1DDI_CERTIFICATE_INFO structure, GetCertificate returns the certificate 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 size, in bytes, of a driver's certificate chain can be queried by calling GetCertificateSize.
 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform

Desktop

Header

D3d10umddi.h (include D3d10umddi.h)

See also

GetCertificateSize
D3D11_1DDI_CERTIFICATE_INFO

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft