|
SandMark version 3.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 | |
class |
ObjectWatermark.Recognizer
|
Field Summary | |
(package private) static ClassFileCollection |
cfc
|
static java.lang.String |
inputJarFile
|
(package private) static java.util.jar.JarOutputStream |
jarOutput
|
static java.lang.String |
outputJarFile
|
Fields inherited from class sandmark.watermark.StaticWatermarker |
|
Constructor Summary | |
ObjectWatermark()
|
Method Summary | |
void |
embed(ClassFileCollection input,
java.util.jar.JarOutputStream output,
java.util.Properties props)
Embed a watermark value into the program. |
java.lang.String |
getAlgHTML()
Gives a description of what the algorithm does. |
java.lang.String |
getAlgURL()
Get the URL of the Help page for ConstantString |
java.lang.String |
getAuthor()
Specifies the author of the algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the email address author of the algorithm. |
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, briefly. |
java.lang.String |
getLongName()
Returns this watermarker's long name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
RequisiteProperty[] |
getPostprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code after this algorithm is run. |
RequisiteProperty[] |
getPostrequisities()
|
RequisiteProperty[] |
getPostsuggestions()
Specifies a list of properties of algorithms that should be run on the target code after this algorithm is run, but are not necessary. |
RequisiteProperty[] |
getPreprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code before this algorithm is run. |
RequisiteProperty[] |
getPrerequisities()
|
RequisiteProperty[] |
getPresuggestions()
Specifies a list of properties of algorithms that should be run on the target code before this algorithm is run, but are not necessary. |
static ConfigProperties |
getProperties()
Get the GENERAL properties of watermark |
java.lang.String[] |
getReferences()
Specifies any references that discuss the ideas in this algorithm. |
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 properties of ObjectWatermark algorithm |
Methods inherited from class sandmark.watermark.StaticWatermarker |
getAboutHTML, getHelpURL |
Methods inherited from class sandmark.Algorithm |
getPostrequisites, getPrerequisites |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static ClassFileCollection cfc
static java.util.jar.JarOutputStream jarOutput
public static java.lang.String inputJarFile
public static java.lang.String outputJarFile
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 ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
in class Algorithm
public static ConfigProperties getProperties()
GeneralWatermarker
public static void setProperties(ConfigProperties props)
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()
Algorithm
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
getAlgURL
in class Algorithm
public java.lang.String getAuthor()
Algorithm
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail
in class Algorithm
public java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public RequisiteProperty[] getPostprohibited()
Algorithm
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPostprohibited
in class Algorithm
public RequisiteProperty[] getPostrequisities()
public RequisiteProperty[] getPostsuggestions()
Algorithm
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of post-suggestions.
getPostsuggestions
in class Algorithm
public RequisiteProperty[] getPreprohibited()
Algorithm
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPreprohibited
in class Algorithm
public RequisiteProperty[] getPrerequisities()
public RequisiteProperty[] getPresuggestions()
Algorithm
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of pre-suggestions.
getPresuggestions
in class Algorithm
public java.lang.String[] getReferences()
Algorithm
getReferences
in class Algorithm
public void embed(ClassFileCollection input, java.util.jar.JarOutputStream output, java.util.Properties props) throws WatermarkingException
StaticWatermarker
embed
in class StaticWatermarker
WatermarkingException
public java.util.Iterator recognize(java.util.Properties props) throws WatermarkingException
recognize
in class StaticWatermarker
WatermarkingException
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |