IKEEXT_CREDENTIAL1 structure (iketypes.h)

The IKEEXT_CREDENTIAL1 structure is used to store credential information used for the authentication. IKEEXT_CREDENTIAL2 is available. For Windows Vista, IKEEXT_CREDENTIAL0 is available.

 

Syntax

typedef struct IKEEXT_CREDENTIAL1_ {
  IKEEXT_AUTHENTICATION_METHOD_TYPE        authenticationMethodType;
  IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE impersonationType;
  union {
    IKEEXT_PRESHARED_KEY_AUTHENTICATION1 *presharedKey;
    IKEEXT_CERTIFICATE_CREDENTIAL1       *certificate;
    IKEEXT_NAME_CREDENTIAL0              *name;
  };
} IKEEXT_CREDENTIAL1;

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_AUTHENTICATION1 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 See IKEEXT_CERTIFICATE_CREDENTIAL1 for more information.

name

Available when authenticationMethodType is one of the following values.

IKEEXT_KERBEROS IKEEXT_NTML_V2 See IKEEXT_NAME_CREDENTIAL0 for more information.

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

IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE

IKEEXT_AUTHENTICATION_METHOD_TYPE

IKEEXT_CERTIFICATE_CREDENTIAL1

IKEEXT_NAME_CREDENTIAL0

IKEEXT_PRESHARED_KEY_AUTHENTICATION1

Windows Filtering Platform API Structures