org.apache.synapse.securevault.keystore

## Class PKCS12KeyStoreLoader

- java.lang.Object
- - org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader
  - - org.apache.synapse.securevault.keystore.PKCS12KeyStoreLoader

- All Implemented Interfaces:
    IKeyStoreLoader

      public class PKCS12KeyStoreLoader
      extends AbstractKeyStoreLoader

- - ### Field Summary

    - ### Fields inherited from class org.apache.synapse.securevault.keystore.AbstractKeyStoreLoader

      `log`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PKCS12KeyStoreLoader(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

    - #### PKCS12KeyStoreLoader

          public PKCS12KeyStoreLoader(String keystorePath,
                                      String keyStorePassword)

      constructs an instance of KeyStoreLoader
      Parameters:
        `keystorePath` - - path to KeyStore file. KeyStore must be in pkcs12 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.