Class SSL

  • All Implemented Interfaces:
    Parameter

    public class SSL
    extends java.lang.Object
    implements Parameter
    • Constructor Summary

      Constructors 
      Constructor Description
      SSL()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(com.solacesystems.jms.SolConnectionFactory cf)  
      java.lang.String getCipherSuites()
      This property specifies a comma separated list of the cipher suites to enable in order of preference.
      java.lang.String getExcludedProtocols()
      This property is used to specify a comma separated list of encryption protocol(s) to exclude from use.
      KeyStore getKeyStore()  
      java.lang.String getPrivateKeyAlias()
      This property specifies which private key in the key store is to be used for the client certificate authentication.
      java.lang.String getPrivateKeyPassword()
      This property specifies the password used to decipher the client certificate private key from the key store.
      java.lang.String getProtocol()
      This property is used to specify a comma separated list of encryption protocol(s) to use.
      java.lang.String getTrustedCommonNameList()
      This property specifies the list of acceptable common names for matching in server certificates.
      KeyStore getTrustStore()
      This property specifies the trust store to use
      java.lang.Boolean getValidateCertificate()
      This property is used to indicate that the API should validate server certificates with certificates in the trust store.
      java.lang.Boolean getValidateCertificateDate()
      This property is used to indicate that the session connection should fail when an expired certificate or a certificate not yet in effect is received.
      void setCipherSuites​(java.lang.String cipherSuites)
      This property specifies a comma separated list of the cipher suites to enable in order of preference.
      void setExcludedProtocols​(java.lang.String excludedProtocols)
      This property is used to specify a comma separated list of encryption protocol(s) to exclude from use.
      void setKeyStore​(KeyStore keyStore)  
      void setPrivateKeyAlias​(java.lang.String privateKeyAlias)
      This property specifies which private key in the key store is to be used for the client certificate authentication.
      void setPrivateKeyPassword​(java.lang.String privateKeyPassword)
      This property specifies the password used to decipher the client certificate private key from the key store.
      void setProtocol​(java.lang.String protocol)
      This property is used to specify a comma separated list of encryption protocol(s) to use.
      void setTrustedCommonNameList​(java.lang.String trustedCommonNameList)
      This property specifies the list of acceptable common names for matching in server certificates.
      void setTrustStore​(KeyStore trustStore)
      This property specifies the trust store to use
      void setValidateCertificate​(java.lang.Boolean validateCertificate)
      This property is used to indicate that the API should validate server certificates with certificates in the trust store.
      void setValidateCertificateDate​(java.lang.Boolean validateCertificateDate)
      This property is used to indicate that the session connection should fail when an expired certificate or a certificate not yet in effect is received.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSL

        public SSL()
    • Method Detail

      • apply

        public void apply​(com.solacesystems.jms.SolConnectionFactory cf)
                   throws java.lang.Exception
        Specified by:
        apply in interface Parameter
        Throws:
        java.lang.Exception
      • getCipherSuites

        public java.lang.String getCipherSuites()
        This property specifies a comma separated list of the cipher suites to enable in order of preference.
      • setCipherSuites

        public void setCipherSuites​(java.lang.String cipherSuites)
        This property specifies a comma separated list of the cipher suites to enable in order of preference.
      • getExcludedProtocols

        public java.lang.String getExcludedProtocols()
        This property is used to specify a comma separated list of encryption protocol(s) to exclude from use.
      • setExcludedProtocols

        public void setExcludedProtocols​(java.lang.String excludedProtocols)
        This property is used to specify a comma separated list of encryption protocol(s) to exclude from use.
      • getKeyStore

        public KeyStore getKeyStore()
      • setKeyStore

        public void setKeyStore​(KeyStore keyStore)
      • getPrivateKeyAlias

        public java.lang.String getPrivateKeyAlias()
        This property specifies which private key in the key store is to be used for the client certificate authentication.
      • setPrivateKeyAlias

        public void setPrivateKeyAlias​(java.lang.String privateKeyAlias)
        This property specifies which private key in the key store is to be used for the client certificate authentication.
      • getPrivateKeyPassword

        public java.lang.String getPrivateKeyPassword()
        This property specifies the password used to decipher the client certificate private key from the key store.
      • setPrivateKeyPassword

        public void setPrivateKeyPassword​(java.lang.String privateKeyPassword)
        This property specifies the password used to decipher the client certificate private key from the key store.
      • getProtocol

        public java.lang.String getProtocol()
        This property is used to specify a comma separated list of encryption protocol(s) to use.
      • setProtocol

        public void setProtocol​(java.lang.String protocol)
        This property is used to specify a comma separated list of encryption protocol(s) to use.
      • getTrustedCommonNameList

        public java.lang.String getTrustedCommonNameList()
        This property specifies the list of acceptable common names for matching in server certificates.
      • setTrustedCommonNameList

        public void setTrustedCommonNameList​(java.lang.String trustedCommonNameList)
        This property specifies the list of acceptable common names for matching in server certificates.
      • getTrustStore

        public KeyStore getTrustStore()
        This property specifies the trust store to use
      • setTrustStore

        public void setTrustStore​(KeyStore trustStore)
        This property specifies the trust store to use
      • getValidateCertificate

        public java.lang.Boolean getValidateCertificate()
        This property is used to indicate that the API should validate server certificates with certificates in the trust store.
      • setValidateCertificate

        public void setValidateCertificate​(java.lang.Boolean validateCertificate)
        This property is used to indicate that the API should validate server certificates with certificates in the trust store.
      • getValidateCertificateDate

        public java.lang.Boolean getValidateCertificateDate()
        This property is used to indicate that the session connection should fail when an expired certificate or a certificate not yet in effect is received.
      • setValidateCertificateDate

        public void setValidateCertificateDate​(java.lang.Boolean validateCertificateDate)
        This property is used to indicate that the session connection should fail when an expired certificate or a certificate not yet in effect is received.