public abstract class DataHidingPlugin extends OpenStegoPlugin
WatermarkingPlugin
config, PURPOSE_DATA_HIDING, PURPOSE_WATERMARKING
Constructor and Description |
---|
DataHidingPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(byte[] stegoData)
Method to find out whether given stego data can be handled by this plugin or not
|
byte[] |
generateSignature()
Method to generate the signature data.
|
java.util.List |
getPurposes()
Gives the purpose(s) of the plugin.
|
double |
getWatermarkCorrelation(byte[] origSigData,
byte[] watermarkData)
Method to check the correlation between original signature and the extracted watermark.
|
checkMark, createConfig, createConfig, createConfig, embedData, extractData, extractMsgFileName, getConfig, getConfigClass, getDescription, getDiff, getEmbedOptionsUI, getName, getPurposesLabel, getReadableFileExtensions, getUsage, getWritableFileExtensions, populateStdCmdLineOptions
public final java.util.List getPurposes()
getPurposes
in class OpenStegoPlugin
public final byte[] generateSignature() throws OpenStegoException
null
as this class is for data
hiding plugins onlygenerateSignature
in class OpenStegoPlugin
OpenStegoException
public final double getWatermarkCorrelation(byte[] origSigData, byte[] watermarkData) throws OpenStegoException
0.0
as this class is for data hiding plugins onlygetWatermarkCorrelation
in class OpenStegoPlugin
origSigData
- Original signature datawatermarkData
- Extracted watermark dataOpenStegoException
public final boolean canHandle(byte[] stegoData)
canHandle
in class OpenStegoPlugin
stegoData
- Stego data containing the messageCopyright © 2007-2009 Samir Vaidya. All Rights Reserved.