|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.innergrid.api.AcceptCertificateOfKeyStore
public class AcceptCertificateOfKeyStore
SSLConnectionInfo implementation to accept any certificate from a given keystore file.
Constructor Summary | |
---|---|
AcceptCertificateOfKeyStore(java.io.File kfile,
java.lang.String kpassword)
Constructor. |
|
AcceptCertificateOfKeyStore(java.lang.String kfilepath,
java.lang.String kpassword)
Constructor. |
Method Summary | |
---|---|
java.io.File |
getKeystore()
Gets the path to the Keystore file. |
java.lang.String |
getKeystoreFile()
Gets the path to the Keystore file. |
java.lang.String |
getKeystorePassword()
Gets the password to access the Keystore file. |
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Get SSL Socket Factory For use with KeyStore file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcceptCertificateOfKeyStore(java.lang.String kfilepath, java.lang.String kpassword)
kfilepath
- a string with the path to the Keystore file.kpassword
- a string with the password to access the Keystore file.public AcceptCertificateOfKeyStore(java.io.File kfile, java.lang.String kpassword)
kfile
- The Keystore file.kpassword
- The password to access the Keystore file.Method Detail |
---|
public java.lang.String getKeystoreFile()
public java.io.File getKeystore()
public java.lang.String getKeystorePassword()
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 |