Skip to content

Latest commit

 

History

History
137 lines (112 loc) · 4.39 KB

nf-certenc-icertencodecrldistinfo-getnamechoice.md

File metadata and controls

137 lines (112 loc) · 4.39 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:certenc.ICertEncodeCRLDistInfo.GetNameChoice
ICertEncodeCRLDistInfo::GetNameChoice (certenc.h)
Returns the name choice at a specified index of a certificate revocation list (CRL) distribution information point.
CCertEncodeCRLDistInfo object [Security]
GetNameChoice method
GetNameChoice
GetNameChoice method [Security]
GetNameChoice method [Security]
CCertEncodeCRLDistInfo object
GetNameChoice method [Security]
ICertEncodeCRLDistInfo interface
ICertEncodeCRLDistInfo interface [Security]
GetNameChoice method
ICertEncodeCRLDistInfo.GetNameChoice
ICertEncodeCRLDistInfo::GetNameChoice
_certsrv_icertencodecrldistinfo_getnamechoice
certenc/ICertEncodeCRLDistInfo::GetNameChoice
security.icertencodecrldistinfo_getnamechoice
security\icertencodecrldistinfo_getnamechoice.htm
security
cab5d4a0-e6dc-4229-a3b7-2dc90e2256bf
12/05/2018
CCertEncodeCRLDistInfo object [Security],GetNameChoice method, GetNameChoice, GetNameChoice method [Security], GetNameChoice method [Security],CCertEncodeCRLDistInfo object, GetNameChoice method [Security],ICertEncodeCRLDistInfo interface, ICertEncodeCRLDistInfo interface [Security],GetNameChoice method, ICertEncodeCRLDistInfo.GetNameChoice, ICertEncodeCRLDistInfo::GetNameChoice, _certsrv_icertencodecrldistinfo_getnamechoice, certenc/ICertEncodeCRLDistInfo::GetNameChoice, security.icertencodecrldistinfo_getnamechoice
certenc.h
Certsrv.h
Windows
None supported
Windows Server 2003 [desktop apps only]
Certidl.lib
Certenc.dll
Windows
19H1
ICertEncodeCRLDistInfo::GetNameChoice
certenc/ICertEncodeCRLDistInfo::GetNameChoice
c++
APIRef
kbSyntax
COM
Certenc.dll
ICertEncodeCRLDistInfo.GetNameChoice
CCertEncodeCRLDistInfo.GetNameChoice

ICertEncodeCRLDistInfo::GetNameChoice

-description

The GetNameChoice method returns the name choice at a specified index of a certificate revocation list (CRL) distribution information point.

-parameters

-param DistPointIndex [in]

Specifies the index of the distribution point for which to get a name choice. The first value is at index zero.

-param NameIndex [in]

Specifies the index of the name choice entry to get. The first value is at index zero.

-param pNameChoice [out]

A pointer to a Long that represents the name choice.

-returns

C++

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

The return value is the name choice at the specified index. The name choice indicates the type of the name so that it can be used correctly. The name choice must be one of the following values.
Return code Description
CERT_ALT_NAME_RFC822_NAME
The name is an email address.
CERT_ALT_NAME_DNS_NAME
The name is an IA5 string that contains a DNS (Domain Name System) name in the format Host.Entity.Domain.
CERT_ALT_NAME_URL
The name is an IA5 string that contains a URL in the format Service://HostName/Path.
CERT_ALT_NAME_REGISTERED_ID
The name is a registered object identifier (OID).

-see-also

ICertEncodeCRLDistInfo

ICertEncodeCRLDistInfo::SetNameEntry