public abstract class DataGroup extends AbstractTaggedLDSFile
EF_COM_TAG, EF_DG1_TAG, EF_DG10_TAG, EF_DG11_TAG, EF_DG12_TAG, EF_DG13_TAG, EF_DG14_TAG, EF_DG15_TAG, EF_DG16_TAG, EF_DG2_TAG, EF_DG3_TAG, EF_DG4_TAG, EF_DG5_TAG, EF_DG6_TAG, EF_DG7_TAG, EF_DG8_TAG, EF_DG9_TAG, EF_SOD_TAG
Modifier | Constructor and Description |
---|---|
protected |
DataGroup(int dataGroupTag)
Constructs a data group.
|
protected |
DataGroup(int dataGroupTag,
InputStream inputStream)
Constructs a data group from the DER encoded data in the
given input stream.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncoded()
Gets the contents of this file as byte array,
includes the ICAO tag and length.
|
String |
toString()
Gets a textual representation of this file.
|
getLength, getTag, readContent, readObject, writeContent, writeObject
protected DataGroup(int dataGroupTag)
dataGroupTag
- data group tagprotected DataGroup(int dataGroupTag, InputStream inputStream) throws IOException
dataGroupTag
- data group taginputStream
- an input streamIOException
- on error reading input streampublic String toString()
toString
in class AbstractTaggedLDSFile
public byte[] getEncoded()
getEncoded
in interface LDSElement
Copyright © 2016. All rights reserved.