|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.decoder.DecodedTLV
public class DecodedTLV
Decodes values of ASN.1 types represented in a conceptual Tag - Length - Value (TLV) format under the Distinguished Encoding Rules (DER) of ASN.1.
| Constructor Summary | |
|---|---|
DecodedTLV()
Constructor for DecodedTLV. |
|
DecodedTLV(Tag tag,
int length)
Constructor for DecodedTLV with tag
and length parameters. |
|
DecodedTLV(Tag tag,
int length,
byte[] data)
Constructor for DecodedTLV with tag,
length and data parameters. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Returns the current data value (V). |
int |
getLength()
Returns the current length (L). |
Tag |
getTag()
Returns the current tag (T). |
void |
setData(byte[] data)
Sets the current data value (V) using the provided data. |
java.lang.String |
toString()
Returns a formatted TLV string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DecodedTLV()
DecodedTLV.
public DecodedTLV(Tag tag,
int length)
DecodedTLV with tag
and length parameters.
tag - ASN.1 encoding tag (T)length - ASN.1 encoding length (L)
public DecodedTLV(Tag tag,
int length,
byte[] data)
DecodedTLV with tag,
length and data parameters.
tag - ASN.1 encoding tag (T)length - ASN.1 encoding length (L)data - ASN.1 encoding value (V)| Method Detail |
|---|
public byte[] getData()
public void setData(byte[] data)
public int getLength()
public Tag getTag()
public java.lang.String toString()
toString in class java.lang.Object
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||