com.ecebs.rtd.enabler.types.itso.ipe
Class IPE

java.lang.Object
  extended by 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

Field Summary
static int BYTES_PER_BLOCK
           
static int DTS_LENGTH
           
static int SEAL_LENGTH
           
 
Method Summary
 IPEDirEntry getDirEntry()
          Get the directory entry associated with the product
 Header getHeader()
           
 int getIIN()
           
static IPE getInstance(IPEDirEntry entry, List<byte[]> sectors)
           
 IPEInstanceID getIPEInstanceID()
           
 ValueRecord getNewestVR()
           
 VRDG getNewestVRDG()
           
 byte[] getSeal()
           
 List<VRDG> getVRDGs()
           
 boolean isIINPresent()
           
static boolean isSupported(short typ)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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.