|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.impl.common.ClassDefinition
ClassDefinition
is used to encapsulate the bytes of
the Java class. Eventually this class will have the means to
also validate and verify that the class has come from a trusted
source and the class has not been changed.
Constructor Summary | |
ClassDefinition(java.lang.String className,
java.lang.String classPath,
byte[] classImage)
Constructs a class definition for the given class. |
|
ClassDefinition(java.lang.String className,
java.lang.String classPath,
byte[] classImage,
byte[] classDigest,
byte[] digestSignature,
byte[] certificate)
Constructs a secure class definition for the given class. |
Method Summary | |
byte[] |
getCertificate()
Returns the certificate used to sign this class. |
byte[] |
getClassDigest()
Returns the message digest of the bytecodes of the class. |
byte[] |
getClassImage()
Returns the bytecodes that define this class. |
java.lang.String |
getClassName()
Returns the name of the class that this object encapsulates. |
java.lang.String |
getClassPath()
Returns the CLASSPATH where the class bytecodes were located. |
java.lang.String |
getClassVersion()
Returns the class version string. |
byte[] |
getDigestSignature()
Returns the signature of the message digest of the bytecodes of the class. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ClassDefinition(java.lang.String className, java.lang.String classPath, byte[] classImage)
public ClassDefinition(java.lang.String className, java.lang.String classPath, byte[] classImage, byte[] classDigest, byte[] digestSignature, byte[] certificate)
Method Detail |
public java.lang.String getClassName()
public java.lang.String getClassPath()
CLASSPATH
where the class bytecodes were located.public byte[] getClassImage()
public byte[] getClassDigest()
public byte[] getDigestSignature()
public byte[] getCertificate()
public java.lang.String getClassVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |