|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jnlp.security.KeyStores
public final class KeyStores
The KeyStores class allows easily accessing the various KeyStores
used.
| Nested Class Summary | |
|---|---|
static class |
KeyStores.Level
|
static class |
KeyStores.Type
|
| Constructor Summary | |
|---|---|
KeyStores()
|
|
| Method Summary | |
|---|---|
static java.security.KeyStore[] |
getCAKeyStores()
Returns an array of KeyStore that contain trusted CA certificates. |
static java.security.KeyStore[] |
getCertKeyStores()
Returns an array of KeyStore that contain certificates that are trusted. |
static java.security.KeyStore[] |
getClientKeyStores()
Returns KeyStores containing trusted client certificates |
static java.security.KeyStore |
getKeyStore(KeyStores.Level level,
KeyStores.Type type)
Returns a KeyStore corresponding to the appropriate level level (user or system) and type. |
static java.security.KeyStore |
getKeyStore(KeyStores.Level level,
KeyStores.Type type,
boolean create)
Returns a KeyStore corresponding to the appropriate level level (user or system) and type. |
static java.lang.String |
getKeyStoreLocation(KeyStores.Level level,
KeyStores.Type type)
Returns the location of a KeyStore corresponding to the given level and type. |
static char[] |
getPassword()
|
static void |
setConfiguration(DeploymentConfiguration newConfig)
Set the configuration object to use for getting KeyStore paths |
static java.lang.String |
toDisplayableString(KeyStores.Level level,
KeyStores.Type type)
Returns a human readable name for this KeyStore |
static java.lang.String |
toTranslatableString(KeyStores.Level level,
KeyStores.Type type)
Returns a String that can be used as a translation key to create a user-visible representation of this KeyStore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyStores()
| Method Detail |
|---|
public static final char[] getPassword()
public static void setConfiguration(DeploymentConfiguration newConfig)
public static final java.security.KeyStore getKeyStore(KeyStores.Level level,
KeyStores.Type type)
level - whether the KeyStore desired is a user-level or system-level
KeyStoretype - the type of KeyStore desired
public static final java.security.KeyStore getKeyStore(KeyStores.Level level,
KeyStores.Type type,
boolean create)
level - whether the KeyStore desired is a user-level or system-level
KeyStoretype - the type of KeyStore desired
public static final java.security.KeyStore[] getCertKeyStores()
public static final java.security.KeyStore[] getCAKeyStores()
public static java.security.KeyStore[] getClientKeyStores()
public static final java.lang.String getKeyStoreLocation(KeyStores.Level level,
KeyStores.Type type)
level - the specified level of the key store to be returned.type - the specified type of the key store to be returned.
public static final java.lang.String toTranslatableString(KeyStores.Level level,
KeyStores.Type type)
level - the level of the key store.type - the type of the key store.
public static java.lang.String toDisplayableString(KeyStores.Level level,
KeyStores.Type type)
level - the level of the KeyStoretype - the type of KeyStore
|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||