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 and Description
    `JKSKeyStoreLoader(String keyStorePath, String keyStorePassword)` constructs an instance of KeyStoreLoader

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 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–2018 Apache Software Foundation. All rights reserved.