org.bouncycastle.crypto.tls
Class TlsCipherSuiteManager

java.lang.Object
  extended by org.bouncycastle.crypto.tls.TlsCipherSuiteManager

public class TlsCipherSuiteManager
extends java.lang.Object

A manager for ciphersuite. This class does manage all ciphersuites which are used by MicroTLS.


Field Summary
private static int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
           
private static int TLS_DHE_RSA_WITH_AES_128_CBC_SHA
           
private static int TLS_DHE_RSA_WITH_AES_256_CBC_SHA
           
private static int TLS_RSA_WITH_3DES_EDE_CBC_SHA
           
private static int TLS_RSA_WITH_AES_128_CBC_SHA
           
private static int TLS_RSA_WITH_AES_256_CBC_SHA
           
 
Constructor Summary
TlsCipherSuiteManager()
           
 
Method Summary
protected static TlsCipherSuite getCipherSuite(int number, TlsProtocolHandler handler)
           
protected static void writeCipherSuites(java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TLS_RSA_WITH_3DES_EDE_CBC_SHA

private static final int TLS_RSA_WITH_3DES_EDE_CBC_SHA
See Also:
Constant Field Values

TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA

private static final int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
See Also:
Constant Field Values

TLS_RSA_WITH_AES_128_CBC_SHA

private static final int TLS_RSA_WITH_AES_128_CBC_SHA
See Also:
Constant Field Values

TLS_DHE_RSA_WITH_AES_128_CBC_SHA

private static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA
See Also:
Constant Field Values

TLS_RSA_WITH_AES_256_CBC_SHA

private static final int TLS_RSA_WITH_AES_256_CBC_SHA
See Also:
Constant Field Values

TLS_DHE_RSA_WITH_AES_256_CBC_SHA

private static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA
See Also:
Constant Field Values
Constructor Detail

TlsCipherSuiteManager

public TlsCipherSuiteManager()
Method Detail

writeCipherSuites

protected static void writeCipherSuites(java.io.OutputStream os)
                                 throws java.io.IOException
Throws:
java.io.IOException

getCipherSuite

protected static TlsCipherSuite getCipherSuite(int number,
                                               TlsProtocolHandler handler)
                                        throws java.io.IOException
Throws:
java.io.IOException