Class JsseESTServiceBuilder

java.lang.Object
org.bouncycastle.est.ESTServiceBuilder
org.bouncycastle.est.jcajce.JsseESTServiceBuilder

public class JsseESTServiceBuilder extends ESTServiceBuilder
Build an RFC7030 (EST) service based on the JSSE.
  • Field Details

    • socketFactoryCreator

      protected SSLSocketFactoryCreator socketFactoryCreator
    • hostNameAuthorizer

      protected JsseHostnameAuthorizer hostNameAuthorizer
    • timeoutMillis

      protected int timeoutMillis
    • bindingProvider

      protected ChannelBindingProvider bindingProvider
    • supportedSuites

      protected Set<String> supportedSuites
    • absoluteLimit

      protected Long absoluteLimit
    • sslSocketFactoryCreatorBuilder

      protected org.bouncycastle.est.jcajce.SSLSocketFactoryCreatorBuilder sslSocketFactoryCreatorBuilder
    • filterCipherSuites

      protected boolean filterCipherSuites
  • Constructor Details

    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String hostName, int portNo, SSLSocketFactoryCreator socketFactoryCreator)
      Create a builder for a client using a custom SSLSocketFactoryCreator.
      Parameters:
      hostName - hostName to talk to.
      socketFactoryCreator - a custom creator of socket factories.
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String server, SSLSocketFactoryCreator socketFactoryCreator)
      Create a builder for a client using a custom SSLSocketFactoryCreator.
      Parameters:
      server - name of the server to talk to (URL format).
      socketFactoryCreator - a custom creator of socket factories.
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String server)
      Create a builder for a client talking to a server that is not yet trusted.
      Parameters:
      server - name of the server to talk to (URL format).
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String hostName, int portNo, X509TrustManager trustManager)
      Create a builder for a client talking to a trusted server.
      Parameters:
      hostName - name of the server to talk to.
      portNo - port number to connect on.
      trustManager - trust manager to be used for validating the connection.
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String server, X509TrustManager trustManager)
      Create a builder for a client talking to a trusted server.
      Parameters:
      server - name of the server to talk to (URL format).
      trustManager - trust manager to be used for validating the connection.
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String hostName, int portNo, X509TrustManager[] trustManagers)
      Create a builder for a client talking to a trusted server.
      Parameters:
      hostName - name of the server to talk to.
      portNo - port number to connect on.
      trustManagers - trust managers that can be used for validating the connection.
    • JsseESTServiceBuilder

      public JsseESTServiceBuilder(String server, X509TrustManager[] trustManagers)
      Create a builder for a client talking to a trusted server.
      Parameters:
      server - name of the server to talk to (URL format).
      trustManagers - trust managers that can be used for validating the connection.
  • Method Details