com.ecebs.rtd.enabler.types.itso.ipe
Class IPE
java.lang.Object
com.ecebs.rtd.enabler.types.itso.ipe.IPE
- All Implemented Interfaces:
- Product, Serializable
- Direct Known Subclasses:
- CorruptIPE, EntitlementIPE, Type2, Type22, Type23, Type24, Type27, Type28, Type29, UnsupportedIPE
public abstract class IPE
- extends Object
- implements Product
Represents an ITSO IPE, holding it's fixed frame, FRDG, and VRDG's (if any)
- Author:
- kyleb
- See Also:
- Serialized Form
BYTES_PER_BLOCK
public static final int BYTES_PER_BLOCK
- See Also:
- Constant Field Values
SEAL_LENGTH
public static final int SEAL_LENGTH
- See Also:
- Constant Field Values
DTS_LENGTH
public static final int DTS_LENGTH
- See Also:
- Constant Field Values
isIINPresent
public boolean isIINPresent()
getHeader
public Header getHeader()
getDirEntry
public IPEDirEntry getDirEntry()
- Description copied from interface:
Product
- Get the directory entry associated with the product
- Specified by:
getDirEntry
in interface Product
- Returns:
- Associated directory entry
getVRDGs
public List<VRDG> getVRDGs()
getIIN
public int getIIN()
getIPEInstanceID
public IPEInstanceID getIPEInstanceID()
getSeal
public byte[] getSeal()
getNewestVRDG
public VRDG getNewestVRDG()
getNewestVR
public ValueRecord getNewestVR()
toString
public String toString()
- Overrides:
toString
in class Object
isSupported
public static boolean isSupported(short typ)
getInstance
public static IPE getInstance(IPEDirEntry entry,
List<byte[]> sectors)
throws IndexOutOfBoundsException,
IllegalStateException
- Throws:
IndexOutOfBoundsException
IllegalStateException
Copyright © 2013 Ecebs Ltd. All Rights Reserved.