IPSEC_SA0 structure (ipsectypes.h)

The IPSEC_SA0 structure is used to store information about an IPsec security association (SA).

Syntax

typedef struct IPSEC_SA0_ {
  IPSEC_SA_SPI         spi;
  IPSEC_TRANSFORM_TYPE saTransformType;
  union {
    IPSEC_SA_AUTH_INFORMATION0            *ahInformation;
    IPSEC_SA_AUTH_INFORMATION0            *espAuthInformation;
    IPSEC_SA_CIPHER_INFORMATION0          *espCipherInformation;
    IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0 *espAuthAndCipherInformation;
    IPSEC_SA_AUTH_INFORMATION0            *espAuthFwInformation;
  };
} IPSEC_SA0;

Members

spi

Security parameter index (SPI) of the IPsec SA. IPSEC_SA_SPI is defined in ipsectypes.h as UINT32.

saTransformType

Transform type of the SA specifying the IPsec security protocol.

See IPSEC_TRANSFORM_TYPE for more information.

ahInformation

Security algorithms of the SA transform. Available when saTransformType is IPSEC_TRANSFORM_AH.

See IPSEC_SA_AUTH_INFORMATION0 for more information.

espAuthInformation

Security algorithms of the SA transform. Available when saTransformType is IPSEC_TRANSFORM_ESP_AUTH.

See IPSEC_SA_AUTH_INFORMATION0 for more information.

espCipherInformation

Security algorithms of the SA transform. Available when saTransformType is IPSEC_TRANSFORM_ESP_CIPHER.

See IPSEC_SA_CIPHER_INFORMATION0 for more information.

espAuthAndCipherInformation

Security algorithms of the SA transform. Available when saTransformType is IPSEC_TRANSFORM_ESP_AUTH_AND_CIPHER.

See IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0 for more information.

espAuthFwInformation

Security algorithms of the SA transform. Available when saTransformType is IPSEC_TRANSFORM_ESP_AUTH_FW.

Note  Available only on Windows Server 2008 R2, Windows 7, or later.
 

Remarks

IPSEC_SA0 is a specific implementation of IPSEC_SA. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header ipsectypes.h

See also

IPSEC_SA_AUTH_AND_CIPHER_INFORMATION0

IPSEC_SA_AUTH_INFORMATION0

IPSEC_SA_CIPHER_INFORMATION0

IPSEC_TRANSFORM_TYPE

Windows Filtering Platform API Structures