B C D E F G H I M N O P R S U W

B

byteToInt(int) - Static method in class net.sourceforge.openstego.DataHeader
Byte to Int converter

C

close() - Method in class net.sourceforge.openstego.StegoOutputStream
Closes the stream

D

DATA_STAMP - Static variable in class net.sourceforge.openstego.DataHeader
Magic string at the start of the header to identify OpenStego embedded data
DataHeader - class net.sourceforge.openstego.DataHeader.
This class holds the header data for the data that needs to be embedded in the image.
DataHeader(int, int, String, OpenStegoConfig) - Constructor for class net.sourceforge.openstego.DataHeader
This constructor should normally be used when writing the data.
DataHeader(InputStream, OpenStegoConfig) - Constructor for class net.sourceforge.openstego.DataHeader
This constructor should be used when reading embedded data from an InputStream.
decrypt(byte[]) - Method in class net.sourceforge.openstego.OpenStegoCrypto
Method to decrypt the data

E

ERR_IMAGE_DATA_READ - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Error while reading image data
embedData(byte[], String, BufferedImage) - Method in class net.sourceforge.openstego.OpenStego
Method to embed the data into an image
embedData(File, File) - Method in class net.sourceforge.openstego.OpenStego
Method to embed the data into an image (alternate API)
encrypt(byte[]) - Method in class net.sourceforge.openstego.OpenStegoCrypto
Method to encrypt the data
extractData(BufferedImage) - Method in class net.sourceforge.openstego.OpenStego
Method to extract the data from an image
extractData(File) - Method in class net.sourceforge.openstego.OpenStego
Method to extract the data from an image (alternate API)

F

flush() - Method in class net.sourceforge.openstego.StegoOutputStream
Flushes the stream

G

generateRandomImage(int) - Method in class net.sourceforge.openstego.OpenStego
Method to generate a random image filled with noise.
getChannelBitsUsed() - Method in class net.sourceforge.openstego.DataHeader
Get Method for channelBitsUsed
getDataHeader() - Method in class net.sourceforge.openstego.StegoInputStream
Get method for dataHeader
getDataLength() - Method in class net.sourceforge.openstego.DataHeader
Get Method for dataLength
getDefaultImageOutputType() - Method in class net.sourceforge.openstego.OpenStegoConfig
Get method for configuration item - defaultImageOutputType
getErrorCode() - Method in class net.sourceforge.openstego.OpenStegoException
Get method for errorCode
getFileName() - Method in class net.sourceforge.openstego.DataHeader
Get Method for fileName
getHeaderData() - Method in class net.sourceforge.openstego.DataHeader
This method generates the header in the form of byte array based on the parameters provided in the constructor.
getHeaderSize() - Method in class net.sourceforge.openstego.DataHeader
Method to get size of the current header
getImage() - Method in class net.sourceforge.openstego.StegoOutputStream
Get the image containing the embedded data.
getMaxBitsUsedPerChannel() - Method in class net.sourceforge.openstego.OpenStegoConfig
Get method for configuration item - maxBitsUsedPerChannel
getMaxHeaderSize() - Static method in class net.sourceforge.openstego.DataHeader
Method to get the maximum possible size of the header
getPassword() - Method in class net.sourceforge.openstego.OpenStegoConfig
Get Method for password
getSupportedReadFormats() - Static method in class net.sourceforge.openstego.OpenStego
Method to get the list of supported image formats for reading
getSupportedWriteFormats() - Static method in class net.sourceforge.openstego.OpenStego
Method to get the list of supported image formats for writing

H

HEADER_VERSION - Static variable in class net.sourceforge.openstego.DataHeader
Header version to distinguish between various versions of data embedding.

I

IMAGE_FILE_INVALID - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Image file invalid
IMAGE_SIZE_INSUFFICIENT - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Image size insufficient for data
IMAGE_TYPE_INVALID - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Image type invalid
INVALID_HEADER_VERSION - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid image header version
INVALID_KEY_NAME - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid key name
INVALID_PASSWORD - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid password
INVALID_STEGO_HEADER - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid stego header data
INVALID_USE_COMPR_VALUE - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid value for useCompression
INVALID_USE_ENCRYPT_VALUE - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Invalid value for useEncryption
isUseCompression() - Method in class net.sourceforge.openstego.OpenStegoConfig
Get method for configuration item - useCompression
isUseEncryption() - Method in class net.sourceforge.openstego.OpenStegoConfig
Get Method for useEncryption

M

MAX_BITS_NOT_IN_RANGE - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - maxBitsUsedPerChannel is not in valid range
MAX_BITS_NOT_NUMBER - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - maxBitsUsedPerChannel is not a number
MAX_BITS_USED_PER_CHANNEL - Static variable in class net.sourceforge.openstego.OpenStegoConfig
Key string for configuration item - maxBitsUsedPerChannel.
main(String[]) - Static method in class net.sourceforge.openstego.OpenStego
Main method for calling openstego from command line.

N

NULL_IMAGE_ARGUMENT - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Null value provided for image
net.sourceforge.openstego - package net.sourceforge.openstego
 

O

OpenStego - class net.sourceforge.openstego.OpenStego.
This is the main class for OpenStego.
OpenStego() - Constructor for class net.sourceforge.openstego.OpenStego
Constructor using the default configuration
OpenStego(OpenStegoConfig) - Constructor for class net.sourceforge.openstego.OpenStego
Constructor using OpenStegoConfig object
OpenStego(Map) - Constructor for class net.sourceforge.openstego.OpenStego
Constructor with configuration data in the form of Map
OpenStegoConfig - class net.sourceforge.openstego.OpenStegoConfig.
Class to store configuration data for OpenStego
OpenStegoConfig() - Constructor for class net.sourceforge.openstego.OpenStegoConfig
Default Constructor (with default values for configuration items)
OpenStegoConfig(Map) - Constructor for class net.sourceforge.openstego.OpenStegoConfig
Constructor with map of configuration data.
OpenStegoCrypto - class net.sourceforge.openstego.OpenStegoCrypto.
This is the class for providing cryptography support to OpenStego.
OpenStegoException - exception net.sourceforge.openstego.OpenStegoException.
Custom exception class for OpenStego
OpenStegoException(int, Throwable) - Constructor for class net.sourceforge.openstego.OpenStegoException
Default constructor
OpenStegoException(int, String, Throwable) - Constructor for class net.sourceforge.openstego.OpenStegoException
Constructor with a single parameter for the message
OpenStegoException(int, Object[], Throwable) - Constructor for class net.sourceforge.openstego.OpenStegoException
Constructor which takes object array for parameters for the message

P

PASSWORD - Static variable in class net.sourceforge.openstego.OpenStegoConfig
Key string for configuration item - password

R

read() - Method in class net.sourceforge.openstego.StegoInputStream
Implementation of InputStream.read() method
readImage(File) - Method in class net.sourceforge.openstego.OpenStego
Method to load the image file

S

StegoInputStream - class net.sourceforge.openstego.StegoInputStream.
InputStream to read embedded data from image file
StegoInputStream(BufferedImage, OpenStegoConfig) - Constructor for class net.sourceforge.openstego.StegoInputStream
Default constructor
StegoOutputStream - class net.sourceforge.openstego.StegoOutputStream.
OutputStream to embed data into image
StegoOutputStream(BufferedImage, int, String, OpenStegoConfig) - Constructor for class net.sourceforge.openstego.StegoOutputStream
Default constructor
setChannelBitsUsed(int) - Method in class net.sourceforge.openstego.DataHeader
Set Method for channelBitsUsed
setMaxBitsUsedPerChannel(int) - Method in class net.sourceforge.openstego.OpenStegoConfig
Set method for configuration item - maxBitsUsedPerChannel
setPassword(String) - Method in class net.sourceforge.openstego.OpenStegoConfig
Set Method for password
setUseCompression(boolean) - Method in class net.sourceforge.openstego.OpenStegoConfig
Set method for configuration item - useCompression
setUseEncryption(boolean) - Method in class net.sourceforge.openstego.OpenStegoConfig
Set Method for useEncryption

U

UNHANDLED_EXCEPTION - Static variable in class net.sourceforge.openstego.OpenStegoException
Error Code - Unhandled exception
USE_COMPRESSION - Static variable in class net.sourceforge.openstego.OpenStegoConfig
Key string for configuration item - useCompression
USE_ENCRYPTION - Static variable in class net.sourceforge.openstego.OpenStegoConfig
Key string for configuration item - useEncryption

W

write(int) - Method in class net.sourceforge.openstego.StegoOutputStream
Implementation of OutputStream.write(int) method
writeImage(BufferedImage, String) - Method in class net.sourceforge.openstego.OpenStego
Method to write the image file

B C D E F G H I M N O P R S U W