Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 3.35 KB

nf-d3d9-idirect3dauthenticatedchannel9-getcertificate.md

File metadata and controls

81 lines (62 loc) · 3.35 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
NF:d3d9.IDirect3DAuthenticatedChannel9.GetCertificate
IDirect3DAuthenticatedChannel9::GetCertificate (d3d9.h)
Gets the driver's certificate chain. (IDirect3DAuthenticatedChannel9.GetCertificate)
GetCertificate
GetCertificate method [Media Foundation]
GetCertificate method [Media Foundation]
IDirect3DAuthenticatedChannel9 interface
IDirect3DAuthenticatedChannel9 interface [Media Foundation]
GetCertificate method
IDirect3DAuthenticatedChannel9.GetCertificate
IDirect3DAuthenticatedChannel9::GetCertificate
d3d9/IDirect3DAuthenticatedChannel9::GetCertificate
mf.idirect3dauthenticatedchannel9_getcertificate
mf\idirect3dauthenticatedchannel9_getcertificate.htm
mf
0663d3a0-256b-4c96-aca7-06c4d1853554
12/05/2018
GetCertificate, GetCertificate method [Media Foundation], GetCertificate method [Media Foundation],IDirect3DAuthenticatedChannel9 interface, IDirect3DAuthenticatedChannel9 interface [Media Foundation],GetCertificate method, IDirect3DAuthenticatedChannel9.GetCertificate, IDirect3DAuthenticatedChannel9::GetCertificate, d3d9/IDirect3DAuthenticatedChannel9::GetCertificate, mf.idirect3dauthenticatedchannel9_getcertificate
d3d9.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IDirect3DAuthenticatedChannel9::GetCertificate
d3d9/IDirect3DAuthenticatedChannel9::GetCertificate
c++
APIRef
kbSyntax
COM
d3d9.h
IDirect3DAuthenticatedChannel9.GetCertificate

IDirect3DAuthenticatedChannel9::GetCertificate

-description

Gets the driver's certificate chain.

-parameters

-param CertifacteSize

The size of the ppCertificate array, in bytes. To get the size of the certificate chain, call IDirect3DAuthenticatedChannel9::GetCertificateSize.

-param ppCertificate

A pointer to a byte array that receives the driver's X.509 certificate chain. The caller must allocate the array.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

You can use the certificate chain to verify that the driver's certificate was signed by Microsoft and has not been revoked. The driver's certificate also contains the driver's public key. Use the public key to establish a session key, by calling the IDirect3DAuthenticatedChannel9::NegotiateKeyExchange method.

This method fails if the channel type is D3DAUTHENTICATEDCHANNEL_D3D9, because the Direct3D 9 channel does not support authentication.

-see-also

GPU-Based Content Protection

IDirect3DAuthenticatedChannel9