public class UnknownExtension extends Extension implements java.lang.Cloneable
The general extension structure is defined as (see RFC 4366):
struct { ExtensionType extension_type; opaque extension_data<0..2^16-1>; } Extension;
The extension is identified by its type. The value of the extension is represented as opaque extension data.
An extension is treated as unknown if there does not exist a
registered implementation for the corresponding extension type. When
parsing an extension of unkown type, an instance of this class is
created an initialized with the raw extension data which then can
be retrieved by calling method
.getData
Extension
,
ExtensionList
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a clone of this UnknownExtension.
|
byte[] |
getData()
Gets the raw, uninterpreted data from this unknown
extension.
|
java.lang.String |
toString()
Gets a String representation of the data of this unknown extension.
|
getAllowedProtocolVersions, getExtensionType, getName, getType, setCritical