|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.geclipse.core.security.Security
public class Security
Base class of the g-Eclipse security framework.
| Constructor Summary | |
|---|---|
Security()
|
|
| Method Summary | |
|---|---|
static IPath |
getCertificateLocation()
Get the location where the ICertificateManager singleton
implementation stores its certificates. |
static ICertificateManager |
getCertificateManager()
Get the ICertificateManager singleton implementation. |
static javax.net.ssl.SSLSocketFactory |
getSocketFactory()
Get a singleton implementation of an SSLSocketFactory that hooks in
the g-Eclipse trust management into the SSL/TLS framework. |
static javax.net.ssl.X509TrustManager |
getTrustManager(javax.net.ssl.X509TrustManager slave)
Get a X509TrustManager wrapping up the specified slave. |
static void |
setCertificateLocation(IPath location)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Security()
| Method Detail |
|---|
public static IPath getCertificateLocation()
ICertificateManager singleton
implementation stores its certificates.
public static ICertificateManager getCertificateManager()
ICertificateManager singleton implementation.
ICertificateManager.public static javax.net.ssl.X509TrustManager getTrustManager(javax.net.ssl.X509TrustManager slave)
X509TrustManager wrapping up the specified slave.
The returned manager will use the ICertificateTrustVerifiers that
are specified via the
eu.geclipse.core.certificateTrustVerifier extension point to
verify trust on certificates that are not yet known as trusted or
untrusted.
slave - The slave manager that is used at the very first step to
verify certificate trust.
public static final javax.net.ssl.SSLSocketFactory getSocketFactory()
throws java.security.NoSuchAlgorithmException,
java.security.KeyManagementException,
java.security.UnrecoverableKeyException,
java.security.KeyStoreException,
java.security.InvalidAlgorithmParameterException
SSLSocketFactory that hooks in
the g-Eclipse trust management into the SSL/TLS framework.
SSLSocketFactory singleton.
java.security.NoSuchAlgorithmException
java.security.KeyManagementException
java.security.UnrecoverableKeyException
java.security.KeyStoreException
java.security.InvalidAlgorithmParameterExceptionpublic static void setCertificateLocation(IPath location)
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||