Partager via


2.2.1.2.131 IKEV2_PROJECTION_INFO_1

The IKEV2_PROJECTION_INFO_1 structure SHOULD<118> contain information obtained during Internet Key Exchange (IKE) negotiation.

 typedef struct IKEV2_PROJECTION_INFO_1 {
   DWORD dwIPv4NegotiationError;
   WCHAR wszAddress[16];
   WCHAR wszRemoteAddress[16];
   ULONG64 IPv4SubInterfaceIndex;
   DWORD dwIPv6NegotiationError;
   UCHAR bInterfaceIdentifier[8];
   UCHAR bRemoteInterfaceIdentifier[8];
   UCHAR bPrefix[8];
   DWORD dwPrefixLength;
   ULONG64 IPv6SubInterfaceIndex;
   DWORD dwOptions;
   DWORD dwAuthenticationProtocol;
   DWORD dwEapTypeId;
   DWORD dwCompressionAlgorithm;
   DWORD dwEncryptionMethod;
 } IKEV2_PROJECTION_INFO_1,
  *PIKEV2_PROJECTION_INFO_1;

dwIPv4NegotiationError: Specifies if an Internal IPv4 address [RFC4306] has been successfully assigned. A value of zero (0) indicates success. A nonzero value indicates failure.

wszAddress: The same as wszAddress in PPP_PROJECTION_INFO_1.

wszRemoteAddress: The same as wszRemoteAddress in PPP_PROJECTION_INFO_1.

IPv4SubInterfaceIndex: The same as IPv4SubInterfaceIndex in PPP_PROJECTION_INFO_1.

dwIPv6NegotiationError: The same as dwIPv5NegotiationError in PPP_PROJECTION_INFO_1.

bInterfaceIdentifier: The same as bInterfaceIdentifier in PPP_PROJECTION_INFO_1.

bRemoteInterfaceIdentifier: The same as bRemoteInterfaceIdentifier in PPP_PROJECTION_INFO_1.

bPrefix: The same as bPrefix in PPP_PROJECTION_INFO_1.

dwPrefixLength: The same as dwPrefixLength in PPP_PROJECTION_INFO_1.

IPv6SubInterfaceIndex: The same as IPv6SubInterfaceIndex in PPP_PROJECTION_INFO_1.

dwOptions: Not used.

dwAuthenticationProtocol: Specifies the authentication protocol used to authenticate the remote computer. It MUST be one of the following values.

Value

Meaning

MPRAPI_IKEV2_AUTH_USING_CERT

0x00000001

Using x.509 machine certificate [RFC2459].

MPRAPI_IKEV2_AUTH_USING_EAP

0x00000002

Extensible Authentication Protocol (EAP).

dwEapTypeId: Specifies the type identifier of the EAP used to authenticate the local computer. The value of this member is valid only if dwAuthenticationProtocol is MPRAPI_IKEV2_AUTH_USING_EAP [IANA-EAP].

dwCompressionAlgorithm: Not used.

dwEncryptionMethod: Specifies the encryption method used in the connection. It MUST be one of the following values.

Value

Meaning

IPSEC_CIPHER_TYPE_3DES

2

Specifies 3DES encryption.

IPSEC_CIPHER_TYPE_AES_128

3

Specifies AES-128 encryption.

IPSEC_CIPHER_TYPE_AES_192

4

Specifies AES-192 encryption.

IPSEC_CIPHER_TYPE_AES_256

5

Specifies AES-256 encryption.