public abstract class DataHidingPlugin extends OpenStegoPlugin
WatermarkingPlugin
OpenStegoPlugin.Purpose
config
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.
|
double |
getHighWatermarkLevel()
Method to get correlation value which above which it can be considered that watermark strength is high
|
double |
getLowWatermarkLevel()
Method to get correlation value which below which it can be considered that watermark strength is low
|
java.util.List<OpenStegoPlugin.Purpose> |
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<OpenStegoPlugin.Purpose> 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 double getHighWatermarkLevel() throws OpenStegoException
getHighWatermarkLevel
in class OpenStegoPlugin
OpenStegoException
public double getLowWatermarkLevel() throws OpenStegoException
getLowWatermarkLevel
in class OpenStegoPlugin
OpenStegoException
public final boolean canHandle(byte[] stegoData)
canHandle
in class OpenStegoPlugin
stegoData
- Stego data containing the messageCopyright © 2007-2019 Samir Vaidya. All Rights Reserved.