public class ByteField extends AbstractDataField
CVC_VERSION, NEWLINE| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns the data.
|
protected byte[] |
getEncoded()
Generates a DER-encoded byte array from this object
|
boolean |
isShowBitLength()
Returns flag for 'showBitLen'
|
void |
setShowBitLength(boolean showBitLength)
Sets flag 'showBitLen'
|
protected String |
valueAsText()
Returns this field's data as text
|
encode, getAsTextdecodeLength, encodeLength, getAsText, getAsText, getAsText, getParent, getTag, setParent, toByteArray, toByteArray, trimByteArraypublic boolean isShowBitLength()
public void setShowBitLength(boolean showBitLength)
showBitLength - - if true then valueAsText() will add an entry showing the length in bitspublic byte[] getData()
protected byte[] getEncoded()
AbstractDataFieldgetEncoded in class AbstractDataFieldprotected String valueAsText()
AbstractDataFieldvalueAsText in class AbstractDataFieldCopyright © 2017. All rights reserved.