IKEEXT_SA_DETAILS2 structure (iketypes.h)

The IKEEXT_SA_DETAILS2 structure is used to store information returned when enumerating IKE, AuthIP, and IKEv2 security associations (SAs). IKEEXT_SA_DETAILS1 is available. For Windows Vista, IKEEXT_SA_DETAILS0 is available.

 

Syntax

typedef struct IKEEXT_SA_DETAILS2_ {
  UINT64                 saId;
  IKEEXT_KEY_MODULE_TYPE keyModuleType;
  FWP_IP_VERSION         ipVersion;
  union {
    IPSEC_V4_UDP_ENCAPSULATION0 *v4UdpEncapsulation;
  };
  IKEEXT_TRAFFIC0        ikeTraffic;
  IKEEXT_PROPOSAL0       ikeProposal;
  IKEEXT_COOKIE_PAIR0    cookiePair;
  IKEEXT_CREDENTIALS2    ikeCredentials;
  GUID                   ikePolicyKey;
  UINT64                 virtualIfTunnelId;
  FWP_BYTE_BLOB          correlationKey;
} IKEEXT_SA_DETAILS2;

Members

saId

Type: UINT64

LUID identifying the security association.

keyModuleType

Type: IKEEXT_KEY_MODULE_TYPE

Key module type.

ipVersion

Type: FWP_IP_VERSION

The IP version.

v4UdpEncapsulation

Type: IPSEC_V4_UDP_ENCAPSULATION0*

Stores the UDP ports corresponding to the Main Mode, if a NAT is detected.

Available when ipVersion is FWP_IP_VERSION_V4.

ikeTraffic

Type: IKEEXT_TRAFFIC0

The traffic corresponding to this IKE SA.

ikeProposal

Type: IKEEXT_PROPOSAL0

The main mode proposal corresponding to this IKE SA.

cookiePair

Type: IKEEXT_COOKIE_PAIR0

The SA cookies.

ikeCredentials

Type: IKEEXT_CREDENTIALS2

Credentials information for the SA.

ikePolicyKey

Type: GUID

GUID of the main mode policy provider context corresponding to this SA.

virtualIfTunnelId

Type: UINT64

ID/Handle to virtual interface tunneling state. Applicable only to IKEv2.

correlationKey

Type: FWP_BYTE_BLOB

Key derived from authentications to allow external applications to cryptographically bind their exchanges with this SA.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header iketypes.h

See also

FWP_BYTE_BLOB

FWP_IP_VERSION

IKEEXT_COOKIE_PAIR0

IKEEXT_CREDENTIALS2

IKEEXT_KEY_MODULE_TYPE

IKEEXT_PROPOSAL0

IKEEXT_TRAFFIC0

IPSEC_V4_UDP_ENCAPSULATION0