The SetNameEntry method sets a name at a specified index of a distribution point in a CRL distribution information array.
[VB] void SetNameEntry(
long DistPointIndex,
long NameIndex,
long NameChoice,
BSTR strName
);
[JAVA] void SetNameEntry(
int DistPointIndex,
int NameIndex,
int NameChoice,
java.lang.String strName
);
[C++] HRESULT SetNameEntry(
LONG DistPointIndex, // in
LONG NameIndex, // in
LONG NameChoice, // in
BSTR const strName // in
);
Name Choice Specifier | Description |
---|---|
CERT_ALT_NAME_RFC822_NAME | The name is an e-mail address. |
CERT_ALT_NAME_DNS_NAME | The name is an IA5 string specifying a DNS (Domain Name System) name in the format host.entity.domain. |
CERT_ALT_NAME_URL | The name is an IA5 string specifying a URL (Universal Resource Locator) in the format service://hostname/pathname. |
CERT_ALT_NAME_REGISTERED_ID | The name is a registered OID (Object Identifier). |
This method does not return a value.
Windows NT: Requires version 5.0 or later (or version 4.0 with the Windows NT 4.0 Option Pack).
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in certenc.h.
Import Library: Use certidl.lib.