Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The SetNameEntry method sets a name at a specified index of a distribution point in a certificate revocation list (CRL) distribution information array.
HRESULT SetNameEntry(
[in] LONG DistPointIndex,
[in] LONG NameIndex,
[in] LONG NameChoice,
[in] const BSTR strName
);
[in] DistPointIndex
Specifies the index of the CRL distribution point for which to set the name. The first value is at index zero.
[in] NameIndex
Specifies the index of the name entry to set. The first value is at index zero.
[in] NameChoice
Specifies the name choice of the name being set. 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.
Value | Meaning |
---|---|
|
The name is an email address. |
|
The name is an IA5 string specifying a DNS (Domain Name System) name in the format host.entity.domain. |
|
The name is an IA5 string specifying a URL in the format Service://HostName/Path. |
|
The name is a registered object identifier (OID). |
[in] strName
Specifies the name.
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.
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | certenc.h (include Certsrv.h) |
Library | Certidl.lib |
DLL | Certenc.dll |
ICertEncodeCRLDistInfo::GetName
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now