#!/bin/sh

change_cipher_spec=20
alert=21
handshake=22
application_data=23
none=255

TLS_Major=3
TLS_Minor=1

hello_request=0
client_hello=1
server_hello=2
certificate=11
server_key_exchange=12
certificate_request=13
server_hello_done=14
certificate_verify=15
client_key_exchange=16
finished=20

TLS_NULL_WITH_NULL_NULL=0000
TLS_RSA_WITH_NULL_MD5=0001
TLS_RSA_WITH_NULL_SHA=0002
TLS_RSA_EXPORT_WITH_RC4_40_MD5=0003
TLS_RSA_WITH_RC4_128_MD5=0004
TLS_RSA_WITH_RC4_128_SHA=0005
TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5=0006
TLS_RSA_WITH_IDEA_CBC_SHA=0007
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA=0008
TLS_RSA_WITH_DES_CBC_SHA=0009
TLS_RSA_WITH_3DES_EDE_CBC_SHA=000A
TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA=000B
TLS_DH_DSS_WITH_DES_CBC_SHA=000C
TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA=000D
TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA=000E
TLS_DH_RSA_WITH_DES_CBC_SHA=000F
TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA=0010
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA=0011
TLS_DHE_DSS_WITH_DES_CBC_SHA=0012
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA=0013
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA=0014
TLS_DHE_RSA_WITH_DES_CBC_SHA=0015
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA=0016
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5=0017
TLS_DH_anon_WITH_RC4_128_MD5=0018
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA=0019
TLS_DH_anon_WITH_DES_CBC_SHA=001A
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA=001B
     
TLS_RSA_WITH_NULL_MD5=0001 
TLS_RSA_WITH_NULL_SHA=0002 
TLS_RSA_EXPORT_WITH_RC4_40_MD5=0003 
TLS_RSA_WITH_RC4_128_MD5=0004 
TLS_RSA_WITH_RC4_128_SHA=0005 
TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5=0006 
TLS_RSA_WITH_IDEA_CBC_SHA=0007 
TLS_RSA_EXPORT_WITH_DES40_CBC_SHA=0008 
TLS_RSA_WITH_DES_CBC_SHA=0009 
TLS_RSA_WITH_3DES_EDE_CBC_SHA=000A 
TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA=000B 
TLS_DH_DSS_WITH_DES_CBC_SHA=000C 
TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA=000D 
TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA=000E 
TLS_DH_RSA_WITH_DES_CBC_SHA=000F 
TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA=0010 
TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA=0011 
TLS_DHE_DSS_WITH_DES_CBC_SHA=0012 
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA=0013 
TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA=0014 
TLS_DHE_RSA_WITH_DES_CBC_SHA=0015 
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA=0016 
TLS_DH_anon_EXPORT_WITH_RC4_40_MD5=0017 
TLS_DH_anon_WITH_RC4_128_MD5=0018 
TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA=0019 
TLS_DH_anon_WITH_DES_CBC_SHA=001A 
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA=001B 
TLS_RSA_EXPORT1024_WITH_RC4_56_MD5=0060 
TLS_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5=0061 
TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA=0062 
TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA=0063 
TLS_RSA_EXPORT1024_WITH_RC4_56_SHA=0064 
TLS_DHE_DSS_WITH_RC2_56_CBC_SHA=0065 
TLS_DHE_DSS_WITH_RC4_128_SHA=0066 
TLS_DHE_DSS_WITH_NULL_SHA=0067 	
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA=004a
TLS_ECDH_ECDSA_WITH_RC4_128_SHA=0048
TLS_ECDH_ECDSA_WITH_DES_CBC_SHA=0049
