Class SSLKey


  • public class SSLKey
    extends java.lang.Object
    SSL Key
    • Constructor Summary

      Constructors 
      Constructor Description
      SSLKey()
      Empty constructor
      SSLKey​(java.lang.String keyPath, java.lang.String keyPassword)  
    • Constructor Detail

      • SSLKey

        public SSLKey()
        Empty constructor
      • SSLKey

        public SSLKey​(java.lang.String keyPath,
                      java.lang.String keyPassword)
        Parameters:
        keyPath -
        keyPassword -
        Throws:
        java.lang.IllegalArgumentException - if keyPath/keyPassword is null or empty
    • Method Detail

      • getKeyPath

        public java.lang.String getKeyPath()
        Returns:
        the keyPath
      • setKeyPath

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

        public java.lang.String getKeyPassword()
        Returns:
        the keyPassword
      • setKeyPassword

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