IKEEXT_CREDENTIAL2 structure (iketypes.h)
The IKEEXT_CREDENTIAL2 structure is used to store credential information used for the authentication. IKEEXT_CREDENTIAL1 is available. For Windows Vista, IKEEXT_CREDENTIAL0 is available.
Syntax
typedef struct IKEEXT_CREDENTIAL2_ {
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_CREDENTIAL2;
Members
authenticationMethodType
Type: IKEEXT_AUTHENTICATION_METHOD_TYPE
Type of authentication method.
impersonationType
Type: IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE
Type of impersonation.
presharedKey
Type: IKEEXT_PRESHARED_KEY_AUTHENTICATION1*
Available when authenticationMethodType is IKEEXT_PRESHARED_KEY.
certificate
Type: IKEEXT_CERTIFICATE_CREDENTIAL1*
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
name
Type: IKEEXT_NAME_CREDENTIAL0*
Available when authenticationMethodType is one of the following values.
IKEEXT_KERBEROS IKEEXT_NTML_V2 IKEEXT_RESERVED
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | iketypes.h |
See also
IKEEXT_AUTHENTICATION_IMPERSONATION_TYPE
IKEEXT_AUTHENTICATION_METHOD_TYPE
IKEEXT_CERTIFICATE_CREDENTIAL1