|
|||||||||
| Home >> All >> net >> jxta >> impl >> membership >> [ pse overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
net.jxta.impl.membership.pse
Class CMKeyStoreManager

java.lang.Objectnet.jxta.impl.membership.pse.CMKeyStoreManager
- All Implemented Interfaces:
- KeyStoreManager
- public class CMKeyStoreManager
- extends java.lang.Object
- implements KeyStoreManager
- extends java.lang.Object
Manages a Keystore located within the JXTA CM.
| Field Summary | |
private static java.lang.String |
DEFAULT_KEYSTORE_TYPE
|
private net.jxta.impl.cm.Cm |
keystore_cm
The file where the keystore lives |
private net.jxta.id.ID |
keystore_location
The file where the keystore lives |
private java.lang.String |
keystore_provider
The keystore type |
private java.lang.String |
keystore_type
The keystore type |
private static org.apache.log4j.Logger |
LOG
Log4J Logger |
| Constructor Summary | |
CMKeyStoreManager(java.lang.String type,
java.lang.String provider,
net.jxta.peergroup.PeerGroup group,
net.jxta.id.ID location)
Default constructor. |
|
| Method Summary | |
void |
createKeyStore(char[] store_password)
null |
void |
eraseKeyStore()
null |
boolean |
isInitialized()
null |
boolean |
isInitialized(char[] store_password)
null |
java.security.KeyStore |
loadKeyStore(char[] password)
Return the keystore instance we are using. |
void |
saveKeyStore(java.security.KeyStore store,
char[] password)
Return the keystore instance we are using. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LOG
private static final transient org.apache.log4j.Logger LOG
- Log4J Logger
DEFAULT_KEYSTORE_TYPE
private static final java.lang.String DEFAULT_KEYSTORE_TYPE
- See Also:
- Constant Field Values
keystore_type
private final java.lang.String keystore_type
- The keystore type
keystore_provider
private final java.lang.String keystore_provider
- The keystore type
keystore_cm
private final net.jxta.impl.cm.Cm keystore_cm
- The file where the keystore lives
keystore_location
private final net.jxta.id.ID keystore_location
- The file where the keystore lives
| Constructor Detail |
CMKeyStoreManager
public CMKeyStoreManager(java.lang.String type, java.lang.String provider, net.jxta.peergroup.PeerGroup group, net.jxta.id.ID location) throws java.security.NoSuchProviderException, java.security.KeyStoreException
- Default constructor.
| Method Detail |
isInitialized
public boolean isInitialized()
- null
- Specified by:
isInitializedin interfaceKeyStoreManager
isInitialized
public boolean isInitialized(char[] store_password)
- null
- Specified by:
isInitializedin interfaceKeyStoreManager
createKeyStore
public void createKeyStore(char[] store_password)
throws java.security.KeyStoreException,
java.io.IOException
- null
- Specified by:
createKeyStorein interfaceKeyStoreManager
loadKeyStore
public java.security.KeyStore loadKeyStore(char[] password) throws java.security.KeyStoreException, java.io.IOException
- Return the keystore instance we are using. i
- Specified by:
loadKeyStorein interfaceKeyStoreManager
saveKeyStore
public void saveKeyStore(java.security.KeyStore store, char[] password) throws java.io.IOException, java.security.KeyStoreException
- Return the keystore instance we are using. includes compatibility code
to force using Bouncy Castle for < JDK 1.5. The JCE 1.4.X PCKS#12
keystore is read only.
- Specified by:
saveKeyStorein interfaceKeyStoreManager
eraseKeyStore
public void eraseKeyStore()
throws java.io.IOException
- null
- Specified by:
eraseKeyStorein interfaceKeyStoreManager
|
|||||||||
| Home >> All >> net >> jxta >> impl >> membership >> [ pse overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
net.jxta.impl.membership.pse.CMKeyStoreManager