Package org.bouncycastle.crypto.tls
Class ProtocolVersion
- java.lang.Object
-
- org.bouncycastle.crypto.tls.ProtocolVersion
-
public final class ProtocolVersion extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description static ProtocolVersionDTLSv10Deprecated.static ProtocolVersionDTLSv12Deprecated.static ProtocolVersionSSLv3Deprecated.static ProtocolVersionTLSv10Deprecated.static ProtocolVersionTLSv11Deprecated.static ProtocolVersionTLSv12Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Deprecated.booleanequals(ProtocolVersion other)Deprecated.static ProtocolVersionget(int major, int minor)Deprecated.ProtocolVersiongetEquivalentTLSVersion()Deprecated.intgetFullVersion()Deprecated.intgetMajorVersion()Deprecated.intgetMinorVersion()Deprecated.inthashCode()Deprecated.booleanisDTLS()Deprecated.booleanisEqualOrEarlierVersionOf(ProtocolVersion version)Deprecated.booleanisLaterVersionOf(ProtocolVersion version)Deprecated.booleanisSSL()Deprecated.booleanisTLS()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
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:
equalsin classjava.lang.Object
-
equals
public boolean equals(ProtocolVersion other)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
get
public static ProtocolVersion get(int major, int minor) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-