public class ChannelBindingType
extends java.lang.Object
implements java.lang.Cloneable
Currently two channel binding types are supported:
TLSUniqueChannelBinding according to RFC 5929
TLSServerEndPointChannelBinding according to RFC 5929
| Constructor and Description |
|---|
ChannelBindingType(int type,
java.lang.String name)
Creates an new ChannelBindingType.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone of this ChannelBindingType.
|
boolean |
equals(java.lang.Object obj)
Compares this ChannelBindingType to the specified object.
|
java.lang.String |
getName()
Gets the channel binding type name.
|
int |
getType()
Gets the channel binding type value.
|
int |
hashCode()
Gets a hashcode of this ChannelBindingType object.
|
java.lang.String |
toString()
Gets a String representation of this ChannelBindingType object.
|
public ChannelBindingType(int type,
java.lang.String name)
type - the channel binding type valuename - the channel binding type namejava.lang.IllegalArgumentException - if the channel binding type value
is out of rangepublic int getType()
public java.lang.String getName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare this ChannelBindingType against.true, if the given object is equal to this
ChannelBindingType,
false otherwisepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object