|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.ssl.X509CredentialConfig
public class X509CredentialConfig
Provides the properties necessary for creating an SSL context initializer with an X.509 credential reader.
| Constructor Summary | |
|---|---|
X509CredentialConfig()
|
|
| Method Summary | |
|---|---|
SSLContextInitializer |
createSSLContextInitializer()
Creates an SSL context initializer using the configured trust and authentication material in this config. |
boolean |
equals(Object o)
|
String |
getAuthenticationCertificate()
Returns the name of the authentication certificate to use. |
String |
getAuthenticationKey()
Returns the name of the authentication key to use. |
String |
getTrustCertificates()
Returns the name of the trust certificates to use. |
int |
hashCode()
|
void |
setAuthenticationCertificate(String name)
Sets the name of the authentication certificate to use. |
void |
setAuthenticationKey(String name)
Sets the name of the authentication key to use. |
void |
setTrustCertificates(String name)
Sets the name of the trust certificates to use. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public X509CredentialConfig()
| Method Detail |
|---|
public String getTrustCertificates()
public void setTrustCertificates(String name)
name - trust certificates namepublic String getAuthenticationCertificate()
public void setAuthenticationCertificate(String name)
name - authentication certificate namepublic String getAuthenticationKey()
public void setAuthenticationKey(String name)
name - authentication key name
public SSLContextInitializer createSSLContextInitializer()
throws GeneralSecurityException
createSSLContextInitializer in interface CredentialConfigGeneralSecurityException - if the ssl context initializer cannot be
createdpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||