public class CVCDiscretionaryDataTemplate extends AbstractSequence
CVC_VERSION, NEWLINE| Constructor and Description |
|---|
CVCDiscretionaryDataTemplate(String oid,
byte[] data)
Constructor taking the individual fields.
|
| Modifier and Type | Method and Description |
|---|---|
protected CVCTagEnum[] |
getAllowedFields()
Returns tags for all allowed subfields, in the same order as they
appear when DER-encoded
|
byte[] |
getExtensionData()
Returns the extension data.
|
String |
getObjectIdentifier()
Returns the Object Identifier as a String
|
encode, getAsText, getAsText, getDEREncoded, getEncodableFields, getOrderedSubfields, getSubfieldsdecodeLength, encodeLength, getAsText, getAsText, getParent, getTag, setParent, toByteArray, toByteArray, trimByteArraypublic CVCDiscretionaryDataTemplate(String oid, byte[] data) throws ConstructionException
oid - Object Identifier representing the extension, as a string.data - Data for the extension.ConstructionExceptionprotected CVCTagEnum[] getAllowedFields()
AbstractSequencegetAllowedFields in class AbstractSequencepublic String getObjectIdentifier() throws NoSuchFieldException
NoSuchFieldExceptionpublic byte[] getExtensionData()
throws NoSuchFieldException
NoSuchFieldExceptionCopyright © 2021. All rights reserved.