Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class ProtocolVersion

java.lang.Object
  |
  +--org.bouncycastle.crypto.tls.ProtocolVersion

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public final class ProtocolVersion
extends java.lang.Object


Field Summary
static ProtocolVersion DTLSv10
          Deprecated.  
static ProtocolVersion DTLSv12
          Deprecated.  
static ProtocolVersion SSLv3
          Deprecated.  
static ProtocolVersion TLSv10
          Deprecated.  
static ProtocolVersion TLSv11
          Deprecated.  
static ProtocolVersion TLSv12
          Deprecated.  
 
Method Summary
 boolean equals(java.lang.Object other)
          Deprecated.  
 boolean equals(ProtocolVersion other)
          Deprecated.  
static ProtocolVersion get(int major, int minor)
          Deprecated.  
 ProtocolVersion getEquivalentTLSVersion()
          Deprecated.  
 int getFullVersion()
          Deprecated.  
 int getMajorVersion()
          Deprecated.  
 int getMinorVersion()
          Deprecated.  
 int hashCode()
          Deprecated.  
 boolean isDTLS()
          Deprecated.  
 boolean isEqualOrEarlierVersionOf(ProtocolVersion version)
          Deprecated.  
 boolean isLaterVersionOf(ProtocolVersion version)
          Deprecated.  
 boolean isSSL()
          Deprecated.  
 boolean isTLS()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SSLv3

public static final ProtocolVersion SSLv3
Deprecated. 

TLSv10

public static final ProtocolVersion TLSv10
Deprecated. 

TLSv11

public static final ProtocolVersion TLSv11
Deprecated. 

TLSv12

public static final ProtocolVersion TLSv12
Deprecated. 

DTLSv10

public static final ProtocolVersion DTLSv10
Deprecated. 

DTLSv12

public static final ProtocolVersion DTLSv12
Deprecated. 
Method Detail

getFullVersion

public int getFullVersion()
Deprecated. 

getMajorVersion

public int getMajorVersion()
Deprecated. 

getMinorVersion

public int getMinorVersion()
Deprecated. 

isDTLS

public boolean isDTLS()
Deprecated. 

isSSL

public boolean isSSL()
Deprecated. 

isTLS

public boolean isTLS()
Deprecated. 

getEquivalentTLSVersion

public ProtocolVersion getEquivalentTLSVersion()
Deprecated. 

isEqualOrEarlierVersionOf

public boolean isEqualOrEarlierVersionOf(ProtocolVersion version)
Deprecated. 

isLaterVersionOf

public boolean isLaterVersionOf(ProtocolVersion version)
Deprecated. 

equals

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

equals

public boolean equals(ProtocolVersion other)
Deprecated. 

hashCode

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

get

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

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

Bouncy Castle Cryptography Library 1.64