public class IniCertReader
extends java.lang.Object
| Constructor and Description |
|---|
IniCertReader() |
| Modifier and Type | Method and Description |
|---|---|
static X509Certificate[] |
readPEMCerts(IniFile iniFile,
int size)
Read the certificates used for LDAPS from the specified Entrust.ini file.
|
public static X509Certificate[] readPEMCerts(IniFile iniFile, int size)
This method searches the entrust.ini file supplied under the [Directory Connection Settings]
section for the SecureLDAPCACertPEMFile entry and the SecureLDAPServerCertPEMFile entry. If
it finds these entries, it will attempt to load the certificates in PEM format
using the {#readPEMCerts(InputStream, int) method.