| 
 | Préférences Moteurs de recherche | ||||||||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0 
javax.net.ssl
 | |||||||||||||||||||||||||||
| Constructor Summary | |
|---|---|
| SSLParameters()Constructs SSLParameters. | |
| SSLParameters(String[] cipherSuites)Constructs SSLParameters from the specified array of ciphersuites. | |
| SSLParameters(String[] cipherSuites,
              String[] protocols)Constructs SSLParameters from the specified array of ciphersuites and protocols. | |
| Method Summary | |
|---|---|
|  String[] | getCipherSuites()Returns a copy of the array of ciphersuites or null if none have been set. | 
|  boolean | getNeedClientAuth()Returns whether client authentication should be required. | 
|  String[] | getProtocols()Returns a copy of the array of protocols or null if none have been set. | 
|  boolean | getWantClientAuth()Returns whether client authentication should be requested. | 
|  void | setCipherSuites(String[] cipherSuites)Sets the array of ciphersuites. | 
|  void | setNeedClientAuth(boolean needClientAuth)Sets whether client authentication should be required. | 
|  void | setProtocols(String[] protocols)Sets the array of protocols. | 
|  void | setWantClientAuth(boolean wantClientAuth)Sets whether client authentication should be requested. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SSLParameters()
The cipherSuites and protocols values are set to null,
 wantClientAuth and needClientAuth are set to false.
public SSLParameters(String[] cipherSuites)
setCipherSuites(cipherSuites);.
cipherSuites - the array of ciphersuites (or null)public SSLParameters(String[] cipherSuites, String[] protocols)
setCipherSuites(cipherSuites); setProtocols(protocols);.
cipherSuites - the array of ciphersuites (or null)protocols - the array of protocols (or null)| Method Detail | 
|---|
public String[] getCipherSuites()
public void setCipherSuites(String[] cipherSuites)
cipherSuites - the array of ciphersuites (or null)public String[] getProtocols()
public void setProtocols(String[] protocols)
protocols - the array of protocols (or null)public boolean getWantClientAuth()
public void setWantClientAuth(boolean wantClientAuth)
needClientAuth flag.
wantClientAuth - whether client authentication should be requestedpublic boolean getNeedClientAuth()
public void setNeedClientAuth(boolean needClientAuth)
wantClientAuth flag.
needClientAuth - whether client authentication should be required