Project JXTA

net.jxta.impl.membership.pse
Interface KeyStoreManager

All Known Implementing Classes:
CMKeyStoreManager, FileKeyStoreManager, URIKeyStoreManager

public interface KeyStoreManager

Provides an abstraction of KeyStore location.


Method Summary
 void createKeyStore(char[] password)
           
 void eraseKeyStore()
           
 boolean isInitialized()
           
 boolean isInitialized(char[] password)
           
 KeyStore loadKeyStore(char[] password)
           
 void saveKeyStore(KeyStore store, char[] password)
           
 

Method Detail

isInitialized

public boolean isInitialized()

isInitialized

public boolean isInitialized(char[] password)

createKeyStore

public void createKeyStore(char[] password)
                    throws IOException,
                           KeyStoreException
Throws:
IOException
KeyStoreException

loadKeyStore

public KeyStore loadKeyStore(char[] password)
                      throws IOException,
                             KeyStoreException
Throws:
IOException
KeyStoreException

saveKeyStore

public void saveKeyStore(KeyStore store,
                         char[] password)
                  throws IOException,
                         KeyStoreException
Throws:
IOException
KeyStoreException

eraseKeyStore

public void eraseKeyStore()
                   throws IOException
Throws:
IOException

JXTA J2SE