java.lang.Object
fr.gouv.vitam.common.external.client.configuration.SSLKey

public class SSLKey extends Object
SSL Key
  • Constructor Details

    • SSLKey

      public SSLKey()
      Empty constructor
    • SSLKey

      public SSLKey(String keyPath, String keyPassword)
      Parameters:
      keyPath -
      keyPassword -
      Throws:
      IllegalArgumentException - if keyPath/keyPassword is null or empty
  • Method Details

    • getKeyPath

      public String getKeyPath()
      Returns:
      the keyPath
    • setKeyPath

      public SSLKey setKeyPath(String keyPath)
      Parameters:
      keyPath - the keyPath to set
      Returns:
      this
      Throws:
      IllegalArgumentException - if keyPath is null or empty
    • getKeyPassword

      public String getKeyPassword()
      Returns:
      the keyPassword
    • setKeyPassword

      public SSLKey setKeyPassword(String keyPassword)
      Parameters:
      keyPassword - the keyPassword to set
      Returns:
      this
      Throws:
      IllegalArgumentException - if keyPassword is null or empty