Skip navigation links
webMethods Broker Administration Java API
Version 10.5.0.0.437 031021
COM.activesw.api.client

Class BrokerSSLConfigV2

Parameters:
newKeystoreType - the type of the keystore file
Throws:
BrokerSSLConfigException - if the keystore type is not valid
Parameters:
newTruststoreType - the type of the truststore file
Throws:
BrokerSSLConfigException - if the truststore type is not valid
  • getCrl

    public java.lang.String getCrl()
    Get the SSL Crl used by this configuration
    Returns:
    the path to the SSL CRL file used by this configuration.
  • setCrl

    public void setCrl(java.lang.String crl)
    Set the SSL Crl used by this configuration. The crl parameter must be the full path to the crl file on the machine where the Broker Server is running.
    Parameters:
    crl - path to crl
  • setCrlType

    public void setCrlType(java.lang.String crlType)
                    throws BrokerSSLConfigException
    Set the crl file type. The type must be:
  • PEM
  • ,
  • DER
  • If the crl type is null, then the default crl type (PEM) is used.

    Parameters:
    crlType - the type of the crl file
    Throws:
    BrokerSSLConfigException - if the crl type is not valid
  • getCipherSuites

    public java.lang.String getCipherSuites()
    Return the current cipher suites specification for this configuration
    Returns:
    the current cipher suites string
  • setCipherSuites

    public void setCipherSuites(java.lang.String newCipherSuites)
    Specify the cipher suites to allow with this configuration.

    The string must be in OpenSSL format but is not checked by the API.

    Parameters:
    newCipherSuites - the cipher suite specification
  • getVerifyDepth

    public int getVerifyDepth()
    Get the number of CA certificates in a verification chain to check. If the certificate chain exceeds this number, then the connection is rejected.
    Returns:
    the current maximum number
  • setVerifyDepth

    public void setVerifyDepth(int newVerifyDepth)
                        throws BrokerSSLConfigException
    Set the maximum number of CA certificates to verify in a certificate chain.

    The default is 9.

    Parameters:
    newVerifyDepth - the max number of certificates to verify
    Throws:
    BrokerSSLConfigException - if the specified number is less than zero
  • equals

    public boolean equals(java.lang.Object sslConfig)
    Overrides:
    equals in class java.lang.Object
  • hashCode

    public int hashCode()
    Overrides:
    hashCode in class java.lang.Object
  • toString

    public java.lang.String toString(int indent_level)
    Convert to a string. The "indent_level" is the number of 4-space indents that the output should be generated for.
webMethods Broker Administration Java API
Version 10.5.0.0.437 031021


Copyright © 2002-2006 webMethods, Inc. Copyright © 2007-2021 Software AG Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.