|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.innergrid.api.AcceptCertificate
public class AcceptCertificate
SSLConnectionInfo implementation to accept only a specific certificate.
Constructor Summary | |
---|---|
AcceptCertificate(java.io.File file)
Constructor. |
|
AcceptCertificate(java.lang.String path)
Creates a new instance. |
Method Summary | |
---|---|
java.io.File |
getCertificate()
Obtains the path to the accepted certificate file. |
java.lang.String |
getCertificateFile()
Obtains the path to the accepted certificate file. |
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Return a SSLSocktedFactory to accept a specific Certificate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcceptCertificate(java.io.File file)
file
- a string with the path to the accepted certificate filepublic AcceptCertificate(java.lang.String path)
path
- Path to the certificate fileMethod Detail |
---|
public java.lang.String getCertificateFile()
public java.io.File getCertificate()
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory() throws KernelException
getSSLSocketFactory
in interface SSLConnectionInfo
KernelException
- If error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |