OFFLOAD_SECURITY_ASSOCIATION structure (ntddndis.h)

The OFFLOAD_SECURITY_ASSOCIATION structure specifies a single security association (SA).

Syntax

typedef struct _OFFLOAD_SECURITY_ASSOCIATION {
  OFFLOAD_OPERATION_E Operation;
  SPI_TYPE            SPI;
  OFFLOAD_ALGO_INFO   IntegrityAlgo;
  OFFLOAD_ALGO_INFO   ConfAlgo;
  OFFLOAD_ALGO_INFO   Reserved;
} OFFLOAD_SECURITY_ASSOCIATION, *POFFLOAD_SECURITY_ASSOCIATION;

Members

Operation

The Internet Protocol security (IPsec) operation for which the SA is to be used. The following operations are supported:

AUTHENTICATE

The SA will be used for authentication (integrity checking).

ENCRYPT

The SA will be used for encryption/decryption (confidentiality).

SPI

The Security Parameters Index (SPI) for the SA.

IntegrityAlgo

The integrity (authentication) algorithm for the SA, formatted as an OFFLOAD_ALGO_INFO structure.

ConfAlgo

The confidentiality (encryption/decryption) algorithm for the SA, formatted as an OFFLOAD_ALGO_INFO structure.

Reserved

This member is reserved.

Remarks

The OFFLOAD_SECURITY_ASSOCIATION structure is used with the OID_TCP_TASK_IPSEC_ADD_SA and OID_TCP_TASK_IPSEC_ADD_UDPESP_SA OIDs.

Requirements

Requirement Value
Header ntddndis.h (include Ndis.h)

See also

OFFLOAD_ALGO_INFO

OID_TCP_TASK_IPSEC_ADD_SA

OID_TCP_TASK_IPSEC_ADD_UDPESP_SA