Package org.jmrtd.lds
Class AbstractLDSInfo
- java.lang.Object
-
- org.jmrtd.lds.AbstractLDSInfo
-
- All Implemented Interfaces:
Serializable
,LDSElement
- Direct Known Subclasses:
AbstractListInfo
,MRZInfo
,SecurityInfo
public abstract class AbstractLDSInfo extends Object implements LDSElement
Base class for data structures that are contained in files in the LDS.- Version:
- $Revision: 1751 $
- Author:
- The JMRTD team ([email protected])
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractLDSInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description byte[]
getEncoded()
Returns an encoding of this LDS info.abstract void
writeObject(OutputStream outputStream)
Writes this LDS info to a stream.
-
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
Returns an encoding of this LDS info.- Specified by:
getEncoded
in interfaceLDSElement
- Returns:
- the LDS info encoded as byte array
-
writeObject
public abstract void writeObject(OutputStream outputStream) throws IOException
Writes this LDS info to a stream.- Parameters:
outputStream
- the stream to write to- Throws:
IOException
- on error writing to the stream
-
-