Expand Minimize

D3D11_1DDIARG_CREATECRYPTOSESSION structure

Specifies the attributes of the cryptographic session to be created by the user-mode driver's CreateCryptoSession function.

Syntax


typedef struct D3D11_1DDIARG_CREATECRYPTOSESSION {
  GUID CryptoType;
  GUID DecodeProfile;
  GUID KeyExchangeType;
} D3D11_1DDIARG_CREATECRYPTOSESSION;

Members

CryptoType

a GUID that indicates the encryption type, which the driver uses for the encryption session that the driver's CreateCryptoSession function creates. The GUID can be one of the following:

ValueMeaning
D3D11_1DDI_CRYPTO_TYPE_AES128_CTR

A 128-bit Advanced Encryption Standard CTR mode (AES-CTR) block cipher.

D3D11_1DDI_CRYPTO_TYPE_PROPRIETARY

A proprietary encryption algorithm.

 

DecodeProfile

A GUID that specifies the DirectX Video Acceleration (DXVA) decode profile that the driver uses for the encryption session that the driver's CreateCryptoSession function creates. For a list of possible values, see CreateCryptoSession. If DXVA decoding will not be used, set this parameter to NULL_GUID.

KeyExchangeType

A GUID that specifies the type of key exchange. The following GUID is defined.

ValueMeaning
D3D11_1DDI_KEY_EXCHANGE_RSAES_OAEP

The caller will create the session key, encrypt it with RSA Encryption Scheme - Optimal Asymmetric Encryption Padding (RSAES-OAEP) by using the driver's public key, and pass the session key to the driver.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft