public abstract class AbstractDataField extends CVCObject
CVC_VERSION, NEWLINE| Constructor and Description |
|---|
AbstractDataField(CVCTagEnum pType)
Constructor, must supply the tag
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
encode(DataOutputStream out)
Generates a DER-encoded byte array from this object, including tag and length
|
String |
getAsText(String tab,
boolean showTagNo)
Returns this field as text
|
protected abstract byte[] |
getEncoded()
Generates a DER-encoded byte array from this object
|
protected abstract String |
valueAsText()
Returns this field's data as text
|
decodeLength, encodeLength, getAsText, getAsText, getAsText, getParent, getTag, setParent, toByteArray, toByteArray, trimByteArraypublic AbstractDataField(CVCTagEnum pType)
pType - protected abstract byte[] getEncoded()
protected int encode(DataOutputStream out) throws IOException
encode in class CVCObjectout - to write toIOExceptionprotected abstract String valueAsText()
Copyright © 2017. All rights reserved.