org.apache.synapse.securevault.keystore
Class JKSKeyStoreLoader

java.lang.Object
  extended by org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
      extended by org.apache.synapse.securevault.keystore.JKSKeyStoreLoader
All Implemented Interfaces:
IKeyStoreLoader

public class JKSKeyStoreLoader
extends AbstractKeyStoreLoader

Loads KeyStore from a JKS file


Field Summary
 
Fields inherited from class org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
log
 
Constructor Summary
JKSKeyStoreLoader(String keyStorePath, String keyStorePassword)
          constructs an instance of KeyStoreLoader
 
Method Summary
 KeyStore getKeyStore()
          Returns KeyStore to be used
 
Methods inherited from class org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
getKeyStore, handleException, handleException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JKSKeyStoreLoader

public JKSKeyStoreLoader(String keyStorePath,
                         String keyStorePassword)
constructs an instance of KeyStoreLoader

Parameters:
keyStorePath - - path to KeyStore file. KeyStore must be in JKS format.
keyStorePassword - - password to access keyStore
Method Detail

getKeyStore

public KeyStore getKeyStore()
Returns KeyStore to be used

Returns:
KeyStore instance


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.