|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.membership.pse.CMKeyStoreManager
Manages a Keystore located within the JXTA CM.
Constructor Summary | |
CMKeyStoreManager(String type,
String provider,
PeerGroup group,
ID location)
Default constructor. |
Method Summary | |
void |
createKeyStore(char[] store_password)
|
void |
eraseKeyStore()
|
boolean |
isInitialized()
|
boolean |
isInitialized(char[] store_password)
|
KeyStore |
loadKeyStore(char[] password)
Return the keystore instance we are using. i |
void |
saveKeyStore(KeyStore store,
char[] password)
Return the keystore instance we are using. includes compatibility code to force using Bouncy Castle for < JDK 1.5. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMKeyStoreManager(String type, String provider, PeerGroup group, ID location) throws NoSuchProviderException, KeyStoreException
Method Detail |
public boolean isInitialized()
isInitialized
in interface KeyStoreManager
public boolean isInitialized(char[] store_password)
isInitialized
in interface KeyStoreManager
public void createKeyStore(char[] store_password) throws KeyStoreException, IOException
createKeyStore
in interface KeyStoreManager
KeyStoreException
IOException
public KeyStore loadKeyStore(char[] password) throws KeyStoreException, IOException
loadKeyStore
in interface KeyStoreManager
KeyStoreException
IOException
public void saveKeyStore(KeyStore store, char[] password) throws IOException, KeyStoreException
saveKeyStore
in interface KeyStoreManager
IOException
KeyStoreException
public void eraseKeyStore() throws IOException
eraseKeyStore
in interface KeyStoreManager
IOException
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |