|
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.FileKeyStoreManager
Manages a Keystore located at at URI. This version precludes KeyStores which are built from multiple URIs.
Constructor Summary | |
FileKeyStoreManager(String type,
String provider,
File 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 FileKeyStoreManager(String type, String provider, File 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 KeyStoreException, IOException
saveKeyStore
in interface KeyStoreManager
KeyStoreException
IOException
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 |