Bouncy Castle Cryptography Library 1.47

org.bouncycastle.crypto.tls
Class ProtocolVersion

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

public class ProtocolVersion
extends java.lang.Object


Field Summary
static ProtocolVersion SSLv3
           
static ProtocolVersion TLSv10
           
static ProtocolVersion TLSv11
           
static ProtocolVersion TLSv12
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static ProtocolVersion get(int major, int minor)
           
 int getFullVersion()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSLv3

public static final ProtocolVersion SSLv3

TLSv10

public static final ProtocolVersion TLSv10

TLSv11

public static final ProtocolVersion TLSv11

TLSv12

public static final ProtocolVersion TLSv12
Method Detail

getFullVersion

public int getFullVersion()

getMajorVersion

public int getMajorVersion()

getMinorVersion

public int getMinorVersion()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

get

public static ProtocolVersion get(int major,
                                  int minor)
                           throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.47