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

Quick Search    Search Deep

org.opensst.client.keystore
Class KeyStoreFactory  view KeyStoreFactory download KeyStoreFactory.java

java.lang.Object
  extended byorg.opensst.client.keystore.KeyStoreFactory

public class KeyStoreFactory
extends java.lang.Object

This class allows to actually instanciate a KeyStore object. It allows some level of flexibility by making possible to replace the keystore implementation that is returned. It also provides a mean to initialize the keystore with some implementation-specific data (for example, a keystore using a physical file to store the data may need the file name, a keystore encrypting the stored key may need the name of the algo, the parameter and the key that was used to encode the keystore, etc...) $Date$

Version:
$Revision$

Field Summary
private static Keystore keystore
           
 
Constructor Summary
KeyStoreFactory()
           
 
Method Summary
static Keystore getDefaultKeystore(java.lang.Object param)
          Return a specific keystore implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keystore

private static Keystore keystore
Constructor Detail

KeyStoreFactory

public KeyStoreFactory()
Method Detail

getDefaultKeystore

public static Keystore getDefaultKeystore(java.lang.Object param)
Return a specific keystore implementation. For the purpose of this version of openSST, I choosed to use a XMLKeyStore.