Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.impl.membership.pse
Class URIKeyStoreManager  view URIKeyStoreManager download URIKeyStoreManager.java

java.lang.Object
  extended bynet.jxta.impl.membership.pse.URIKeyStoreManager
All Implemented Interfaces:
KeyStoreManager

public class URIKeyStoreManager
extends java.lang.Object
implements KeyStoreManager

Manages a Keystore located at at URI. This version precludes KeyStores which are built from multiple URIs.


Field Summary
private static java.lang.String DEFAULT_KEYSTORE_TYPE
          The default keystore type we will use.
private  java.net.URI 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
URIKeyStoreManager(java.lang.String type, java.lang.String provider, java.net.URI 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)
          null
 void saveKeyStore(java.security.KeyStore store, char[] password)
          null
 
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
The default keystore type we will use.

See Also:
Constant Field Values

keystore_type

private java.lang.String keystore_type
The keystore type


keystore_provider

private java.lang.String keystore_provider
The keystore type


keystore_location

private java.net.URI keystore_location
The file where the keystore lives

Constructor Detail

URIKeyStoreManager

public URIKeyStoreManager(java.lang.String type,
                          java.lang.String provider,
                          java.net.URI location)
                   throws java.security.NoSuchProviderException,
                          java.security.KeyStoreException
Default constructor.

Method Detail

isInitialized

public boolean isInitialized()
null

Specified by:
isInitialized in interface KeyStoreManager

isInitialized

public boolean isInitialized(char[] store_password)
null

Specified by:
isInitialized in interface KeyStoreManager

createKeyStore

public void createKeyStore(char[] store_password)
                    throws java.security.KeyStoreException,
                           java.io.IOException
null

Specified by:
createKeyStore in interface KeyStoreManager

loadKeyStore

public java.security.KeyStore loadKeyStore(char[] password)
                                    throws java.security.KeyStoreException,
                                           java.io.IOException
null

Specified by:
loadKeyStore in interface KeyStoreManager

saveKeyStore

public void saveKeyStore(java.security.KeyStore store,
                         char[] password)
                  throws java.security.KeyStoreException,
                         java.io.IOException
null

Specified by:
saveKeyStore in interface KeyStoreManager

eraseKeyStore

public void eraseKeyStore()
null

Specified by:
eraseKeyStore in interface KeyStoreManager