All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.impl.common.ClassDefinition
java.lang.Object
|
+----com.sun.jaw.impl.common.ClassDefinition
- public class ClassDefinition
- extends Object
- implements Serializable
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.
-
ClassDefinition(String, String, byte[])
- Constructs a class definition for the given class.
-
ClassDefinition(String, String, byte[], byte[], byte[], Certificate)
- Constructs a secure class definition for the given class.
-
getCertificate()
- Returns the certificate used to sign this class.
-
getClassDigest()
- Returns the message digest of the bytecodes of the class.
-
getClassImage()
- Returns the bytecodes that define this class.
-
getClassName()
- Returns the name of the class that this object encapsulates.
-
getClassPath()
- Returns the
CLASSPATH where the class bytecodes were located.
-
getClassVersion()
- Returns the class version string.
-
getDigestSignature()
- Returns the signature of the message digest of the bytecodes of the class.
ClassDefinition
public ClassDefinition(String className,
String classPath,
byte classImage[])
- Constructs a class definition for the given class.
ClassDefinition
public ClassDefinition(String className,
String classPath,
byte classImage[],
byte classDigest[],
byte digestSignature[],
Certificate certificate)
- Constructs a secure class definition for the given class.
getClassName
public String getClassName()
- Returns the name of the class that this object encapsulates.
getClassPath
public String getClassPath()
- Returns the
CLASSPATH where the class bytecodes were located.
getClassImage
public byte[] getClassImage()
- Returns the bytecodes that define this class.
getClassDigest
public byte[] getClassDigest()
- Returns the message digest of the bytecodes of the class.
getDigestSignature
public byte[] getDigestSignature()
- Returns the signature of the message digest of the bytecodes of the class.
getCertificate
public Certificate getCertificate()
- Returns the certificate used to sign this class.
getClassVersion
public String getClassVersion()
- Returns the class version string.
All Packages Class Hierarchy This Package Previous Next Index