Package org.apache.synapse.securevault.keystore

# Class JKSKeyStoreLoader

java.lang.Object
org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
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

  Constructors
  Constructor
  Description
  `JKSKeyStoreLoader(String keyStorePath, String keyStorePassword)`
  constructs an instance of KeyStoreLoader

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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 Details

  - ### 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 Details

  - ### getKeyStore

    public KeyStore getKeyStore()
    Returns KeyStore to be used
    Returns:
      KeyStore instance