Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Type property retrieves the alternative name type.
This property is read-only.
Syntax
HRESULT get_Type(
AlternativeNameType *pValue
);
Parameters
pValue
Return value
None
Remarks
The following values from the AlternativeNameType enumeration can be returned. The XCN_CERT_ALT_NAME_UNKNOWN value is never returned.
Value | Description |
---|---|
XCN_CERT_ALT_NAME_OTHER_NAME | The name consists of an object identifier (OID) and a byte array. |
XCN_CERT_ALT_NAME_RFC822_NAME | The name is an email address. |
XCN_CERT_ALT_NAME_DNS_NAME | The name is a DNS name. |
XCN_CERT_ALT_NAME_DIRECTORY_NAME | The name is an X.500 directory name. |
XCN_CERT_ALT_NAME_URL | The name is a URL. |
XCN_CERT_ALT_NAME_IP_ADDRESS | The name is an IP address. |
XCN_CERT_ALT_NAME_REGISTERED_ID | The name is a registered OID. |
XCN_CERT_ALT_NAME_GUID | The name is a GUID. |
XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME | The name is a user principal name (UPN). |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |
DLL | CertEnroll.dll |