public abstract class AbstractArray extends AbstractSequence
CVC_VERSION, NEWLINE| Modifier and Type | Method and Description |
|---|---|
protected abstract CVCTagEnum |
getAllowedField()
Returns the allow tag for the subfields.
|
protected CVCTagEnum[] |
getAllowedFields()
Returns tags for all allowed subfields, in the same order as they
appear when DER-encoded
|
protected CVCObject |
getOptionalSubfield(CVCTagEnum tag)
Returns optional subfield (no Exception is thrown).
|
protected List<CVCObject> |
getOrderedSubfields()
Returns a List of ordered subfields
|
protected CVCObject |
getSubfield(CVCTagEnum fieldTag)
Returns a mandatory subfield
|
protected Collection<CVCObject> |
getSubfields()
Returns all added subfields
|
encode, getAsText, getAsText, getDEREncoded, getEncodableFieldsdecodeLength, encodeLength, getAsText, getAsText, getParent, getTag, setParent, toByteArray, toByteArray, trimByteArrayprotected abstract CVCTagEnum getAllowedField()
protected final CVCTagEnum[] getAllowedFields()
AbstractSequencegetAllowedFields in class AbstractSequenceprotected final CVCObject getSubfield(CVCTagEnum fieldTag) throws NoSuchFieldException
AbstractSequenceNoSuchFieldException - if the subfield hasn't been addedprotected final CVCObject getOptionalSubfield(CVCTagEnum tag)
AbstractSequenceprotected Collection<CVCObject> getSubfields()
getSubfields in class AbstractSequenceprotected List<CVCObject> getOrderedSubfields()
AbstractSequencegetOrderedSubfields in class AbstractSequenceCopyright © 2021. All rights reserved.