Android Open Source - RestLib S S L Context Algorithm






From Project

Back to project page RestLib.

License

The source code is released under:

MIT License

If you think the Android project RestLib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package github.crazymumu.restlib.core;
// w ww.  j  av  a2  s  . c o m
/**
 * The algorithm names in this section can be specified when generating an
 * instance of SSLContext.
 * 
 * @author Crazy MuMu
 */
public interface SSLContextAlgorithm {
  /**
   * Supports some version of SSL; may support other versions.
   */
  public final static String SSL = "SSL";
  
  /**
   * Supports SSL version 2 or later; may support other versions.
   */
  public final static String SSLv2 = "SSLv2";
  
  /**
   * Supports SSL version 3; may support other versions.
   */
  public final static String SSLv3 = "SSLv3";
  
  /**
   * Supports some version of TLS; may support other versions.
   */
  public final static String TLS = "TLS";
  
  /**
   * Supports RFC 2246: TLS version 1.0 ; may support other versions.
   */
  public final static String TLSv1 = "TLSv1";
}




Java Source Code List

github.crazymumu.restlib.RestRequest.java
github.crazymumu.restlib.RestResponse.java
github.crazymumu.restlib.RestResultReceiver.java
github.crazymumu.restlib.RestResult.java
github.crazymumu.restlib.RestService.java
github.crazymumu.restlib.core.CustomSSLSocketFactory.java
github.crazymumu.restlib.core.HttpsClient.java
github.crazymumu.restlib.core.SSLContextAlgorithm.java
github.crazymumu.restlib.http.RequestMethod.java
github.crazymumu.restlib.http.StatusCode.java
github.crazymumu.restlib.http.UserAgent.java
github.crazymumu.restlib.sample.MainActivity.java