ROUTER_CUSTOM_IKEv2_POLICY0 structure (mprapi.h)

Contains the IKEv2 main mode and quick mode policy configuration.

Do not use the ROUTER_CUSTOM_IKEv2_POLICY0 structure directly in your code; using ROUTER_CUSTOM_IKEv2_POLICY instead ensures that the proper version, based on the operating system the code in compiled under, is used.

Syntax

typedef struct _ROUTER_CUSTOM_IKEv2_POLICY0 {
  DWORD dwIntegrityMethod;
  DWORD dwEncryptionMethod;
  DWORD dwCipherTransformConstant;
  DWORD dwAuthTransformConstant;
  DWORD dwPfsGroup;
  DWORD dwDhGroup;
} ROUTER_CUSTOM_IKEv2_POLICY0, *PROUTER_CUSTOM_IKEv2_POLICY0, ROUTER_CUSTOM_L2TP_POLICY0, *PROUTER_CUSTOM_L2TP_POLICY0;

Members

dwIntegrityMethod

A value that specifies the integrity algorithm to be negotiated during IKEv2 main mode SA negotiation. The allowed values for this member are defined in IKEEXT_INTEGRITY_TYPE.

dwEncryptionMethod

A value that specifies the encryption algorithm to be negotiated during IKEv2 main mode SA negotiation. The allowed valued for this member are defined in IKEEXT_CIPHER_TYPE.

dwCipherTransformConstant

A value that specifies the encryption algorithm to be negotiated during IKEv2 quick mode SA negotiation. The allowed valued for this member are defined in IPSEC_CIPHER_TYPE.

dwAuthTransformConstant

A value that specifies the hash algorithm to be negotiated during IKEv2 quick mode SA negotiation. The allowed valued for this member are defined in IPSEC_AUTH_TYPE.

dwPfsGroup

A value that specifies the Diffie Hellman algorithm that should be used for Quick Mode PFS (Perfect Forward Secrecy). The allowed valued for this member are defined in IPSEC_PFS_GROUP.

dwDhGroup

A value that specifies the type of Diffie Hellman group used for Internet Key Exchange (IKE) key generation during MM SA negotiation. The allowed valued for this member are defined in IKEEXT_DH_GROUP.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2012 [desktop apps only]
Header mprapi.h