Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 3.39 KB

nf-d3d9-idirect3dcryptosession9-getcertificate.md

File metadata and controls

81 lines (62 loc) · 3.39 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.IDirect3DCryptoSession9.GetCertificate
IDirect3DCryptoSession9::GetCertificate (d3d9.h)
Gets the driver's certificate chain. (IDirect3DCryptoSession9.GetCertificate)
GetCertificate
GetCertificate method [Media Foundation]
GetCertificate method [Media Foundation]
IDirect3DCryptoSession9 interface
IDirect3DCryptoSession9 interface [Media Foundation]
GetCertificate method
IDirect3DCryptoSession9.GetCertificate
IDirect3DCryptoSession9::GetCertificate
d3d9/IDirect3DCryptoSession9::GetCertificate
mf.idirect3dcryptosession9_getcertificate
mf\idirect3dcryptosession9_getcertificate.htm
mf
802285a6-1338-4131-bb5e-9d4daad62bdc
12/05/2018
GetCertificate, GetCertificate method [Media Foundation], GetCertificate method [Media Foundation],IDirect3DCryptoSession9 interface, IDirect3DCryptoSession9 interface [Media Foundation],GetCertificate method, IDirect3DCryptoSession9.GetCertificate, IDirect3DCryptoSession9::GetCertificate, d3d9/IDirect3DCryptoSession9::GetCertificate, mf.idirect3dcryptosession9_getcertificate
d3d9.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IDirect3DCryptoSession9::GetCertificate
d3d9/IDirect3DCryptoSession9::GetCertificate
c++
APIRef
kbSyntax
COM
d3d9.h
IDirect3DCryptoSession9.GetCertificate

IDirect3DCryptoSession9::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 IDirect3DCryptoSession9::GetCertificateSize.

-param ppCertificate

A pointer to a byte array that receives the driver's 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

The standard key-exchange mechanism uses the driver's Output Protection Manager (OPM) certificate, which is an X.509 certificate. The type of key exchange is given in the capabilities information returned by the IDirect3DDevice9Video::GetContentProtectionCaps method. The key-exchange mechanism is specified by the KeyExchangeType member of the D3DCONTENTPROTECTIONCAPS structure. If the value is D3DKEYEXCHANGE_RSAES_OAEP, an X.509 certificate is used.

For other types of key exchange, the driver might use some other type of certificate, or might not provide a certificate.

-see-also

GPU-Based Content Protection

IDirect3DCryptoSession9