cgl.narada.service.security.impl
Class KeyStoreManagementImpl

java.lang.Object
  extended by cgl.narada.service.security.impl.KeyStoreManagementImpl

public class KeyStoreManagementImpl
extends Object


Constructor Summary
KeyStoreManagementImpl()
           
 
Method Summary
 void addTemplateKey(int templateId, KeyStore templateKeyStore, Key templateKey, char[] keyEntryPassword)
           
 KeyStore createKeyStore(String keyStoreFileLocation, String keyStoreType, String keyStoreProvider, char[] keyStorePassword)
           
 void processPersonalKeyStore(KeyStore personalKeyStore, String alias, char[] keyStorePassword)
           
 void removeTemplateKey(int templateId, KeyStore templateKeyStore)
           
 Enumeration retrieveAliases(KeyStore keyStore)
           
 Key retrieveKey(KeyStore keyStore, String alias, char[] keyEntryPassword)
           
 void saveKeyStore(KeyStore keyStore, String keyStoreFileLocation, char[] keyStorePassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreManagementImpl

public KeyStoreManagementImpl()
Method Detail

createKeyStore

public KeyStore createKeyStore(String keyStoreFileLocation,
                               String keyStoreType,
                               String keyStoreProvider,
                               char[] keyStorePassword)
                        throws ServiceException
Throws:
ServiceException

saveKeyStore

public void saveKeyStore(KeyStore keyStore,
                         String keyStoreFileLocation,
                         char[] keyStorePassword)
                  throws ServiceException
Throws:
ServiceException

addTemplateKey

public void addTemplateKey(int templateId,
                           KeyStore templateKeyStore,
                           Key templateKey,
                           char[] keyEntryPassword)
                    throws ServiceException
Throws:
ServiceException

removeTemplateKey

public void removeTemplateKey(int templateId,
                              KeyStore templateKeyStore)
                       throws ServiceException
Throws:
ServiceException

retrieveAliases

public Enumeration retrieveAliases(KeyStore keyStore)
                            throws ServiceException
Throws:
ServiceException

retrieveKey

public Key retrieveKey(KeyStore keyStore,
                       String alias,
                       char[] keyEntryPassword)
                throws ServiceException
Throws:
ServiceException

processPersonalKeyStore

public void processPersonalKeyStore(KeyStore personalKeyStore,
                                    String alias,
                                    char[] keyStorePassword)
                             throws ServiceException
Throws:
ServiceException


For comments and suggestions please send e-mail to The NaradaBrokering Project