|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.trustmanager.ContextFactory
public class ContextFactory
Constructor Summary | |
---|---|
ContextFactory()
|
Method Summary | |
---|---|
static SSLContextWrapper |
createContextWrapper(java.util.Properties inputConfig)
Generates a new contextfactory. |
static SSLContextWrapper |
createContextWrapper(java.util.Properties inputConfig,
org.bouncycastle.openssl.PasswordFinder finder)
Creator method that is useful when interactive password asking is wanted. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextFactory()
Method Detail |
---|
public static SSLContextWrapper createContextWrapper(java.util.Properties inputConfig, org.bouncycastle.openssl.PasswordFinder finder) throws java.lang.Exception
inputConfig
- A properties file that has all the necessary configuration values.finder
- The password finder class that is invoked whe a password is needed.
java.lang.Exception
- Thrown when SSLContextWrapper initialization fails.public static SSLContextWrapper createContextWrapper(java.util.Properties inputConfig) throws java.lang.Exception
inputConfig
- the properties to use to setup the SSLContextWrapper.
java.lang.Exception
- Thrown when SSLContextWrapper initialization fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |