Class LdapPEMSocketFactory
java.lang.Object
edu.internet2.middleware.grouper.ldap.LdapPEMSocketFactory
-
Constructor Summary
ConstructorDescriptionLdapPEMSocketFactory
(String caFile, String certFile, String keyFile) Create a socket factory from PEM files. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected X509Certificate
readCertificate
(String filename)
-
Constructor Details
-
LdapPEMSocketFactory
Create a socket factory from PEM files.- Parameters:
caFile
-certFile
-keyFile
-
-
-
Method Details
-
getSocketFactory
- Returns:
- socket factory
-
getTrustManagers
-
getKeyManagers
-
initSocketFactory
protected void initSocketFactory() -
initManagers
protected void initManagers() -
readCertificate
- Parameters:
filename
-
-