Class SslConfiguration

    • Constructor Detail

      • SslConfiguration

        public SslConfiguration()
    • Method Detail

      • setCertificate

        public void setCertificate​(String certificate)

        The contents of the certificate's domain.crt file.

        Parameters:
        certificate - The contents of the certificate's domain.crt file.
      • getCertificate

        public String getCertificate()

        The contents of the certificate's domain.crt file.

        Returns:
        The contents of the certificate's domain.crt file.
      • withCertificate

        public SslConfiguration withCertificate​(String certificate)

        The contents of the certificate's domain.crt file.

        Parameters:
        certificate - The contents of the certificate's domain.crt file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrivateKey

        public void setPrivateKey​(String privateKey)

        The private key; the contents of the certificate's domain.kex file.

        Parameters:
        privateKey - The private key; the contents of the certificate's domain.kex file.
      • getPrivateKey

        public String getPrivateKey()

        The private key; the contents of the certificate's domain.kex file.

        Returns:
        The private key; the contents of the certificate's domain.kex file.
      • withPrivateKey

        public SslConfiguration withPrivateKey​(String privateKey)

        The private key; the contents of the certificate's domain.kex file.

        Parameters:
        privateKey - The private key; the contents of the certificate's domain.kex file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChain

        public void setChain​(String chain)

        Optional. Can be used to specify an intermediate certificate authority key or client authentication.

        Parameters:
        chain - Optional. Can be used to specify an intermediate certificate authority key or client authentication.
      • getChain

        public String getChain()

        Optional. Can be used to specify an intermediate certificate authority key or client authentication.

        Returns:
        Optional. Can be used to specify an intermediate certificate authority key or client authentication.
      • withChain

        public SslConfiguration withChain​(String chain)

        Optional. Can be used to specify an intermediate certificate authority key or client authentication.

        Parameters:
        chain - Optional. Can be used to specify an intermediate certificate authority key or client authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object