Package org.apache.synapse.securevault.keystore

## Class CACertsLoader

- java.lang.Object
- - org.apache.synapse.securevault.keystore.CACertsLoader

- All Implemented Interfaces:
    `ICACertsLoader`

      public class CACertsLoader
      extends Object
      implements ICACertsLoader

  Constructs a keyStore from CA certificates

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CACertsLoader()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `KeyStore` | `loadTrustStore​(String CACertificateFilesPath)` | Constructs a keyStore from the path provided.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CACertsLoader

          public CACertsLoader()

  - ### Method Detail

    - #### loadTrustStore

          public KeyStore loadTrustStore​(String CACertificateFilesPath)

      Constructs a keyStore from the path provided.
      Specified by:
        `loadTrustStore` in interface `ICACertsLoader`
      Parameters:
        `CACertificateFilesPath` - - directory which contains Certificate Authority Certificates in PEM encoding.
      Returns:
        KeyStore Instance