public abstract class AbstractSequence extends CVCObject
CVC_VERSION, NEWLINE| Modifier and Type | Method and Description |
|---|---|
int |
encode(DataOutputStream pOut)
Writes this object as a DER-encoded byte array to 'out'
|
protected abstract CVCTagEnum[] |
getAllowedFields()
Returns tags for all allowed subfields, in the same order as they
appear when DER-encoded
|
String |
getAsText(String tab)
Returns this object as text, including tag value
|
String |
getAsText(String tab,
boolean showTagNo)
Creates a textual representation of this object's tag.
|
byte[] |
getDEREncoded()
Helper for creating a DER-encoded byte array.
|
protected List<CVCObject> |
getEncodableFields()
Returns all subfields for DER-encoding
|
protected List<CVCObject> |
getOrderedSubfields()
Returns a List of ordered subfields
|
protected Collection<CVCObject> |
getSubfields()
Returns all added subfields
|
decodeLength, encodeLength, getAsText, getAsText, getParent, getTag, setParent, toByteArray, toByteArray, trimByteArrayprotected abstract CVCTagEnum[] getAllowedFields()
protected Collection<CVCObject> getSubfields()
public int encode(DataOutputStream pOut) throws IOException
CVCObjectencode in class CVCObjectIOExceptionprotected List<CVCObject> getEncodableFields()
public byte[] getDEREncoded()
throws IOException
IOExceptionpublic String getAsText(String tab, boolean showTagNo)
Copyright © 2021. All rights reserved.