Share via


MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo class

This MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo structure describes the characteristics of shared keys utilized by the Initiator and the Target.

Syntax

class MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo
{
  uint32               AuthMethod;
  ISCSI_SECURITY_FLAGS SecurityFlags;
  uint32               IdType;
  uint8                Id[];
  uint8                Key[];
};

Members

The MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo class has these types of members:

Properties

The MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo class has these properties.

AuthMethod

Data type: uint32

Access type: Read-only

The specified Preshared Key Authentication Method.

Id

Data type: uint8 array

Access type: Read-only

An array of authentication IDs.

IdType

Data type: uint32

Access type: Read-only

The ID type to associate with the Preshared Key. The Initiator places this identifier (ID) in the Internet Key Exchange (IKE) identification payload to identify itself to the Target. The following table describes the possible identification payload types.

Value Meaning
ID_IPV4_ADDR
The Initiator identifies itself to the Target during the key exchange with a single 4-byte IPv4 address.
ID_FQDN
The Initiator identifies itself to the Target during the key exchange with a fully qualified domain name string (for example, "website.com").
ID_USER_FQDN
The Initiator identifies itself to the Target during the key exchange with a fully qualified user name string (for example, "sample@example.com").
ID_IPV6_ADDR
The Initiator identifies itself to the Target during the key exchange with a single 16-byte IPv6 address.

 

Key

Data type: uint8 array

Access type: Read-only

An array of keys.

SecurityFlags

Data type: ISCSI_SECURITY_FLAGS

Access type: Read-only

A bitmap that defines the security characteristics of a login connection.

Value Meaning
ISCSI_SECURITY_FLAG_TUNNEL_MODE_PREFERRED
The Host Bus Adapter (HBA) initiator should establish the TCP/IP connection to the target portal using IPsec tunnel mode.
ISCSI_SECURITY_FLAG_TRANSPORT_MODE_PREFERRED
The HBA initiator should establish the TCP/IP connection to the target portal using IPsec transport mode.
ISCSI_SECURITY_FLAG_PFS_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with Perfect Forward Secrecy (PFS) mode enabled if IPsec is required.
ISCSI_SECURITY_FLAG_AGGRESSIVE_MODE_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with aggressive mode enabled.
ISCSI_SECURITY_FLAG_MAIN_MODE_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal with main mode enabled.
ISCSI_SECURITY_FLAG_IKE_IPSEC_ENABLED
The HBA initiator should establish the TCP/IP connection to the target portal using IKE/IPsec protocol. If not set then IPsec is not required to login to the target.
ISCSI_SECURITY_FLAG_VALID
The other mask values are valid; otherwise, security flags are not specified.

 

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Iscsidsc.mof