IKEEXT_CREDENTIAL0 structure

The IKEEXT_CREDENTIAL0 structure is used to store credential information used for the authentication.

Note  IKEEXT_CREDENTIAL0 is the specific implementation of IKEEXT_CREDENTIAL used in Windows Vista. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows 7 and later, IKEEXT_CREDENTIAL1 is available. For Windows 8, IKEEXT_CREDENTIAL2 is available.
 

Syntax


typedef struct IKEEXT_CREDENTIAL0_ {
  IKEEXT_AUTHENTICATION_METHOD_TYPE        authenticationMethodType;
  IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE impersonationType;
  union {
    IKEEXT_PRESHARED_KEY_AUTHENTICATION0 *presharedKey;
    IKEEXT_CERTIFICATE_CREDENTIAL0       *certificate;
    IKEEXT_NAME_CREDENTIAL0              *name;
    ;      // case(IKEEXT_ANONYMOUS)
  };
} IKEEXT_CREDENTIAL0;

Members

authenticationMethodType

Type of authentication method.

See IKEEXT_AUTHENTICATION_METHOD_TYPE for more information.

impersonationType

Type of impersonation.

See IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE for more information.

presharedKey

Available when authenticationMethodType is IKEEXT_PRESHARED_KEY.

See IKEEXT_PRESHARED_KEY_AUTHENTICATION0 for more information.

certificate

Available when authenticationMethodType is one of the following values.

IKEEXT_CERTIFICATE
IKEEXT_CERTIFICATE_ECDSA_P256
IKEEXT_CERTIFICATE_ECDSA_P384
IKEEXT_SSL
IKEEXT_SSL_ECDSA_P256
IKEEXT_SSL_ECDSA_P384
IKEEXT_IPV6_CGA (available only on Windows 7, Windows Server 2008 R2, and later)

See IKEEXT_CERTIFICATE_CREDENTIAL0 for more information.

name

Available when authenticationMethodType is one of the following values.

IKEEXT_KERBEROS
IKEEXT_NTML_V2 (available only on Windows 7, Windows Server 2008 R2, and later)

See IKEEXT_NAME_CREDENTIAL0 for more information.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Iketypes.h

IDL

Iketypes.idl

See also

Windows Filtering Platform API Structures
IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE
IKEEXT_AUTHENTICATION_METHOD_TYPE
IKEEXT_NAME_CREDENTIAL0
IKEEXT_PRESHARED_KEY_AUTHENTICATION0
IKEEXT_CERTIFICATE_CREDENTIAL0

 

 

Show: