public class BerTlv
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<BerTlv> |
theList |
| Constructor and Description |
|---|
BerTlv(BerTag aTag,
byte[] aValue)
Creates primitive TLV
|
BerTlv(BerTag aTag,
java.util.List<BerTlv> aList)
Creates constructed TLV
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
BerTlv |
find(BerTag aTag) |
java.util.List<BerTlv> |
findAll(BerTag aTag) |
byte[] |
getBytesValue() |
java.lang.String |
getHexValue() |
int |
getIntValue() |
BerTag |
getTag() |
java.lang.String |
getTextValue()
Text value with US-ASCII charset
|
java.lang.String |
getTextValue(java.nio.charset.Charset aCharset) |
java.util.List<BerTlv> |
getValues() |
int |
hashCode() |
boolean |
isConstructed() |
boolean |
isPrimitive() |
boolean |
isTag(BerTag aTag) |
java.lang.String |
toString() |
protected final java.util.List<BerTlv> theList
public BerTlv(BerTag aTag, java.util.List<BerTlv> aList)
aTag - tagaList - set of nested TLVspublic BerTlv(BerTag aTag, byte[] aValue)
aTag - tagaValue - value as byte[]public BerTag getTag()
public boolean isPrimitive()
public boolean isConstructed()
public boolean isTag(BerTag aTag)
public java.lang.String getHexValue()
public java.lang.String getTextValue()
public java.lang.String getTextValue(java.nio.charset.Charset aCharset)
public byte[] getBytesValue()
public int getIntValue()
public java.util.List<BerTlv> getValues()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.