Expand Minimize

IKEEXT_CREDENTIAL1 structure

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

Note  IKEEXT_CREDENTIAL1 is the specific implementation of IKEEXT_CREDENTIAL used in Windows 7. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows 8, 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;
    ;      // case(IKEEXT_ANONYMOUS)
  };
} 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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [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_AUTHENTICATION1
IKEEXT_CERTIFICATE_CREDENTIAL1

 

 

Community Additions

ADD
Show:
© 2014 Microsoft