Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDirect3DAuthenticatedChannel9::NegotiateKeyExchange method

Establishes a session key for the authenticated channel.

Syntax


HRESULT NegotiateKeyExchange(
   UINT DataSize,
   VOID *pData
);

Parameters

DataSize

The size of the data in the pData array, in bytes.

pData

A pointer to a byte array that contains the encrypted session key. The buffer must contain 256 bytes of data, encrypted using RSA Encryption Scheme - Optimal Asymmetric Encryption Padding (RSAES-OAEP).

Return value

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

Remarks

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

D3d9.h

See also

GPU-Based Content Protection
IDirect3DAuthenticatedChannel9

 

 

Show:
© 2017 Microsoft