Class KeyStoreInformation

java.lang.Object
org.apache.synapse.securevault.definition.KeyStoreInformation
Direct Known Subclasses:
IdentityKeyStoreInformation, TrustKeyStoreInformation

public abstract class KeyStoreInformation extends Object
Encapsulates the keyStore related information
  • Field Details

    • log

      protected final org.apache.commons.logging.Log log
    • KEY_STORE_CERTIFICATE_FILE_PATH

      public static final String KEY_STORE_CERTIFICATE_FILE_PATH
      See Also:
    • ENABLE_HOST_NAME_VERIFIER

      public static final String ENABLE_HOST_NAME_VERIFIER
      See Also:
  • Constructor Details

    • KeyStoreInformation

      protected KeyStoreInformation()
  • Method Details

    • setStoreType

      public void setStoreType(String storeType)
    • getAlias

      public String getAlias()
    • setAlias

      public void setAlias(String alias)
    • getLocation

      public String getLocation()
    • setLocation

      public void setLocation(String location)
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • setKeyStorePasswordProvider

      public void setKeyStorePasswordProvider(SecretInformation keyStorePasswordProvider)
    • addParameter

      public void addParameter(String name, String value)
    • getParameter

      public String getParameter(String name)
    • getKeyStore

      protected KeyStore getKeyStore()
      Constructs the KeyStore according to the store type
      Returns:
      KeyStore Instance
    • handleException

      protected void handleException(String msg)
    • handleException

      protected void handleException(String msg, Exception e)
    • getKeyStorePasswordProvider

      public SecretInformation getKeyStorePasswordProvider()