IKEEXT_PRESHARED_KEY_AUTHENTICATION1 structure (iketypes.h)

The IKEEXT_PRESHARED_KEY_AUTHENTICATION1 structure stores information needed for pre-shared key authentication. IKEEXT_PRESHARED_KEY_AUTHENTICATION0 is available.

 

Syntax

typedef struct IKEEXT_PRESHARED_KEY_AUTHENTICATION1__ {
  FWP_BYTE_BLOB presharedKey;
  UINT32        flags;
} IKEEXT_PRESHARED_KEY_AUTHENTICATION1;

Members

presharedKey

The pre-shared key specified by FWP_BYTE_BLOB.

flags

A combination of the following values.

Pre-shared key authentication flag Meaning
IKEEXT_PSK_FLAG_LOCAL_AUTH_ONLY
Specifies that the pre-shared key authentication will be used only to authenticate a local computer to a remote computer.

Applicable only to IKEv2.

IKEEXT_PSK_FLAG_REMOTE_AUTH_ONLY
Specifies that the pre-shared key authentication will be used only to authenticate a remote computer to a local computer.

Applicable only to IKEv2.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header iketypes.h

See also

FWP_BYTE_BLOB

Windows Filtering Platform API Structures