|
SandMark version 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.Algorithm | +--sandmark.watermark.GeneralWatermarker | +--sandmark.watermark.StaticWatermarker | +--sandmark.watermark.objectwm.ObjectWatermark
Implementing Stern's Algorithm for Robust Object Watermarking
Nested Class Summary | |
(package private) class |
ObjectWatermark.Recognizer
|
Field Summary | |
(package private) static ClassFileCollection |
cfc
|
(package private) static ConfigProperties |
configProps
|
(package private) static java.util.jar.JarOutputStream |
jarOutput
|
(package private) static java.util.Vector |
origVector
|
(package private) static int |
threshold
|
(package private) static java.math.BigInteger |
wmBigInteger
|
(package private) static java.lang.String |
wmString
|
Constructor Summary | |
ObjectWatermark()
|
Method Summary | |
static void |
display_VectorInfo(java.util.Vector vec,
java.lang.String mesg)
|
void |
embed(ClassFileCollection input,
java.util.jar.JarOutputStream output,
java.util.Properties props)
Embed a watermark value into the program. |
java.lang.String |
getAlgHTML()
Get the HTML codes of the About page for ConstantString |
java.lang.String |
getAlgURL()
Get the URL of the Help page for ConstantString |
java.lang.String |
getAuthor()
Specifies the author of this algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the author's email address. |
ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
getDescription()
Specifies what this algorithm does. |
java.lang.String |
getLongName()
Returns this watermarker's long name. |
static ConfigProperties |
getProperties()
Get the GENERAL properties of watermark |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
java.util.Iterator |
recognize(java.util.Properties props)
|
void |
setConfigProperties(ConfigProperties props)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
static void |
setProperties(ConfigProperties props)
Set the GENERAL properties of watermark |
Methods inherited from class sandmark.watermark.StaticWatermarker |
getAboutHTML, getHelpURL |
Methods inherited from class sandmark.Algorithm |
getMutations, getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPrerequisites, getPresuggestions, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static ConfigProperties configProps
static ClassFileCollection cfc
static java.util.Vector origVector
static java.util.jar.JarOutputStream jarOutput
static java.math.BigInteger wmBigInteger
static java.lang.String wmString
static int threshold
Constructor Detail |
public ObjectWatermark()
Method Detail |
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public java.lang.String getLongName()
getLongName
in class Algorithm
public static ConfigProperties getProperties()
GeneralWatermarker
public static void setProperties(ConfigProperties props)
GeneralWatermarker
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public void setConfigProperties(ConfigProperties props)
Algorithm
setConfigProperties
in class Algorithm
props
- the parameters for this run of the algorithmpublic java.lang.String getAlgHTML()
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
getAlgURL
in class Algorithm
public java.lang.String getAuthor()
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
getAuthorEmail
in class Algorithm
public java.lang.String getDescription()
getDescription
in class Algorithm
public static void display_VectorInfo(java.util.Vector vec, java.lang.String mesg)
public void embed(ClassFileCollection input, java.util.jar.JarOutputStream output, java.util.Properties props) throws WatermarkingException, java.io.IOException, java.io.EOFException
StaticWatermarker
embed
in class StaticWatermarker
WatermarkingException
java.io.IOException
java.io.EOFException
public java.util.Iterator recognize(java.util.Properties props) throws WatermarkingException, java.io.IOException
recognize
in class StaticWatermarker
WatermarkingException
java.io.IOException
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |