For the latest news and information visit
The GNU Crypto project
A B C D E F G H I J K L M N O P Q R S T U V W

A

adaptee - Variable in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
Our underlying keypair instance.
adjustParity(byte[], int) - Static method in class gnu.crypto.cipher.TripleDES
Transform a key so it will be parity adjusted.
adjustParity(byte[], int) - Static method in class gnu.crypto.cipher.DES
Adjust the parity for a raw key array.
AES_CIPHER - Static variable in interface gnu.crypto.Registry
AES is synonymous to Rijndael for 128-bit block size only.
AESSpi - class gnu.crypto.jce.cipher.AESSpi.
The implementation of the AES Service Provider Interface (SPI) adapter.
AESSpi() - Constructor for class gnu.crypto.jce.cipher.AESSpi
 
Anubis - class gnu.crypto.cipher.Anubis.
Anubis is a 128-bit block cipher that accepts a variable-length key.
ANUBIS_CIPHER - Static variable in interface gnu.crypto.Registry
 
Anubis() - Constructor for class gnu.crypto.cipher.Anubis
Trivial 0-arguments constructor.
AnubisSpi - class gnu.crypto.jce.cipher.AnubisSpi.
The implementation of the Anubis Service Provider Interface (SPI) adapter.
AnubisSpi() - Constructor for class gnu.crypto.jce.cipher.AnubisSpi
 
APPLICATION - Static variable in class gnu.crypto.jce.params.DERWriter
 
APPLICATION - Static variable in class gnu.crypto.jce.params.DERReader
 
ARCFour - class gnu.crypto.prng.ARCFour.
RC4 is a stream cipher developed by Ron Rivest.
ARCFOUR_KEY_MATERIAL - Static variable in class gnu.crypto.prng.ARCFour
The attributes property name for the key bytes.
ARCFOUR_PRNG - Static variable in interface gnu.crypto.Registry
(Apparently) RC4 keystream PRNG.
ARCFOUR_SBOX_SIZE - Static variable in class gnu.crypto.prng.ARCFour
The size of the internal S-box.
ARCFour() - Constructor for class gnu.crypto.prng.ARCFour
Default 0-arguments constructor.
ARCFourRandomSpi - class gnu.crypto.jce.prng.ARCFourRandomSpi.
Implementation of the Service Provider Interface (SPI) for the ARCFOUR keystream generator.
ARCFourRandomSpi() - Constructor for class gnu.crypto.jce.prng.ARCFourRandomSpi
Default 0-arguments constructor.
ARCFourSpi - class gnu.crypto.jce.cipher.ARCFourSpi.
The Service Provider Interface (SPI) for the ARCFOUR stream cipher.
ARCFourSpi() - Constructor for class gnu.crypto.jce.cipher.ARCFourSpi
 
areEqual(byte[], byte[]) - Static method in class gnu.crypto.util.Util
Returns true if the two designated byte arrays are (a) non-null, (b) of the same length, and (c) contain the same values.
attributes - Variable in class gnu.crypto.jce.cipher.CipherAdapter
Our attributes map.
attributes - Variable in class gnu.crypto.jce.mac.MacAdapter
Our MAC attributes.

B

BaseCipher - class gnu.crypto.cipher.BaseCipher.
A basic abstract class to facilitate implementing symmetric key block ciphers.
BaseCipher(String, int, int) - Constructor for class gnu.crypto.cipher.BaseCipher
Trivial constructor for use by concrete subclasses.
BaseHash - class gnu.crypto.hash.BaseHash.
A base abstract class to facilitate hash implementations.
BaseHash(String, int, int) - Constructor for class gnu.crypto.hash.BaseHash
Trivial constructor for use by concrete subclasses.
BaseMac - class gnu.crypto.mac.BaseMac.
A base abstract class to facilitate MAC (Message Authentication Code) implementations.
BaseMac(String) - Constructor for class gnu.crypto.mac.BaseMac
Trivial constructor for use by concrete subclasses.
BaseMac(String, IMessageDigest) - Constructor for class gnu.crypto.mac.BaseMac
Trivial constructor for use by concrete subclasses.
BaseMode - class gnu.crypto.mode.BaseMode.
A basic abstract class to facilitate implementing block cipher modes of operations.
BaseMode(String, IBlockCipher, int) - Constructor for class gnu.crypto.mode.BaseMode
Trivial constructor for use by concrete subclasses.
BasePad - class gnu.crypto.pad.BasePad.
An abstract class to facilitate implementing padding algorithms.
BasePad(String) - Constructor for class gnu.crypto.pad.BasePad
Trivial constructor for use by concrete subclasses.
BasePRNG - class gnu.crypto.prng.BasePRNG.
An abstract class to facilitate implementing PRNG algorithms.
BasePRNG(String) - Constructor for class gnu.crypto.prng.BasePRNG
Trivial constructor for use by concrete subclasses.
BaseSignature - class gnu.crypto.sig.BaseSignature.
A base abstract class to facilitate implementations of concrete Signatures.
BaseSignature(String, IMessageDigest) - Constructor for class gnu.crypto.sig.BaseSignature
Trivial constructor.
beginMessage() - Method in class gnu.crypto.exp.ust.UST
Signals the start of a new message to process with this UST.
beginMessageWithIndex(BigInteger) - Method in class gnu.crypto.exp.ust.UST
Signals the start of a new message to process with this UST with a designated value.
beginMessageWithIndex(int) - Method in class gnu.crypto.exp.ust.UST
Signals the start of a new message to process with this UST with a designated value.
BLOCK_INDEX_LENGTH - Static variable in class gnu.crypto.prng.ICMGenerator
Property name of ICM's block index length.
BLOCK_SIZE - Static variable in class gnu.crypto.cipher.TripleDES
Triple-DES only operates on 64 bit blocks.
BLOCK_SIZE - Static variable in class gnu.crypto.cipher.DES
DES operates on 64 bit blocks.
BlockCipherParameters - class gnu.crypto.jce.params.BlockCipherParameters.
An implementation of algorithm parameters for the GNU Crypto block ciphers.
BlockCipherParameters() - Constructor for class gnu.crypto.jce.params.BlockCipherParameters
 
BlockCipherParameterSpec - class gnu.crypto.jce.spec.BlockCipherParameterSpec.
Block cipher parameters in GNU Crypto are the cipher's name, its block and key sizes, and an optional initialization vector.
BlockCipherParameterSpec(byte[], int, int) - Constructor for class gnu.crypto.jce.spec.BlockCipherParameterSpec
Create a new parameter specification.
BlockCipherParameterSpec(int, int) - Constructor for class gnu.crypto.jce.spec.BlockCipherParameterSpec
Create a new parameter specification with no IV.
blockLen - Variable in class gnu.crypto.jce.cipher.CipherAdapter
The length of blocks we are processing.
blockSize - Variable in class gnu.crypto.hash.BaseHash
The hash (inner) block size in bytes.
blockSize - Variable in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The cipher's block size, in bytes.
blockSize - Variable in class gnu.crypto.mac.HMac
 
blockSize - Variable in class gnu.crypto.pad.BasePad
The block size, in bytes, for this instance.
blockSize() - Method in class gnu.crypto.hash.BaseHash
 
blockSize() - Method in interface gnu.crypto.hash.IMessageDigest
Returns the algorithm's (inner) block size in bytes.
blockSizes() - Method in class gnu.crypto.cipher.Blowfish
 
blockSizes() - Method in class gnu.crypto.cipher.Twofish
 
blockSizes() - Method in class gnu.crypto.cipher.Square
 
blockSizes() - Method in class gnu.crypto.cipher.TripleDES
 
blockSizes() - Method in class gnu.crypto.cipher.Serpent
 
blockSizes() - Method in class gnu.crypto.cipher.Rijndael
 
blockSizes() - Method in class gnu.crypto.cipher.NullCipher
 
blockSizes() - Method in class gnu.crypto.cipher.Khazad
 
blockSizes() - Method in class gnu.crypto.cipher.DES
 
blockSizes() - Method in interface gnu.crypto.cipher.IBlockCipherSpi
Returns an Iterator over the supported block sizes.
blockSizes() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns an Iterator over the supported block sizes.
blockSizes() - Method in class gnu.crypto.cipher.Anubis
 
blockSizes() - Method in class gnu.crypto.mode.BaseMode
Returns an Iterator over the supported block sizes.
Blowfish - class gnu.crypto.cipher.Blowfish.
Blowfish is a 16-round, 64-bit Feistel cipher designed by Bruce Schneier.
BLOWFISH_CIPHER - Static variable in interface gnu.crypto.Registry
 
Blowfish() - Constructor for class gnu.crypto.cipher.Blowfish
 
BlowfishSpi - class gnu.crypto.jce.cipher.BlowfishSpi.
The implementation of the Blowfish Service Provider Interface (SPI) adapter.
BlowfishSpi() - Constructor for class gnu.crypto.jce.cipher.BlowfishSpi
 
buffer - Variable in class gnu.crypto.hash.BaseHash
Temporary input buffer.
buffer - Variable in class gnu.crypto.prng.BasePRNG
A temporary buffer to serve random bytes.

C

CBC - class gnu.crypto.mode.CBC.
The Cipher Block Chaining mode.
CBC_MODE - Static variable in interface gnu.crypto.Registry
Cipher block chaining mode (NIST).
cbc() - Method in class gnu.crypto.tool.NistMCT
 
CBC(IBlockCipher, int) - Constructor for class gnu.crypto.mode.CBC
Package-private constructor for the factory class.
cbcDecrypt() - Method in class gnu.crypto.tool.NistMCT
 
cbcEncrypt() - Method in class gnu.crypto.tool.NistMCT
 
CFB - class gnu.crypto.mode.CFB.
The cipher feedback mode.
CFB_MODE - Static variable in interface gnu.crypto.Registry
Cipher feedback mode (NIST).
CFB(IBlockCipher, int) - Constructor for class gnu.crypto.mode.CFB
Package-private constructor for the factory class.
cipher - Variable in class gnu.crypto.jce.cipher.CipherAdapter
Our cipher instance.
cipher - Variable in class gnu.crypto.mode.BaseMode
The underlying block cipher implementation.
CIPHER - Static variable in class gnu.crypto.exp.ust.UST
Property name of the keystream underlying cipher.
CIPHER - Static variable in class gnu.crypto.prng.UMacGenerator
The name of the underlying symmetric key block cipher algorithm.
CIPHER - Static variable in class gnu.crypto.prng.ICMGenerator
Property name of underlying block cipher for this ICM generator.
CIPHER_BLOCK_SIZE - Static variable in interface gnu.crypto.cipher.IBlockCipher
Property name of the block size in which to operate a block cipher.
CipherAdapter - class gnu.crypto.jce.cipher.CipherAdapter.
The implementation of a generic Cipher adapter class to wrap GNU Crypto cipher instances.
CipherAdapter(String) - Constructor for class gnu.crypto.jce.cipher.CipherAdapter
Creates a new cipher adapter with the default block size.
CipherAdapter(String, int) - Constructor for class gnu.crypto.jce.cipher.CipherAdapter
Protected constructor to be called by subclasses.
cipherBlockSize - Variable in class gnu.crypto.mode.BaseMode
The block size, in bytes, to operate the underlying block cipher in.
CipherFactory - class gnu.crypto.cipher.CipherFactory.
A Factory to instantiate symmetric block cipher instances.
cipherSpec - Variable in class gnu.crypto.jce.params.BlockCipherParameters
The underlying block cipher specification.
CipherSpeed - class gnu.crypto.tool.CipherSpeed.
A tool to exercise a block cipher in order to measure its performance in terms of encrypted/decrypted bytes per second.
clone() - Method in class gnu.crypto.cipher.Blowfish
 
clone() - Method in class gnu.crypto.cipher.Twofish
 
clone() - Method in class gnu.crypto.cipher.Square
 
clone() - Method in class gnu.crypto.cipher.TripleDES
 
clone() - Method in class gnu.crypto.cipher.Serpent
 
clone() - Method in class gnu.crypto.cipher.Rijndael
 
clone() - Method in class gnu.crypto.cipher.NullCipher
 
clone() - Method in class gnu.crypto.cipher.Khazad
 
clone() - Method in class gnu.crypto.cipher.DES
 
clone() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns a clone of this instance.
clone() - Method in class gnu.crypto.cipher.BaseCipher
 
clone() - Method in class gnu.crypto.cipher.Anubis
 
clone() - Method in class gnu.crypto.hash.MD2
 
clone() - Method in class gnu.crypto.hash.Whirlpool
 
clone() - Method in class gnu.crypto.hash.Sha160
 
clone() - Method in class gnu.crypto.hash.RipeMD160
 
clone() - Method in class gnu.crypto.hash.RipeMD128
 
clone() - Method in class gnu.crypto.hash.MD5
 
clone() - Method in class gnu.crypto.hash.MD4
 
clone() - Method in class gnu.crypto.hash.BaseHash
 
clone() - Method in interface gnu.crypto.hash.IMessageDigest
Returns a clone copy of this instance.
clone() - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
clone() - Method in class gnu.crypto.jce.mac.MacAdapter
 
clone() - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
clone() - Method in class gnu.crypto.mac.UMac32
 
clone() - Method in class gnu.crypto.mac.UHash32
 
clone() - Method in class gnu.crypto.mac.UHash32.L1Hash32
 
clone() - Method in class gnu.crypto.mac.UHash32.L2Hash32
 
clone() - Method in class gnu.crypto.mac.UHash32.L3Hash32
 
clone() - Method in class gnu.crypto.mac.HMac
 
clone() - Method in interface gnu.crypto.mac.IMac
Returns a clone copy of this instance.
clone() - Method in class gnu.crypto.mac.BaseMac
 
clone() - Method in class gnu.crypto.mac.TMMH16
 
clone() - Method in class gnu.crypto.mode.CFB
 
clone() - Method in class gnu.crypto.mode.CBC
 
clone() - Method in class gnu.crypto.mode.OFB
 
clone() - Method in class gnu.crypto.mode.ICM
 
clone() - Method in class gnu.crypto.mode.ECB
 
clone() - Method in class gnu.crypto.mode.CTR
 
clone() - Method in class gnu.crypto.mode.BaseMode
 
clone() - Method in class gnu.crypto.prng.ARCFour
 
clone() - Method in class gnu.crypto.prng.UMacGenerator
 
clone() - Method in class gnu.crypto.prng.MDGenerator
 
clone() - Method in class gnu.crypto.prng.BasePRNG
 
clone() - Method in class gnu.crypto.prng.ICMGenerator
 
clone() - Method in interface gnu.crypto.prng.IRandom
Returns a clone copy of this instance.
clone() - Method in class gnu.crypto.sig.BaseSignature
 
clone() - Method in interface gnu.crypto.sig.ISignature
Returns a clone copy of this instance.
clone() - Method in class gnu.crypto.sig.dss.DSSSignature
 
clone() - Method in class gnu.crypto.sig.rsa.RSAPSSSignature
 
clone() - Method in class gnu.crypto.sig.rsa.EMSA_PSS
 
computeIndices() - Method in class gnu.crypto.tool.Ent
 
CONFIDENTIALITY - Static variable in class gnu.crypto.exp.ust.UST
Property name of the confidentiality protection flag.
CONTEXT_SPECIFIC - Static variable in class gnu.crypto.jce.params.DERWriter
 
CONTEXT_SPECIFIC - Static variable in class gnu.crypto.jce.params.DERReader
 
count - Variable in class gnu.crypto.hash.BaseHash
Number of bytes processed so far.
CTR - class gnu.crypto.mode.CTR.
The implementation of the Counter Mode.
CTR_MODE - Static variable in interface gnu.crypto.Registry
Counter (NIST) mode.
CTR(IBlockCipher, int) - Constructor for class gnu.crypto.mode.CTR
Trivial package-private constructor for use by the Factory class.
currentBlockSize - Variable in class gnu.crypto.cipher.BaseCipher
The current block size, in bytes.
currentBlockSize() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns the currently set block size for this instance.
currentBlockSize() - Method in class gnu.crypto.cipher.BaseCipher
 
currentBlockSize() - Method in class gnu.crypto.mode.BaseMode
 
currentKey - Variable in class gnu.crypto.cipher.BaseCipher
The session key for this instance.

D

decode(byte[], byte[], int, int) - Method in class gnu.crypto.sig.rsa.EMSA_PSS
The decoding operation EMSA-PSS-Decode recovers the message hash from an encoded message EM and compares it to the hash of M.
decodePrivateKey(byte[]) - Method in interface gnu.crypto.sig.IKeyPairCodec
Decodes an instance of an external private key into its native Java representation.
decodePrivateKey(byte[]) - Method in class gnu.crypto.sig.dss.DSSKeyPairRawCodec
 
decodePrivateKey(byte[]) - Method in class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
 
decodePublicKey(byte[]) - Method in interface gnu.crypto.sig.IKeyPairCodec
Decodes an instance of an external public key into its native Java representation.
decodePublicKey(byte[]) - Method in class gnu.crypto.sig.dss.DSSKeyPairRawCodec
 
decodePublicKey(byte[]) - Method in class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
 
decodeSignature(byte[]) - Method in interface gnu.crypto.sig.ISignatureCodec
 
decodeSignature(byte[]) - Method in class gnu.crypto.sig.dss.DSSSignatureRawCodec
 
decodeSignature(byte[]) - Method in class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Blowfish
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Twofish
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Square
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.TripleDES
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Serpent
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Rijndael
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.NullCipher
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Khazad
 
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.DES
 
decrypt(byte[], int, byte[], int, Object, int) - Method in interface gnu.crypto.cipher.IBlockCipherSpi
Decrypts exactly one block of ciphertext.
decrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Anubis
 
decryptBlock(byte[], int, byte[], int) - Method in interface gnu.crypto.cipher.IBlockCipher
Decrypts exactly one block of ciphertext.
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.cipher.BaseCipher
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CFB
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CBC
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.OFB
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.ICM
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.ECB
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CTR
 
decryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.BaseMode
 
DECRYPTION - Static variable in interface gnu.crypto.mode.IMode
Constant indicating the instance is being used for decryption.
defaultBlockSize - Variable in class gnu.crypto.cipher.BaseCipher
The default block size, in bytes.
defaultBlockSize() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns the default value, in bytes, of the algorithm's block size.
defaultBlockSize() - Method in class gnu.crypto.cipher.BaseCipher
 
defaultBlockSize() - Method in class gnu.crypto.mode.BaseMode
Returns the default value, in bytes, of the mode's block size.
defaultKeySize - Variable in class gnu.crypto.cipher.BaseCipher
The default key size, in bytes.
defaultKeySize() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns the default value, in bytes, of the algorithm's key size.
defaultKeySize() - Method in class gnu.crypto.cipher.BaseCipher
 
defaultKeySize() - Method in class gnu.crypto.mode.BaseMode
Returns the default value, in bytes, of the underlying block cipher key size.
DEREncodingException - exception gnu.crypto.jce.params.DEREncodingException.
 
DEREncodingException() - Constructor for class gnu.crypto.jce.params.DEREncodingException
 
DEREncodingException(String) - Constructor for class gnu.crypto.jce.params.DEREncodingException
 
DERReader - class gnu.crypto.jce.params.DERReader.
 
DERReader() - Constructor for class gnu.crypto.jce.params.DERReader
 
DERReader(byte[]) - Constructor for class gnu.crypto.jce.params.DERReader
 
DERWriter - class gnu.crypto.jce.params.DERWriter.
 
DERWriter() - Constructor for class gnu.crypto.jce.params.DERWriter
 
DES - class gnu.crypto.cipher.DES.
The Data Encryption Standard.
DES_CIPHER - Static variable in interface gnu.crypto.Registry
 
DES.Context - class gnu.crypto.cipher.DES.Context.
Simple wrapper class around the session keys.
DES.Context() - Constructor for class gnu.crypto.cipher.DES.Context
Default 0-arguments constructor.
DES() - Constructor for class gnu.crypto.cipher.DES
Default 0-argument constructor.
DESEDE_CIPHER - Static variable in interface gnu.crypto.Registry
TripleDES is also known as DESede.
DESSpi - class gnu.crypto.jce.cipher.DESSpi.
The implementation of the DES Service Provider Interface (SPI) adapter.
DESSpi() - Constructor for class gnu.crypto.jce.cipher.DESSpi
 
digest() - Method in class gnu.crypto.hash.BaseHash
 
digest() - Method in interface gnu.crypto.hash.IMessageDigest
Completes the message digest by performing final operations such as padding and resetting the instance.
digest() - Method in class gnu.crypto.mac.UMac32
 
digest() - Method in class gnu.crypto.mac.UHash32
 
digest() - Method in class gnu.crypto.mac.UHash32.L1Hash32
 
digest() - Method in class gnu.crypto.mac.UHash32.L2Hash32
 
digest() - Method in class gnu.crypto.mac.HMac
 
digest() - Method in interface gnu.crypto.mac.IMac
Completes the MAC by performing final operations such as padding and resetting the instance.
digest() - Method in class gnu.crypto.mac.BaseMac
 
digest() - Method in class gnu.crypto.mac.TMMH16
 
digest(byte[]) - Method in class gnu.crypto.mac.UHash32.L3Hash32
 
digest(IRandom) - Method in class gnu.crypto.mac.TMMH16
Similar to the same method with no arguments, but uses the designated random number generator to compute needed keying material.
dk - Variable in class gnu.crypto.cipher.DES.Context
The decryption key.
doClear(byte[], int, int) - Method in class gnu.crypto.exp.ust.UST
Process the Clear part of the message.
doOpaque(byte[], int, int, byte[], int) - Method in class gnu.crypto.exp.ust.UST
Process the Opaque part of the message.
DSA_KPG - Static variable in interface gnu.crypto.Registry
DSA is synonymous to DSS.
DSA_SIG - Static variable in interface gnu.crypto.Registry
DSA is synonymous to DSS.
DSS_KPG - Static variable in interface gnu.crypto.Registry
 
DSS_PARAMETERS - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
Property name of an optional DSAParameterSpec instance to use for this generator's p, q, and g values.
DSS_SIG - Static variable in interface gnu.crypto.Registry
 
DSSKey - class gnu.crypto.sig.dss.DSSKey.
A base asbtract class for both public and private DSS (Digital Signature Standard) keys.
DSSKey(BigInteger, BigInteger, BigInteger) - Constructor for class gnu.crypto.sig.dss.DSSKey
Trivial protected constructor.
DSSKeyPairGenerator - class gnu.crypto.sig.dss.DSSKeyPairGenerator.
A key-pair generator for asymetric keys to use in conjunction with the DSS (Digital Signature Standard).
DSSKeyPairGenerator() - Constructor for class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
DSSKeyPairGeneratorSpi - class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi.
The implementation of a KeyPairGenerator adapter class to wrap gnu.crypto DSS keypair generator instances.
DSSKeyPairGeneratorSpi() - Constructor for class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi
 
DSSKeyPairRawCodec - class gnu.crypto.sig.dss.DSSKeyPairRawCodec.
An object that implements the IKeyPairCodec operations for the Raw format to use with DSS keypairs.
DSSKeyPairRawCodec() - Constructor for class gnu.crypto.sig.dss.DSSKeyPairRawCodec
 
DSSPrivateKey - class gnu.crypto.sig.dss.DSSPrivateKey.
An object that embodies a DSS (Digital Signature Standard) private key.
DSSPrivateKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class gnu.crypto.sig.dss.DSSPrivateKey
Trivial constructor.
DSSPublicKey - class gnu.crypto.sig.dss.DSSPublicKey.
An object that embodies a DSS (Digital Signature Standard) public key.
DSSPublicKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class gnu.crypto.sig.dss.DSSPublicKey
Trivial constructor.
DSSRawSignatureSpi - class gnu.crypto.jce.sig.DSSRawSignatureSpi.
The implementation of Service Provider Interface (SPI) adapter for the DSS (Digital Signature Standard) signature scheme, encoded and/or decoded in RAW format.
DSSRawSignatureSpi() - Constructor for class gnu.crypto.jce.sig.DSSRawSignatureSpi
 
DSSSignature - class gnu.crypto.sig.dss.DSSSignature.
The DSS (Digital Signature Standard) algorithm makes use of the following parameters: p: A prime modulus, where 2L-1 < p < 2L for 512 <= L <= 1024 and L a multiple of 64.
DSSSignature() - Constructor for class gnu.crypto.sig.dss.DSSSignature
Trivial 0-arguments constructor.
DSSSignatureRawCodec - class gnu.crypto.sig.dss.DSSSignatureRawCodec.
An object that implements the ISignatureCodec operations for the Raw format to use with DSS signatures.
DSSSignatureRawCodec() - Constructor for class gnu.crypto.sig.dss.DSSSignatureRawCodec
 

E

ECB - class gnu.crypto.mode.ECB.
The implementation of the Electronic Codebook mode.
ECB_MODE - Static variable in interface gnu.crypto.Registry
Electronic CodeBook mode.
ECB(IBlockCipher, int) - Constructor for class gnu.crypto.mode.ECB
Trivial package-private constructor for use by the Factory class.
ecbDecrypt() - Method in class gnu.crypto.tool.NistMCT
 
ek - Variable in class gnu.crypto.cipher.DES.Context
The encryption key.
EMSA_PSS - class gnu.crypto.sig.rsa.EMSA_PSS.
An implementation of the EMSA-PSS encoding/decoding scheme.
encode(byte[], int, byte[]) - Method in class gnu.crypto.sig.rsa.EMSA_PSS
The encoding operation EMSA-PSS-Encode computes the hash of a message M using a hash function and maps the result to an encoded message EM of a specified length using a mask generation function.
encodePrivateKey(PrivateKey) - Method in interface gnu.crypto.sig.IKeyPairCodec
Encodes an instance of a private key for storage or transmission purposes.
encodePrivateKey(PrivateKey) - Method in class gnu.crypto.sig.dss.DSSKeyPairRawCodec
Returns the encoded form of the designated DSS (Digital Signature Standard) private key according to the Raw format supported by this library.
encodePrivateKey(PrivateKey) - Method in class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
Returns the encoded form of the designated RSA private key according to the Raw format supported by this library.
encodePublicKey(PublicKey) - Method in interface gnu.crypto.sig.IKeyPairCodec
Encodes an instance of a public key for storage or transmission purposes.
encodePublicKey(PublicKey) - Method in class gnu.crypto.sig.dss.DSSKeyPairRawCodec
Returns the encoded form of the designated DSS (Digital Signature Standard) public key according to the Raw format supported by this library.
encodePublicKey(PublicKey) - Method in class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
Returns the encoded form of the designated RSA public key according to the Raw format supported by this library.
encodeSignature(Object) - Method in interface gnu.crypto.sig.ISignatureCodec
 
encodeSignature(Object) - Method in class gnu.crypto.sig.dss.DSSSignatureRawCodec
Returns the encoded form of the designated DSS (Digital Signature Standard) signature object according to the Raw format supported by this library.
encodeSignature(Object) - Method in class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
Returns the encoded form of the designated RSA-PSS signature object according to the Raw format supported by this library.
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Blowfish
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Twofish
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Square
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.TripleDES
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Serpent
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Rijndael
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.NullCipher
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Khazad
 
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.DES
 
encrypt(byte[], int, byte[], int, Object, int) - Method in interface gnu.crypto.cipher.IBlockCipherSpi
Encrypts exactly one block of plaintext.
encrypt(byte[], int, byte[], int, Object, int) - Method in class gnu.crypto.cipher.Anubis
 
encryptBlock(byte[], int, byte[], int) - Method in interface gnu.crypto.cipher.IBlockCipher
Encrypts exactly one block of plaintext.
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.cipher.BaseCipher
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CFB
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CBC
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.OFB
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.ICM
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.ECB
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.CTR
 
encryptBlock(byte[], int, byte[], int) - Method in class gnu.crypto.mode.BaseMode
 
ENCRYPTION - Static variable in interface gnu.crypto.mode.IMode
Constant indicating the instance is being used for encryption.
endMessage() - Method in class gnu.crypto.exp.ust.UST
Signals the end of the message transformation.
engineDigest() - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineDigest(byte[], int, int) - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineDoFinal() - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineDoFinal(byte[], int, int) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineDoFinal(byte[], int, int) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineDoFinal(byte[], int, int, byte[], int) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineDoFinal(byte[], int, int, byte[], int) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineGenerateSeed(int) - Method in class gnu.crypto.jce.prng.ARCFourRandomSpi
 
engineGenerateSeed(int) - Method in class gnu.crypto.jce.prng.UMacRandomSpi
 
engineGenerateSeed(int) - Method in class gnu.crypto.jce.prng.SecureRandomAdapter
 
engineGenerateSeed(int) - Method in class gnu.crypto.jce.prng.ICMRandomSpi
 
engineGetBlockSize() - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineGetBlockSize() - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineGetDigestLength() - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineGetEncoded() - Method in class gnu.crypto.jce.params.BlockCipherParameters
Return these parameters encoded in ASN.1 (DER).
engineGetEncoded(String) - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineGetIV() - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineGetIV() - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineGetMacLength() - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineGetOutputSize(int) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineGetOutputSize(int) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineGetParameter(String) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineGetParameters() - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineGetParameters() - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineGetParameterSpec(Class) - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineInit(AlgorithmParameterSpec) - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineInit(byte[]) - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineInit(byte[], String) - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.cipher.AESSpi
 
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class gnu.crypto.jce.cipher.AESSpi
 
engineInit(int, Key, SecureRandom) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineInit(int, Key, SecureRandom) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineInit(Key, AlgorithmParameterSpec) - Method in class gnu.crypto.jce.mac.UMac32Spi
 
engineInit(Key, AlgorithmParameterSpec) - Method in class gnu.crypto.jce.mac.TMMH16Spi
 
engineInit(Key, AlgorithmParameterSpec) - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineInitSign(PrivateKey) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineInitSign(PrivateKey, SecureRandom) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineInitVerify(PublicKey) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineNextBytes(byte[]) - Method in class gnu.crypto.jce.prng.ARCFourRandomSpi
 
engineNextBytes(byte[]) - Method in class gnu.crypto.jce.prng.UMacRandomSpi
 
engineNextBytes(byte[]) - Method in class gnu.crypto.jce.prng.SecureRandomAdapter
 
engineNextBytes(byte[]) - Method in class gnu.crypto.jce.prng.ICMRandomSpi
 
engineReset() - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineReset() - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineSetMode(String) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineSetMode(String) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineSetPadding(String) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineSetPadding(String) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineSetParameter(AlgorithmParameterSpec) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineSetParameter(String, Object) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineSetSeed(byte[]) - Method in class gnu.crypto.jce.prng.ARCFourRandomSpi
 
engineSetSeed(byte[]) - Method in class gnu.crypto.jce.prng.UMacRandomSpi
 
engineSetSeed(byte[]) - Method in class gnu.crypto.jce.prng.SecureRandomAdapter
 
engineSetSeed(byte[]) - Method in class gnu.crypto.jce.prng.ICMRandomSpi
 
engineSign() - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineSign(byte[], int, int) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineToString() - Method in class gnu.crypto.jce.params.BlockCipherParameters
 
engineUpdate(byte) - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineUpdate(byte) - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineUpdate(byte) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineUpdate(byte[], int, int) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineUpdate(byte[], int, int) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineUpdate(byte[], int, int) - Method in class gnu.crypto.jce.hash.MessageDigestAdapter
 
engineUpdate(byte[], int, int) - Method in class gnu.crypto.jce.mac.MacAdapter
 
engineUpdate(byte[], int, int) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
engineUpdate(byte[], int, int, byte[], int) - Method in class gnu.crypto.jce.cipher.ARCFourSpi
 
engineUpdate(byte[], int, int, byte[], int) - Method in class gnu.crypto.jce.cipher.CipherAdapter
 
engineVerify(byte[]) - Method in class gnu.crypto.jce.sig.SignatureAdapter
 
Ent - class gnu.crypto.tool.Ent.
This is a Java implementation of Ent (A Pseudorandom Number Sequence Test Program) developed by John Walker) which applies various tests to sequences of bytes generated by the GNU Crypto library pseudo-random number generator implementations.
Ent(IRandom) - Constructor for class gnu.crypto.tool.Ent
 
Ent(String, SecureRandom) - Constructor for class gnu.crypto.tool.Ent
 
equals(Object) - Method in class gnu.crypto.sig.dss.DSSPublicKey
Returns true if the designated object is an instance of DSAPublicKey and has the same DSS (Digital Signature Standard) parameter values as this one.
equals(Object) - Method in class gnu.crypto.sig.dss.DSSPrivateKey
Returns true if the designated object is an instance of DSAPrivateKey and has the same DSS (Digital Signature Standard) parameter values as this one.
equals(Object) - Method in class gnu.crypto.sig.dss.DSSKey
Returns true if the designated object is an instance of DSAKey and has the same DSS (Digital Signature Standard) parameter values as this one.
equals(Object) - Method in class gnu.crypto.sig.rsa.GnuRSAPublicKey
Returns true if the designated object is an instance of this class and has the same DSS (Digital Signature Standard) parameter values as this one.
equals(Object) - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
Returns true if the designated object is an instance of this class and has the same DSS (Digital Signature Standard) parameter values as this one.
equals(Object) - Method in class gnu.crypto.sig.rsa.GnuRSAKey
Returns true if the designated object is an instance of RSAKey and has the same RSA parameter values as this one.

F

fillBlock() - Method in class gnu.crypto.prng.ARCFour
 
fillBlock() - Method in class gnu.crypto.prng.UMacGenerator
 
fillBlock() - Method in class gnu.crypto.prng.MDGenerator
 
fillBlock() - Method in class gnu.crypto.prng.BasePRNG
 
fillBlock() - Method in class gnu.crypto.prng.ICMGenerator
 
fromDigit(char) - Static method in class gnu.crypto.util.Util
Returns a number from 0 to 15 corresponding to the designated hexadecimal digit.

G

g - Variable in class gnu.crypto.sig.dss.DSSKey
g = h(p-1)/q mod p, where h is any integer with 1 < h < p - 1 such that h (p-1)/q mod p > 1 (g has order q mod p ).
G(int, int, int, int, int, byte[], int) - Static method in class gnu.crypto.hash.Sha160
 
generate() - Method in interface gnu.crypto.sig.IKeyPairGenerator
Generates a new keypair based on the attributes used to configure the instance.
generate() - Method in class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
generate() - Method in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
The algorithm used here is described in nessie-pss-B.pdf document which is part of the RSA-PSS submission to NESSIE.
generateKeyPair() - Method in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
 
generateSignature() - Method in class gnu.crypto.sig.BaseSignature
 
generateSignature() - Method in class gnu.crypto.sig.dss.DSSSignature
 
generateSignature() - Method in class gnu.crypto.sig.rsa.RSAPSSSignature
 
getAlgorithm() - Method in class gnu.crypto.sig.dss.DSSKey
 
getAlgorithm() - Method in class gnu.crypto.sig.rsa.GnuRSAKey
 
getBigInteger() - Method in class gnu.crypto.jce.params.DERReader
 
getBlockSize() - Method in class gnu.crypto.jce.spec.BlockCipherParameterSpec
Get the block size of the cipher these parameters are for.
getChiSquare() - Method in class gnu.crypto.tool.Ent
 
getChiSquareProbability() - Method in class gnu.crypto.tool.Ent
 
getCipherNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of symmetric key block cipher algorithms available from this Provider.
getCrtCoefficient() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getDuration() - Method in class gnu.crypto.tool.Ent
 
getEncoded() - Method in class gnu.crypto.sig.dss.DSSPublicKey
Deprecated. see getEncoded(int).
getEncoded() - Method in class gnu.crypto.sig.dss.DSSPrivateKey
Deprecated. see getEncoded(int).
getEncoded() - Method in class gnu.crypto.sig.rsa.GnuRSAPublicKey
Deprecated. see getEncoded(int).
getEncoded() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
Deprecated. see getEncoded(int).
getEncoded(int) - Method in class gnu.crypto.sig.dss.DSSPublicKey
Returns the encoded form of this public key according to the designated format.
getEncoded(int) - Method in class gnu.crypto.sig.dss.DSSPrivateKey
Returns the encoded form of this private key according to the designated format.
getEncoded(int) - Method in class gnu.crypto.sig.rsa.GnuRSAPublicKey
Returns the encoded form of this public key according to the designated format.
getEncoded(int) - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
Returns the encoded form of this private key according to the designated format.
getFormat() - Method in class gnu.crypto.sig.dss.DSSKey
 
getFormat() - Method in class gnu.crypto.sig.rsa.GnuRSAKey
 
getFormatID() - Method in interface gnu.crypto.sig.IKeyPairCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getFormatID() - Method in interface gnu.crypto.sig.ISignatureCodec
 
getFormatID() - Method in class gnu.crypto.sig.dss.DSSSignatureRawCodec
 
getFormatID() - Method in class gnu.crypto.sig.dss.DSSKeyPairRawCodec
 
getFormatID() - Method in class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
 
getFormatID() - Method in class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
 
getInstance(String) - Static method in class gnu.crypto.cipher.CipherFactory
Returns an instance of a block cipher given its name.
getInstance(String) - Static method in class gnu.crypto.hash.HashFactory
Return an instance of a hash algorithm given its name.
getInstance(String) - Static method in class gnu.crypto.mac.MacFactory
Returns an instance of a MAC algorithm given its name.
getInstance(String) - Static method in class gnu.crypto.mac.HMacFactory
Return an instance of a HMAC algorithm given the name of its underlying hash function, prefixed with the literal defined in Registry.HMAC_NAME_PREFIX.
getInstance(String) - Static method in class gnu.crypto.pad.PadFactory
Returns an instance of a padding algorithm given its name.
getInstance(String) - Static method in class gnu.crypto.prng.PRNGFactory
Returns an instance of a padding algorithm given its name.
getInstance(String) - Static method in class gnu.crypto.sig.SignatureFactory
Returns an instance of a signature-with-appendix scheme given its name.
getInstance(String) - Static method in class gnu.crypto.sig.KeyPairGeneratorFactory
Returns an instance of a keypair generator given its name.
getInstance(String) - Static method in class gnu.crypto.sig.rsa.EMSA_PSS
Returns an instance of this object given a designated name of a hash function.
getInstance(String, IBlockCipher, int) - Static method in class gnu.crypto.mode.ModeFactory
 
getInstance(String, String, int) - Static method in class gnu.crypto.mode.ModeFactory
Returns an instance of a block cipher mode of operations given its name and characteristics of the underlying block cipher.
getIV() - Method in class gnu.crypto.jce.spec.BlockCipherParameterSpec
Get the initialization vector for the cipher, or null if there is no IV.
getKeyPairGeneratorNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of keypair generator implementations available from this Provider.
getKeySize() - Method in class gnu.crypto.jce.spec.BlockCipherParameterSpec
Get the key size of the cipher these parameters are for.
getKeystream() - Method in class gnu.crypto.jce.spec.TMMHParameterSpec
Return the key stream this specification was initialized with.
getMacNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of MAC algorithms available from this Provider.
getMean() - Method in class gnu.crypto.tool.Ent
 
getMeanPercentDeviation() - Method in class gnu.crypto.tool.Ent
 
getMessageDigestNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of message digest algorithms available from this Provider.
getModulus() - Method in class gnu.crypto.sig.rsa.GnuRSAKey
 
getN() - Method in class gnu.crypto.sig.rsa.GnuRSAKey
Returns the modulus n.
getNames() - Static method in class gnu.crypto.cipher.CipherFactory
Returns a Set of symmetric key block cipher implementation names supported by this Factory.
getNames() - Static method in class gnu.crypto.hash.HashFactory
Returns a Set of names of hash algorithms supported by this Factory.
getNames() - Static method in class gnu.crypto.mac.MacFactory
Returns a Set of names of MAC algorithms supported by this Factory.
getNames() - Static method in class gnu.crypto.mac.HMacFactory
Returns a Set of names of HMAC algorithms supported by this Factory.
getNames() - Static method in class gnu.crypto.mode.ModeFactory
Returns a Set of names of mode supported by this Factory.
getNames() - Static method in class gnu.crypto.pad.PadFactory
Returns a Set of names of padding algorithms supported by this Factory.
getNames() - Static method in class gnu.crypto.prng.PRNGFactory
Returns a Set of names of padding algorithms supported by this Factory.
getNames() - Static method in class gnu.crypto.sig.SignatureFactory
Returns a Set of signature-with-appendix scheme names supported by this Factory.
getNames() - Static method in class gnu.crypto.sig.KeyPairGeneratorFactory
Returns a Set of keypair generator names supported by this Factory.
getNonce() - Method in class gnu.crypto.jce.spec.UMac32ParameterSpec
Return the nonce material.
getParams() - Method in class gnu.crypto.sig.dss.DSSKey
 
getPi() - Method in class gnu.crypto.tool.Ent
 
getPiPercentDeviation() - Method in class gnu.crypto.tool.Ent
 
getPrefix() - Method in class gnu.crypto.jce.spec.TMMHParameterSpec
Return the prefix, or null if no prefix was specified.
getPrimeExponentP() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getPrimeExponentQ() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getPrimeP() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getPrimeQ() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getPrivateExponent() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getPublicExponent() - Method in class gnu.crypto.sig.rsa.GnuRSAPublicKey
 
getPublicExponent() - Method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
 
getResult() - Method in class gnu.crypto.hash.MD2
 
getResult() - Method in class gnu.crypto.hash.Whirlpool
 
getResult() - Method in class gnu.crypto.hash.Sha160
 
getResult() - Method in class gnu.crypto.hash.RipeMD160
 
getResult() - Method in class gnu.crypto.hash.RipeMD128
 
getResult() - Method in class gnu.crypto.hash.MD5
 
getResult() - Method in class gnu.crypto.hash.MD4
 
getResult() - Method in class gnu.crypto.hash.BaseHash
Constructs the result from the contents of the current context.
getRounds(int, int) - Static method in class gnu.crypto.cipher.Rijndael
Returns the number of rounds for a given Rijndael's key and block sizes.
getSecureRandomNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of secure random implementations available from this Provider.
getSerialCorrelationCoefficient() - Method in class gnu.crypto.tool.Ent
 
getSetBits() - Method in class gnu.crypto.tool.Ent
 
getSignatureNames() - Static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of signature scheme implementations available from this Provider.
getTagLength() - Method in class gnu.crypto.jce.spec.TMMHParameterSpec
Return the tag length this specification was initialized with.
getTotalBits() - Method in class gnu.crypto.tool.Ent
 
getX() - Method in class gnu.crypto.sig.dss.DSSPrivateKey
 
getY() - Method in class gnu.crypto.sig.dss.DSSPublicKey
 
GNU_CRYPTO - Static variable in interface gnu.crypto.Registry
The name of our Provider.
gnu.crypto - package gnu.crypto
 
gnu.crypto.cipher - package gnu.crypto.cipher
 
gnu.crypto.exp.ust - package gnu.crypto.exp.ust
 
gnu.crypto.hash - package gnu.crypto.hash
 
gnu.crypto.jce - package gnu.crypto.jce
 
gnu.crypto.jce.cipher - package gnu.crypto.jce.cipher
 
gnu.crypto.jce.hash - package gnu.crypto.jce.hash
 
gnu.crypto.jce.mac - package gnu.crypto.jce.mac
 
gnu.crypto.jce.params - package gnu.crypto.jce.params
 
gnu.crypto.jce.prng - package gnu.crypto.jce.prng
 
gnu.crypto.jce.sig - package gnu.crypto.jce.sig
 
gnu.crypto.jce.spec - package gnu.crypto.jce.spec
 
gnu.crypto.mac - package gnu.crypto.mac
 
gnu.crypto.mode - package gnu.crypto.mode
 
gnu.crypto.pad - package gnu.crypto.pad
 
gnu.crypto.prng - package gnu.crypto.prng
 
gnu.crypto.sig - package gnu.crypto.sig
 
gnu.crypto.sig.dss - package gnu.crypto.sig.dss
 
gnu.crypto.sig.rsa - package gnu.crypto.sig.rsa
 
gnu.crypto.tool - package gnu.crypto.tool
 
gnu.crypto.util - package gnu.crypto.util
 
GnuCrypto - class gnu.crypto.jce.GnuCrypto.
The GNU Crypto implementation of the Java Cryptographic Extension (JCE) Provider.
GnuCrypto() - Constructor for class gnu.crypto.jce.GnuCrypto
The GNU Crypto Provider.
GnuRSAKey - class gnu.crypto.sig.rsa.GnuRSAKey.
A base asbtract class for both public and private RSA keys.
GnuRSAKey(BigInteger) - Constructor for class gnu.crypto.sig.rsa.GnuRSAKey
Trivial protected constructor.
GnuRSAPrivateKey - class gnu.crypto.sig.rsa.GnuRSAPrivateKey.
An object that embodies an RSA private key.
GnuRSAPrivateKey(BigInteger, BigInteger, BigInteger, BigInteger) - Constructor for class gnu.crypto.sig.rsa.GnuRSAPrivateKey
Trivial constructor.
GnuRSAPublicKey - class gnu.crypto.sig.rsa.GnuRSAPublicKey.
An object that encapsulates an RSA public key.
GnuRSAPublicKey(BigInteger, BigInteger) - Constructor for class gnu.crypto.sig.rsa.GnuRSAPublicKey
Trivial constructor.

H

HashFactory - class gnu.crypto.hash.HashFactory.
A Factory to instantiate message digest algorithm instances.
hashSize - Variable in class gnu.crypto.hash.BaseHash
The hash (output) size in bytes.
hashSize() - Method in class gnu.crypto.hash.BaseHash
 
hashSize() - Method in interface gnu.crypto.hash.IMessageDigest
Returns the output length in bytes of this message digest algorithm.
HashSpeed - class gnu.crypto.tool.HashSpeed.
A tool to exercise a hash in order to measure its performance in terms of number of bytes per second.
hasMorePrimitives() - Method in class gnu.crypto.jce.params.DERReader
 
hasSmallPrimeDivisor(BigInteger) - Static method in class gnu.crypto.util.Prime
Trial division for the first 1000 small primes.
HMac - class gnu.crypto.mac.HMac.
The implementation of the HMAC (Keyed-Hash Message Authentication Code).
HMAC_NAME_PREFIX - Static variable in interface gnu.crypto.Registry
Name prefix of every HMAC implementation.
HMac(IMessageDigest) - Constructor for class gnu.crypto.mac.HMac
Trivial constructor for use by concrete subclasses.
HMacFactory - class gnu.crypto.mac.HMacFactory.
A Factory to instantiate Keyed-Hash Message Authentication Code (HMAC) algorithm instances.
HMacMD2Spi - class gnu.crypto.jce.mac.HMacMD2Spi.
The implementation of the HMAC-MD2 Service Provider Interface (SPI) adapter.
HMacMD2Spi() - Constructor for class gnu.crypto.jce.mac.HMacMD2Spi
 
HMacMD4Spi - class gnu.crypto.jce.mac.HMacMD4Spi.
The implementation of the HMAC-MD4 Service Provider Interface (SPI) adapter.
HMacMD4Spi() - Constructor for class gnu.crypto.jce.mac.HMacMD4Spi
 
HMacMD5Spi - class gnu.crypto.jce.mac.HMacMD5Spi.
The implementation of the HMAC-MD5 Service Provider Interface (SPI) adapter.
HMacMD5Spi() - Constructor for class gnu.crypto.jce.mac.HMacMD5Spi
 
HMacRipeMD128Spi - class gnu.crypto.jce.mac.HMacRipeMD128Spi.
The implementation of the HMAC-RIPEMD-128 Service Provider Interface (SPI) adapter.
HMacRipeMD128Spi() - Constructor for class gnu.crypto.jce.mac.HMacRipeMD128Spi
 
HMacRipeMD160Spi - class gnu.crypto.jce.mac.HMacRipeMD160Spi.
The implementation of the HMAC-RIPEMD-160 Service Provider Interface (SPI) adapter.
HMacRipeMD160Spi() - Constructor for class gnu.crypto.jce.mac.HMacRipeMD160Spi
 
HMacSHA160Spi - class gnu.crypto.jce.mac.HMacSHA160Spi.
The implementation of the HMAC-SHA-160 Service Provider Interface (SPI) adapter.
HMacSHA160Spi() - Constructor for class gnu.crypto.jce.mac.HMacSHA160Spi
 
HMacWhirlpoolSpi - class gnu.crypto.jce.mac.HMacWhirlpoolSpi.
The implementation of the HMAC-Whirlpool Service Provider Interface (SPI) adapter.
HMacWhirlpoolSpi() - Constructor for class gnu.crypto.jce.mac.HMacWhirlpoolSpi
 

I

IBlockCipher - interface gnu.crypto.cipher.IBlockCipher.
The basic visible methods of any symmetric key block cipher.
IBlockCipherSpi - interface gnu.crypto.cipher.IBlockCipherSpi.
Package-private interface exposing mandatory methods to be implemented by concrete BaseCipher sub-classes.
ICM - class gnu.crypto.mode.ICM.
An implementation of David McGrew Integer Counter Mode (ICM) as an IMode.
ICM_MODE - Static variable in interface gnu.crypto.Registry
Integer Counter Mode (David McGrew).
ICM_PRNG - Static variable in interface gnu.crypto.Registry
PRNG based on David McGrew's Integer Counter Mode.
ICM(IBlockCipher, int) - Constructor for class gnu.crypto.mode.ICM
Trivial package-private constructor for use by the Factory class.
ICMGenerator - class gnu.crypto.prng.ICMGenerator.
Counter Mode is a way to define a pseudorandom keystream generator using a block cipher.
ICMGenerator() - Constructor for class gnu.crypto.prng.ICMGenerator
Trivial 0-arguments constructor.
ICMRandomSpi - class gnu.crypto.jce.prng.ICMRandomSpi.
An Adapter class around ICMGenerator to allow using this algorithm as a JCE SecureRandom.
ICMRandomSpi() - Constructor for class gnu.crypto.jce.prng.ICMRandomSpi
 
IKeyPairCodec - interface gnu.crypto.sig.IKeyPairCodec.
The visible methods of an object that knows how to encode and decode cryptographic asymmetric keypairs.
IKeyPairGenerator - interface gnu.crypto.sig.IKeyPairGenerator.
The visible methods of every asymmetric keypair generator.
IMac - interface gnu.crypto.mac.IMac.
The basic visible methods of any MAC (Message Authentication Code) algorithm.
IMessageDigest - interface gnu.crypto.hash.IMessageDigest.
The basic visible methods of any hash algorithm.
IMode - interface gnu.crypto.mode.IMode.
The basic visible methods of any block cipher mode.
INDEX - Static variable in class gnu.crypto.prng.UMacGenerator
Property name of the KDF index value to use in this instance.
INDEX_LENGTH - Static variable in class gnu.crypto.exp.ust.UST
Property name of a UST index_length.
init() - Method in class gnu.crypto.sig.BaseSignature
Initialises the internal fields of this instance.
init(byte[]) - Method in class gnu.crypto.jce.params.DERReader
 
init(byte[], byte[], byte[], byte[]) - Method in class gnu.crypto.mac.UHash32.L1Hash32
 
init(int) - Method in class gnu.crypto.pad.BasePad
 
init(int) - Method in interface gnu.crypto.pad.IPad
Initialises the padding scheme with a designated block size.
init(Map) - Method in interface gnu.crypto.cipher.IBlockCipher
Initialises the algorithm with designated attributes.
init(Map) - Method in class gnu.crypto.cipher.BaseCipher
 
init(Map) - Method in class gnu.crypto.exp.ust.UST
Initialise this instance with the designated set of attributes.
init(Map) - Method in class gnu.crypto.mac.UMac32
Initialising a UMAC instance consists of defining values for the following parameters: Key Material: as the value of the attribute entry keyed by IMac.MAC_KEY_MATERIAL.
init(Map) - Method in class gnu.crypto.mac.UHash32
 
init(Map) - Method in class gnu.crypto.mac.HMac
 
init(Map) - Method in interface gnu.crypto.mac.IMac
Initialises the algorithm with designated attributes.
init(Map) - Method in class gnu.crypto.mac.BaseMac
 
init(Map) - Method in class gnu.crypto.mac.TMMH16
 
init(Map) - Method in class gnu.crypto.mode.BaseMode
 
init(Map) - Method in class gnu.crypto.prng.BasePRNG
 
init(Map) - Method in interface gnu.crypto.prng.IRandom
Initialises the padding scheme with a designated block size, eventually seeding it in preparation for operations.
init(String) - Method in class gnu.crypto.jce.params.DERReader
 
initialised - Variable in class gnu.crypto.prng.BasePRNG
Indicate if this instance has already been initialised or not.
initialize(AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi
 
initialize(AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
 
initialize(AlgorithmParameterSpec, SecureRandom) - Method in class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi
 
initialize(int, SecureRandom) - Method in class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi
 
initialize(int, SecureRandom) - Method in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
 
initialize(int, SecureRandom) - Method in class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi
 
INTEGRITY - Static variable in class gnu.crypto.exp.ust.UST
Property name of the integrity protection flag.
ipad - Variable in class gnu.crypto.mac.HMac
 
IPad - interface gnu.crypto.pad.IPad.
The basic visible methods of any padding algorithm.
ipadHash - Variable in class gnu.crypto.mac.HMac
 
IRandom - interface gnu.crypto.prng.IRandom.
The basic visible methods of any pseudo-random number generator.
ISignature - interface gnu.crypto.sig.ISignature.
The visible methods of every signature-with-appendix scheme.
ISignatureCodec - interface gnu.crypto.sig.ISignatureCodec.
The visible methods of an object that knows how to encode and decode cryptographic signatures.
isInitialised() - Method in class gnu.crypto.prng.BasePRNG
 
isParityAdjusted(byte[], int) - Static method in class gnu.crypto.cipher.TripleDES
Tests if a byte array has already been parity adjusted.
isParityAdjusted(byte[], int) - Static method in class gnu.crypto.cipher.DES
Test if a byte array, which must be at least 8 bytes long, is parity adjusted.
isProbablePrime(BigInteger) - Static method in class gnu.crypto.util.Prime
Calls the method with same name and two arguments using the pre-configured value for DO_MILLER_RABIN.
isProbablePrime(BigInteger, boolean) - Static method in class gnu.crypto.util.Prime
This implementation does not rely solely on the Miller-Rabin strong probabilistic primality test to claim the primality of the designated number.
isSemiWeak(byte[]) - Static method in class gnu.crypto.cipher.DES
Test if a key is a semi-weak key.
isWeak(byte[]) - Static method in class gnu.crypto.cipher.DES
Test if a key is a weak key.
iv - Variable in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The initialization vector.
iv - Variable in class gnu.crypto.mode.BaseMode
The initialisation vector value.
IV - Static variable in interface gnu.crypto.mode.IMode
Property name of the initialisation vector to use, if required, with this instance.

J

joinarrays(byte[], byte[]) - Method in class gnu.crypto.jce.params.DERWriter
 
joinarrays(byte[], byte[], byte[]) - Method in class gnu.crypto.jce.params.DERWriter
 

K

KEY_LEN - Static variable in class gnu.crypto.mac.UMac32
 
KEY_MATERIAL - Static variable in interface gnu.crypto.cipher.IBlockCipher
Property name of the user-supplied key material.
KEY_MATERIAL - Static variable in class gnu.crypto.exp.ust.UST
Property name of the UST user-supplied key material.
KEY_PARAMS_1024 - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
KEY_PARAMS_512 - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
KEY_PARAMS_768 - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
KEY_SIZE - Static variable in class gnu.crypto.cipher.TripleDES
Triple-DES uses 168 bits of a parity-adjusted 192 bit key.
KEY_SIZE - Static variable in class gnu.crypto.cipher.DES
DES uses 56 bits of a 64 bit parity-adjusted key.
keyLen - Variable in class gnu.crypto.jce.cipher.CipherAdapter
The current key size.
KeyPairGeneratorAdapter - class gnu.crypto.jce.sig.KeyPairGeneratorAdapter.
The implementation of a generic KeyPairGenerator adapter class to wrap gnu.crypto keypair generator instances.
KeyPairGeneratorAdapter(String) - Constructor for class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
Trivial protected constructor.
KeyPairGeneratorFactory - class gnu.crypto.sig.KeyPairGeneratorFactory.
A Factory to instantiate asymmetric keypair generators.
keySize - Variable in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The cipher's key size, in bytes.
keySizes() - Method in class gnu.crypto.cipher.Blowfish
 
keySizes() - Method in class gnu.crypto.cipher.Twofish
 
keySizes() - Method in class gnu.crypto.cipher.Square
 
keySizes() - Method in class gnu.crypto.cipher.TripleDES
 
keySizes() - Method in class gnu.crypto.cipher.Serpent
 
keySizes() - Method in class gnu.crypto.cipher.Rijndael
 
keySizes() - Method in class gnu.crypto.cipher.NullCipher
 
keySizes() - Method in class gnu.crypto.cipher.Khazad
 
keySizes() - Method in class gnu.crypto.cipher.DES
 
keySizes() - Method in interface gnu.crypto.cipher.IBlockCipherSpi
Returns an Iterator over the supported key sizes.
keySizes() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns an Iterator over the supported key sizes.
keySizes() - Method in class gnu.crypto.cipher.Anubis
 
keySizes() - Method in class gnu.crypto.mode.BaseMode
Returns an Iterator over the supported underlying block cipher key sizes.
keystream - Variable in class gnu.crypto.jce.spec.TMMHParameterSpec
The keystream.
KEYSTREAM - Static variable in class gnu.crypto.exp.ust.UST
Property name of the keystream generator type to use.
KEYSTREAM - Static variable in class gnu.crypto.mac.TMMH16
 
Khazad - class gnu.crypto.cipher.Khazad.
Khazad is a 64-bit (legacy-level) block cipher that accepts a 128-bit key.
KHAZAD_CIPHER - Static variable in interface gnu.crypto.Registry
 
Khazad() - Constructor for class gnu.crypto.cipher.Khazad
Trivial 0-arguments constructor.
KhazadSpi - class gnu.crypto.jce.cipher.KhazadSpi.
The implementation of the Khazad Service Provider Interface (SPI) adapter.
KhazadSpi() - Constructor for class gnu.crypto.jce.cipher.KhazadSpi
 
KS0 - Static variable in class gnu.crypto.cipher.Blowfish
Initial value of S-box 1.

L

L1_KEY_LEN - Static variable in class gnu.crypto.mac.UMac32
 
l1hash - Variable in class gnu.crypto.mac.UHash32
 
LimitReachedException - exception gnu.crypto.prng.LimitReachedException.
A checked exception that indicates that a pseudo random number generated has reached its theoretical limit in generating random bytes.
LimitReachedException() - Constructor for class gnu.crypto.prng.LimitReachedException
 
lock - Variable in class gnu.crypto.cipher.BaseCipher
The instance lock.
lock - Variable in class gnu.crypto.mode.BaseMode
The instance lock.

M

mac - Variable in class gnu.crypto.jce.mac.MacAdapter
Our MAC instance.
MAC_KEY_MATERIAL - Static variable in interface gnu.crypto.mac.IMac
Property name of the user-supplied key material.
MacAdapter - class gnu.crypto.jce.mac.MacAdapter.
The implementation of a generic Mac adapter class to wrap GNU Crypto MAC instances.
MacAdapter(String) - Constructor for class gnu.crypto.jce.mac.MacAdapter
Creates a new Mac instance for the given name.
MacFactory - class gnu.crypto.mac.MacFactory.
A Factory that instantiates instances of every supported Message Authentication Code algorithms, including all HMAC algorithms.
macSize - Variable in class gnu.crypto.mac.HMac
 
macSize() - Method in class gnu.crypto.mac.UMac32
 
macSize() - Method in class gnu.crypto.mac.UHash32
 
macSize() - Method in interface gnu.crypto.mac.IMac
Returns the output length in bytes of this MAC algorithm.
macSize() - Method in class gnu.crypto.mac.BaseMac
 
macSize() - Method in class gnu.crypto.mac.TMMH16
 
MAGIC_RAW_DSS_PRIVATE_KEY - Static variable in interface gnu.crypto.Registry
 
MAGIC_RAW_DSS_PUBLIC_KEY - Static variable in interface gnu.crypto.Registry
 
MAGIC_RAW_DSS_SIGNATURE - Static variable in interface gnu.crypto.Registry
 
MAGIC_RAW_RSA_PRIVATE_KEY - Static variable in interface gnu.crypto.Registry
 
MAGIC_RAW_RSA_PSS_SIGNATURE - Static variable in interface gnu.crypto.Registry
 
MAGIC_RAW_RSA_PUBLIC_KEY - Static variable in interface gnu.crypto.Registry
 
main(String[]) - Static method in class gnu.crypto.tool.NistMCT
The main entry point for the tool.
main(String[]) - Static method in class gnu.crypto.tool.NistKat
The main entry point for this tool.
main(String[]) - Static method in class gnu.crypto.tool.NessieHashTVEmitter
 
main(String[]) - Static method in class gnu.crypto.tool.NessieCipherTVEmitter
 
main(String[]) - Static method in class gnu.crypto.tool.HashSpeed
Accepts 0, 1 or 2 arguments.
main(String[]) - Static method in class gnu.crypto.tool.Ent
 
main(String[]) - Static method in class gnu.crypto.tool.CipherSpeed
Accepts 0, 1 or 2 arguments.
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Blowfish
 
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Twofish
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Square
 
makeKey(byte[], int) - Method in class gnu.crypto.cipher.TripleDES
 
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Serpent
 
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Rijndael
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[], int) - Method in class gnu.crypto.cipher.NullCipher
 
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Khazad
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[], int) - Method in class gnu.crypto.cipher.DES
 
makeKey(byte[], int) - Method in interface gnu.crypto.cipher.IBlockCipherSpi
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[], int) - Method in class gnu.crypto.cipher.Anubis
Expands a user-supplied key material into a session key for a designated block size.
md - Variable in class gnu.crypto.sig.BaseSignature
The underlying message digest instance for this signature scheme.
MD_NAME - Static variable in class gnu.crypto.prng.MDGenerator
Property name of underlying hash algorithm for this generator.
MD_PRNG - Static variable in interface gnu.crypto.Registry
PRNG based on a designated hash functiopn.
MD2 - class gnu.crypto.hash.MD2.
An implementation of the MD2 message digest algorithm.
MD2_HASH - Static variable in interface gnu.crypto.Registry
 
MD2() - Constructor for class gnu.crypto.hash.MD2
Creates a new MD2 digest ready for use.
MD2RandomSpi - class gnu.crypto.jce.prng.MD2RandomSpi.
The implementation of the MD2-based SecureRandom Service Provider Interface (SPI) adapter.
MD2RandomSpi() - Constructor for class gnu.crypto.jce.prng.MD2RandomSpi
 
MD2Spi - class gnu.crypto.jce.hash.MD2Spi.
The implementation of the MD2 Service Provider Interface (SPI) adapter.
MD2Spi() - Constructor for class gnu.crypto.jce.hash.MD2Spi
Trivial 0-arguments constructor.
MD4 - class gnu.crypto.hash.MD4.
An implementation of Ron Rivest's MD4 message digest algorithm.
MD4_HASH - Static variable in interface gnu.crypto.Registry
 
MD4() - Constructor for class gnu.crypto.hash.MD4
Public constructor.
MD4RandomSpi - class gnu.crypto.jce.prng.MD4RandomSpi.
The implementation of the MD4-based SecureRandom Service Provider Interface (SPI) adapter.
MD4RandomSpi() - Constructor for class gnu.crypto.jce.prng.MD4RandomSpi
 
MD4Spi - class gnu.crypto.jce.hash.MD4Spi.
The implementation of the MD4 Service Provider Interface (SPI) adapter.
MD4Spi() - Constructor for class gnu.crypto.jce.hash.MD4Spi
Trivial 0-arguments constructor.
MD5 - class gnu.crypto.hash.MD5.
The MD5 message-digest algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input.
MD5_HASH - Static variable in interface gnu.crypto.Registry
 
MD5() - Constructor for class gnu.crypto.hash.MD5
Trivial 0-arguments constructor.
MD5RandomSpi - class gnu.crypto.jce.prng.MD5RandomSpi.
The implementation of the MD5-based SecureRandom Service Provider Interface (SPI) adapter.
MD5RandomSpi() - Constructor for class gnu.crypto.jce.prng.MD5RandomSpi
 
MD5Spi - class gnu.crypto.jce.hash.MD5Spi.
The implementation of the MD5 Service Provider Interface (SPI) adapter.
MD5Spi() - Constructor for class gnu.crypto.jce.hash.MD5Spi
 
MDGenerator - class gnu.crypto.prng.MDGenerator.
A simple pseudo-random number generator that relies on a hash algorithm, that (a) starts its operation by hashing a seed, and then (b) continuously re-hashing its output.
MDGenerator() - Constructor for class gnu.crypto.prng.MDGenerator
Trivial 0-arguments constructor.
MessageDigestAdapter - class gnu.crypto.jce.hash.MessageDigestAdapter.
The implementation of a generic MessageDigest adapter class to wrap gnu.crypto hash instances.
MessageDigestAdapter(String) - Constructor for class gnu.crypto.jce.hash.MessageDigestAdapter
Trivial protected constructor.
mode - Variable in class gnu.crypto.jce.cipher.CipherAdapter
Our mode instance.
MODE_BLOCK_SIZE - Static variable in interface gnu.crypto.mode.IMode
Property name of the block size in which to operate this mode.
modeBlockSize - Variable in class gnu.crypto.mode.BaseMode
The block size, in bytes, in which to operate the mode instance.
ModeFactory - class gnu.crypto.mode.ModeFactory.
A Factory to instantiate block cipher modes of operations.
MODULUS_LENGTH - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
Property name of the length (Integer) of the modulus (p) of a DSS key.
MODULUS_LENGTH - Static variable in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
Property name of the length (Integer) of the modulus of an RSA key.

N

name - Variable in class gnu.crypto.cipher.BaseCipher
The canonical name prefix of the cipher.
name - Variable in class gnu.crypto.hash.BaseHash
The canonical name prefix of the hash.
name - Variable in class gnu.crypto.mac.BaseMac
The canonical name prefix of the MAC.
name - Variable in class gnu.crypto.mode.BaseMode
The canonical name prefix of this mode.
name - Variable in class gnu.crypto.pad.BasePad
The canonical name prefix of the padding algorithm.
name - Variable in class gnu.crypto.prng.BasePRNG
The canonical name prefix of the PRNG algorithm.
name() - Method in interface gnu.crypto.cipher.IBlockCipher
Returns the canonical name of this instance.
name() - Method in class gnu.crypto.cipher.BaseCipher
 
name() - Method in class gnu.crypto.hash.BaseHash
 
name() - Method in interface gnu.crypto.hash.IMessageDigest
Returns the canonical name of this algorithm.
name() - Method in interface gnu.crypto.mac.IMac
Returns the canonical name of this algorithm.
name() - Method in class gnu.crypto.mac.BaseMac
 
name() - Method in class gnu.crypto.mode.BaseMode
 
name() - Method in class gnu.crypto.pad.BasePad
 
name() - Method in interface gnu.crypto.pad.IPad
 
name() - Method in class gnu.crypto.prng.BasePRNG
 
name() - Method in interface gnu.crypto.prng.IRandom
Returns the canonical name of this instance.
name() - Method in class gnu.crypto.sig.BaseSignature
 
name() - Method in interface gnu.crypto.sig.ISignature
Returns the canonical name of this signature scheme.
name() - Method in interface gnu.crypto.sig.IKeyPairGenerator
Returns the canonical name of this keypair generator.
name() - Method in class gnu.crypto.sig.dss.DSSKeyPairGenerator
 
name() - Method in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
 
ndx - Variable in class gnu.crypto.prng.BasePRNG
The index into buffer of where the next byte will come from.
NessieCipherTVEmitter - class gnu.crypto.tool.NessieCipherTVEmitter.
A utility class to generate NESSIE test vectors for a designated cipher algorithm and optionally a key size (in bits).
NessieHashTVEmitter - class gnu.crypto.tool.NessieHashTVEmitter.
A utility class to generate NESSIE test vectors for a designated hash algorithm.
nextByte() - Method in class gnu.crypto.prng.BasePRNG
 
nextByte() - Method in interface gnu.crypto.prng.IRandom
Returns the next 8 bits of random data generated from this instance.
nextBytes(byte[]) - Static method in class gnu.crypto.util.PRNG
Completely fills the designated buffer with random data generated by the underlying singleton.
nextBytes(byte[], int, int) - Method in class gnu.crypto.prng.BasePRNG
 
nextBytes(byte[], int, int) - Method in interface gnu.crypto.prng.IRandom
Fills the designated byte array, starting from byte at index offset, for a maximum of length bytes with the output of this generator instance.
nextBytes(byte[], int, int) - Static method in class gnu.crypto.util.PRNG
Fills the designated buffer, starting from byte at position offset with, at most, length bytes of random data generated by the underlying singleton.
nextRandomBytes(byte[]) - Method in class gnu.crypto.sig.BaseSignature
Fills the designated byte array with random data.
NistKat - class gnu.crypto.tool.NistKat.
For a designated symmetric block cipher algorithm, this command generates and exercises Known Answer Tests data for either, or both, Variable Key and Variable Text suites.
NistMCT - class gnu.crypto.tool.NistMCT.
For a designated symmetric block cipher algorithm, this command generates and exercises Monte Carlo Tests data for both Encryption and Decryption in Electronic Codebook (ECB) and Cipher Block Chaining (CBC) modes.
nonce - Variable in class gnu.crypto.jce.spec.UMac32ParameterSpec
The Nonce material.
NONCE_MATERIAL - Static variable in class gnu.crypto.mac.UMac32
Property name of the user-supplied Nonce.
NULL_CIPHER - Static variable in interface gnu.crypto.Registry
 
NullCipher - class gnu.crypto.cipher.NullCipher.
The implementation of a Null block cipher.
NullCipher() - Constructor for class gnu.crypto.cipher.NullCipher
Trivial 0-arguments constructor.
NullCipherSpi - class gnu.crypto.jce.cipher.NullCipherSpi.
The implementation of the Null cipher Service Provider Interface (SPI) adapter.
NullCipherSpi() - Constructor for class gnu.crypto.jce.cipher.NullCipherSpi
 

O

OFB - class gnu.crypto.mode.OFB.
The Output Feedback (OFB) mode is a confidentiality mode that requires a unique IV for every message that is ever encrypted under the given key.
OFB_MODE - Static variable in interface gnu.crypto.Registry
Output Feedback Mode (NIST).
OFB(IBlockCipher, int) - Constructor for class gnu.crypto.mode.OFB
Trivial package-private constructor for use by the Factory class.
OFFSET - Static variable in class gnu.crypto.prng.ICMGenerator
Property name of ICM's offset.
opadHash - Variable in class gnu.crypto.mac.HMac
 
OUTPUT_LEN - Static variable in class gnu.crypto.mac.UMac32
 

P

p - Variable in class gnu.crypto.sig.dss.DSSKey
A prime modulus, where 2L-1 < p < 2L for 512 <= L <= 1024 and L a multiple of 64.
pad - Variable in class gnu.crypto.jce.cipher.CipherAdapter
Our padding instance.
pad(byte[], int, int) - Method in class gnu.crypto.pad.TBC
 
pad(byte[], int, int) - Method in class gnu.crypto.pad.PKCS7
 
pad(byte[], int, int) - Method in class gnu.crypto.pad.BasePad
 
pad(byte[], int, int) - Method in interface gnu.crypto.pad.IPad
Returns the byte sequence that should be appended to the designated input.
padBuffer() - Method in class gnu.crypto.hash.MD2
Generates an array of padding bytes.
padBuffer() - Method in class gnu.crypto.hash.Whirlpool
 
padBuffer() - Method in class gnu.crypto.hash.Sha160
 
padBuffer() - Method in class gnu.crypto.hash.RipeMD160
 
padBuffer() - Method in class gnu.crypto.hash.RipeMD128
 
padBuffer() - Method in class gnu.crypto.hash.MD5
 
padBuffer() - Method in class gnu.crypto.hash.MD4
 
padBuffer() - Method in class gnu.crypto.hash.BaseHash
Returns the byte array to use as padding before completing a hash operation.
PadFactory - class gnu.crypto.pad.PadFactory.
A Factory to instantiate padding schemes.
partBlock - Variable in class gnu.crypto.jce.cipher.CipherAdapter
An incomplete block.
partLen - Variable in class gnu.crypto.jce.cipher.CipherAdapter
The number of bytes in CipherAdapter.partBlock.
passEulerCriterion(BigInteger) - Static method in class gnu.crypto.util.Prime
Java port of Colin Plumb primality test (Euler Criterion) implementation for a base of 2 --from bnlib-1.1 release, function primeTest() in prime.c.
passFermatLittleTheorem(BigInteger) - Static method in class gnu.crypto.util.Prime
Checks Fermat's Little Theorem for base 2; i.e.
passMillerRabin(BigInteger) - Static method in class gnu.crypto.util.Prime
Applies the Miller-Rabin strong probabilistic primality test.
PKCS7 - class gnu.crypto.pad.PKCS7.
The implementation of the PKCS7 padding algorithm.
PKCS7_PAD - Static variable in interface gnu.crypto.Registry
PKCS#7 padding scheme.
PKCS7() - Constructor for class gnu.crypto.pad.PKCS7
Trivial package-private constructor for use by the Factory class.
pos - Variable in class gnu.crypto.jce.params.DERReader
 
prefix - Variable in class gnu.crypto.jce.spec.TMMHParameterSpec
The prefix.
PREFIX - Static variable in class gnu.crypto.mac.TMMH16
 
Prime - class gnu.crypto.util.Prime.
A collection of prime number related utility methods used in this library.
PRIVATE - Static variable in class gnu.crypto.jce.params.DERWriter
 
PRIVATE - Static variable in class gnu.crypto.jce.params.DERReader
 
privateKey - Variable in class gnu.crypto.sig.BaseSignature
The private key to use when generating signatures (signing).
PRNG - class gnu.crypto.util.PRNG.
A useful Singleton hash-based (SHA) pseudo-random number generator used throughout this library.
PRNGFactory - class gnu.crypto.prng.PRNGFactory.
A Factory to instantiate pseudo random number generators.
publicKey - Variable in class gnu.crypto.sig.BaseSignature
The public key to use when verifying signatures.

Q

q - Variable in class gnu.crypto.sig.dss.DSSKey
A prime divisor of p - 1, where 2159 < q < 2160.

R

RAW_ENCODING_ID - Static variable in interface gnu.crypto.Registry
 
RAW_FORMAT - Static variable in interface gnu.crypto.sig.IKeyPairCodec
Constant identifying the Raw encoding format.
RAW_FORMAT - Static variable in interface gnu.crypto.sig.ISignatureCodec
Constant identifying the Raw encoding format.
RC4_PRNG - Static variable in interface gnu.crypto.Registry
We use "rc4" as an alias for "arcfour".
Registry - interface gnu.crypto.Registry.
A placeholder for names and literals used throughout this library.
reset() - Method in interface gnu.crypto.cipher.IBlockCipher
Resets the algorithm instance for re-initialisation and use with other characteristics.
reset() - Method in class gnu.crypto.cipher.BaseCipher
 
reset() - Method in class gnu.crypto.exp.ust.UST
Reset this instance and prepare for processing a new message.
reset() - Method in class gnu.crypto.hash.BaseHash
 
reset() - Method in interface gnu.crypto.hash.IMessageDigest
Resets the current context of this instance clearing any eventually cached intermediary values.
reset() - Method in class gnu.crypto.mac.UMac32
 
reset() - Method in class gnu.crypto.mac.UHash32
 
reset() - Method in class gnu.crypto.mac.UHash32.L1Hash32
 
reset() - Method in class gnu.crypto.mac.UHash32.L2Hash32
 
reset() - Method in class gnu.crypto.mac.HMac
 
reset() - Method in interface gnu.crypto.mac.IMac
Resets the algorithm instance for re-initialisation and use with other characteristics.
reset() - Method in class gnu.crypto.mac.BaseMac
 
reset() - Method in class gnu.crypto.mac.TMMH16
 
reset() - Method in class gnu.crypto.mode.BaseMode
 
reset() - Method in class gnu.crypto.pad.BasePad
 
reset() - Method in interface gnu.crypto.pad.IPad
Resets the scheme instance for re-initialisation and use with other characteristics.
resetContext() - Method in class gnu.crypto.hash.MD2
 
resetContext() - Method in class gnu.crypto.hash.Whirlpool
 
resetContext() - Method in class gnu.crypto.hash.Sha160
 
resetContext() - Method in class gnu.crypto.hash.RipeMD160
 
resetContext() - Method in class gnu.crypto.hash.RipeMD128
 
resetContext() - Method in class gnu.crypto.hash.MD5
 
resetContext() - Method in class gnu.crypto.hash.MD4
 
resetContext() - Method in class gnu.crypto.hash.BaseHash
Resets the instance for future re-use.
Rijndael - class gnu.crypto.cipher.Rijndael.
Rijndael --pronounced Reindaal-- is the AES.
RIJNDAEL_CIPHER - Static variable in interface gnu.crypto.Registry
 
Rijndael() - Constructor for class gnu.crypto.cipher.Rijndael
Trivial 0-arguments constructor.
RijndaelSpi - class gnu.crypto.jce.cipher.RijndaelSpi.
The implementation of the Rijndael Service Provider Interface (SPI) adapter.
RijndaelSpi() - Constructor for class gnu.crypto.jce.cipher.RijndaelSpi
 
RIPEMD_128_HASH - Static variable in interface gnu.crypto.Registry
RIPEMD-128 is synonymous to RIPEMD128.
RIPEMD_160_HASH - Static variable in interface gnu.crypto.Registry
RIPEMD-160 is synonymous to RIPEMD160.
RipeMD128 - class gnu.crypto.hash.RipeMD128.
RIPEMD-128 is a 128-bit message digest.
RIPEMD128_HASH - Static variable in interface gnu.crypto.Registry
 
RipeMD128() - Constructor for class gnu.crypto.hash.RipeMD128
Trivial 0-arguments constructor.
RipeMD128RandomSpi - class gnu.crypto.jce.prng.RipeMD128RandomSpi.
The implementation of the RIPEMD128-based SecureRandom Service Provider Interface (SPI) adapter.
RipeMD128RandomSpi() - Constructor for class gnu.crypto.jce.prng.RipeMD128RandomSpi
 
RipeMD128Spi - class gnu.crypto.jce.hash.RipeMD128Spi.
The implementation of the RIPEMD-128 Service Provider Interface (SPI) adapter.
RipeMD128Spi() - Constructor for class gnu.crypto.jce.hash.RipeMD128Spi
 
RipeMD160 - class gnu.crypto.hash.RipeMD160.
RIPEMD-160 is a 160-bit message digest.
RIPEMD160_HASH - Static variable in interface gnu.crypto.Registry
 
RipeMD160() - Constructor for class gnu.crypto.hash.RipeMD160
Trivial 0-arguments constructor.
RipeMD160RandomSpi - class gnu.crypto.jce.prng.RipeMD160RandomSpi.
The implementation of the RIPEMD160-based SecureRandom Service Provider Interface (SPI) adapter.
RipeMD160RandomSpi() - Constructor for class gnu.crypto.jce.prng.RipeMD160RandomSpi
 
RipeMD160Spi - class gnu.crypto.jce.hash.RipeMD160Spi.
The implementation of the RIPEMD-160 Service Provider Interface (SPI) adapter.
RipeMD160Spi() - Constructor for class gnu.crypto.jce.hash.RipeMD160Spi
 
RSA - class gnu.crypto.sig.rsa.RSA.
Utility methods related to the RSA algorithm.
RSA_KPG - Static variable in interface gnu.crypto.Registry
 
RSA_PARAMETERS - Static variable in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
Property name of an optional RSAKeyGenParameterSpec instance to use for this generator's n, and e values.
RSA_PSS_SIG - Static variable in interface gnu.crypto.Registry
 
RSAKeyPairGenerator - class gnu.crypto.sig.rsa.RSAKeyPairGenerator.
A key-pair generator for asymetric keys to use in conjunction with the RSA scheme.
RSAKeyPairGenerator() - Constructor for class gnu.crypto.sig.rsa.RSAKeyPairGenerator
 
RSAKeyPairGeneratorSpi - class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi.
The implementation of a KeyPairGenerator adapter class to wrap gnu.crypto RSA keypair generator instances.
RSAKeyPairGeneratorSpi() - Constructor for class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi
 
RSAKeyPairRawCodec - class gnu.crypto.sig.rsa.RSAKeyPairRawCodec.
An object that implements the IKeyPairCodec interface for the Raw format to use with RSA keypairs.
RSAKeyPairRawCodec() - Constructor for class gnu.crypto.sig.rsa.RSAKeyPairRawCodec
 
RSAPSSRawSignatureSpi - class gnu.crypto.jce.sig.RSAPSSRawSignatureSpi.
The implementation of Service Provider Interface (SPI) adapter for the RSA-PSS signature scheme, encoded and/or decoded in RAW format.
RSAPSSRawSignatureSpi() - Constructor for class gnu.crypto.jce.sig.RSAPSSRawSignatureSpi
 
RSAPSSSignature - class gnu.crypto.sig.rsa.RSAPSSSignature.
The RSA-PSS signature scheme is a public-key encryption scheme combining the RSA algorithm with the Probabilistic Signature Scheme (PSS) encoding method.
RSAPSSSignature() - Constructor for class gnu.crypto.sig.rsa.RSAPSSSignature
Default 0-arguments constructor.
RSAPSSSignature(String) - Constructor for class gnu.crypto.sig.rsa.RSAPSSSignature
Constructs an instance of this object using the designated message digest algorithm as its underlying hash function, and having 0-octet salt.
RSAPSSSignature(String, int) - Constructor for class gnu.crypto.sig.rsa.RSAPSSSignature
Constructs an instance of this object using the designated message digest algorithm as its underlying hash function.
RSAPSSSignatureRawCodec - class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec.
An object that implements the ISignatureCodec operations for the Raw format to use with RSA-PSS signatures.
RSAPSSSignatureRawCodec() - Constructor for class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
 

S

schemeName - Variable in class gnu.crypto.sig.BaseSignature
The canonical name of this signature scheme.
SecureRandomAdapter - class gnu.crypto.jce.prng.SecureRandomAdapter.
The implementation of a generic SecureRandom adapter class to wrap gnu.crypto prng instances based on Message Digest algorithms.
SecureRandomAdapter(String) - Constructor for class gnu.crypto.jce.prng.SecureRandomAdapter
Trivial protected constructor.
SEEED - Static variable in class gnu.crypto.prng.MDGenerator
Property name of seed material.
SEGMENT_INDEX - Static variable in class gnu.crypto.prng.ICMGenerator
Property name of ICM's segment index.
SEGMENT_INDEX_LENGTH - Static variable in class gnu.crypto.prng.ICMGenerator
Property name of ICM's segment index length.
selfTest() - Method in class gnu.crypto.cipher.Blowfish
 
selfTest() - Method in class gnu.crypto.cipher.Twofish
 
selfTest() - Method in class gnu.crypto.cipher.Square
 
selfTest() - Method in class gnu.crypto.cipher.Serpent
 
selfTest() - Method in class gnu.crypto.cipher.Rijndael
 
selfTest() - Method in class gnu.crypto.cipher.NullCipher
 
selfTest() - Method in class gnu.crypto.cipher.Khazad
 
selfTest() - Method in interface gnu.crypto.cipher.IBlockCipherSpi
A correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes, as well as one (1) variable key Known Answer Test (KAT).
selfTest() - Method in interface gnu.crypto.cipher.IBlockCipher
A correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes, as well as one (1) variable key Known Answer Test (KAT).
selfTest() - Method in class gnu.crypto.cipher.BaseCipher
 
selfTest() - Method in class gnu.crypto.cipher.Anubis
 
selfTest() - Method in class gnu.crypto.exp.ust.UST
 
selfTest() - Method in class gnu.crypto.hash.MD2
 
selfTest() - Method in class gnu.crypto.hash.Whirlpool
 
selfTest() - Method in class gnu.crypto.hash.Sha160
 
selfTest() - Method in class gnu.crypto.hash.RipeMD160
 
selfTest() - Method in class gnu.crypto.hash.RipeMD128
 
selfTest() - Method in class gnu.crypto.hash.MD5
 
selfTest() - Method in class gnu.crypto.hash.MD4
 
selfTest() - Method in class gnu.crypto.hash.BaseHash
 
selfTest() - Method in interface gnu.crypto.hash.IMessageDigest
A basic test.
selfTest() - Method in class gnu.crypto.mac.UMac32
 
selfTest() - Method in class gnu.crypto.mac.UHash32
 
selfTest() - Method in class gnu.crypto.mac.HMac
 
selfTest() - Method in interface gnu.crypto.mac.IMac
A basic test.
selfTest() - Method in class gnu.crypto.mac.BaseMac
 
selfTest() - Method in class gnu.crypto.mac.TMMH16
 
selfTest() - Method in class gnu.crypto.mode.BaseMode
 
selfTest() - Method in class gnu.crypto.pad.BasePad
 
selfTest() - Method in interface gnu.crypto.pad.IPad
A basic symmetric pad/unpad test.
Serpent - class gnu.crypto.cipher.Serpent.
Serpent is a 32-round substitution-permutation network block cipher, operating on 128-bit blocks and accepting keys of 128, 192, and 256 bits in length.
SERPENT_CIPHER - Static variable in interface gnu.crypto.Registry
 
Serpent() - Constructor for class gnu.crypto.cipher.Serpent
Trivial zero-argument constructor.
SerpentSpi - class gnu.crypto.jce.cipher.SerpentSpi.
The implementation of the Serpent Service Provider Interface (SPI) adapter.
SerpentSpi() - Constructor for class gnu.crypto.jce.cipher.SerpentSpi
 
setup() - Method in class gnu.crypto.mode.CFB
 
setup() - Method in class gnu.crypto.mode.CBC
 
setup() - Method in class gnu.crypto.mode.OFB
 
setup() - Method in class gnu.crypto.mode.ICM
 
setup() - Method in class gnu.crypto.mode.ECB
 
setup() - Method in class gnu.crypto.mode.CTR
 
setup() - Method in class gnu.crypto.mode.BaseMode
The initialisation phase of the concrete mode implementation.
setup() - Method in class gnu.crypto.pad.TBC
 
setup() - Method in class gnu.crypto.pad.PKCS7
 
setup() - Method in class gnu.crypto.pad.BasePad
 
setup(Map) - Method in class gnu.crypto.prng.ARCFour
 
setup(Map) - Method in class gnu.crypto.prng.UMacGenerator
 
setup(Map) - Method in class gnu.crypto.prng.MDGenerator
 
setup(Map) - Method in class gnu.crypto.prng.BasePRNG
 
setup(Map) - Method in class gnu.crypto.prng.ICMGenerator
 
setup(Map) - Method in interface gnu.crypto.sig.IKeyPairGenerator
[Re]-initialises this instance for use with a given set of attributes.
setup(Map) - Method in class gnu.crypto.sig.dss.DSSKeyPairGenerator
Configures this instance.
setup(Map) - Method in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
Configures this instance.
setupForSigning(PrivateKey) - Method in class gnu.crypto.sig.BaseSignature
 
setupForSigning(PrivateKey) - Method in class gnu.crypto.sig.dss.DSSSignature
 
setupForSigning(PrivateKey) - Method in class gnu.crypto.sig.rsa.RSAPSSSignature
 
setupForVerification(PublicKey) - Method in class gnu.crypto.sig.BaseSignature
 
setupForVerification(PublicKey) - Method in class gnu.crypto.sig.dss.DSSSignature
 
setupForVerification(PublicKey) - Method in class gnu.crypto.sig.rsa.RSAPSSSignature
 
setupSign(Map) - Method in class gnu.crypto.sig.BaseSignature
 
setupSign(Map) - Method in interface gnu.crypto.sig.ISignature
Initialises this instance for signature generation.
setupVerify(Map) - Method in class gnu.crypto.sig.BaseSignature
 
setupVerify(Map) - Method in interface gnu.crypto.sig.ISignature
Initialises this instance for signature verification.
SHA_1_HASH - Static variable in interface gnu.crypto.Registry
SHA-1 is synonymous to SHA-160.
SHA_HASH - Static variable in interface gnu.crypto.Registry
SHA is synonymous to SHA-160.
SHA1_HASH - Static variable in interface gnu.crypto.Registry
SHA1 is synonymous to SHA-160.
Sha160 - class gnu.crypto.hash.Sha160.
The Secure Hash Algorithm (SHA-1) is required for use with the Digital Signature Algorithm (DSA) as specified in the Digital Signature Standard (DSS) and whenever a secure hash algorithm is required for federal applications.
SHA160_HASH - Static variable in interface gnu.crypto.Registry
 
Sha160() - Constructor for class gnu.crypto.hash.Sha160
Trivial 0-arguments constructor.
Sha160RandomSpi - class gnu.crypto.jce.prng.Sha160RandomSpi.
The implementation of the SHA1-based SecureRandom Service Provider Interface (SPI) adapter.
Sha160RandomSpi() - Constructor for class gnu.crypto.jce.prng.Sha160RandomSpi
 
Sha160Spi - class gnu.crypto.jce.hash.Sha160Spi.
The implementation of the SHA-1 (160-bit) Service Provider Interface (SPI) adapter.
Sha160Spi() - Constructor for class gnu.crypto.jce.hash.Sha160Spi
 
sign() - Method in class gnu.crypto.sig.BaseSignature
 
sign() - Method in interface gnu.crypto.sig.ISignature
Terminates a signature generation phase by digesting and processing the context of the underlying message digest algorithm instance.
sign(PrivateKey, BigInteger) - Static method in class gnu.crypto.sig.rsa.RSA
An implementation of the RSASP method: Assuming that the designated RSA private key is a valid one, this method computes a signature representative for a designated message representative signed by the holder of the designated RSA private key.
SignatureAdapter - class gnu.crypto.jce.sig.SignatureAdapter.
The implementation of a generic Signature adapter class to wrap gnu.crypto signature instances.
SignatureAdapter(String, ISignatureCodec) - Constructor for class gnu.crypto.jce.sig.SignatureAdapter
Trivial protected constructor.
SignatureFactory - class gnu.crypto.sig.SignatureFactory.
A Factory to instantiate signature-with-appendix handlers.
SIGNER_KEY - Static variable in class gnu.crypto.sig.BaseSignature
Property name of the signer's private key.
source - Variable in class gnu.crypto.jce.params.DERReader
 
SOURCE_OF_RANDOMNESS - Static variable in class gnu.crypto.sig.BaseSignature
Property name of an optional SecureRandom instance to use.
SOURCE_OF_RANDOMNESS - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
Property name of an optional SecureRandom instance to use.
SOURCE_OF_RANDOMNESS - Static variable in class gnu.crypto.sig.rsa.RSAKeyPairGenerator
Property name of an optional SecureRandom instance to use.
Square - class gnu.crypto.cipher.Square.
Square is a 128-bit key, 128-bit block cipher algorithm developed by Joan Daemen, Lars Knudsen and Vincent Rijmen.
SQUARE_CIPHER - Static variable in interface gnu.crypto.Registry
 
Square() - Constructor for class gnu.crypto.cipher.Square
Trivial 0-arguments constructor.
SquareSpi - class gnu.crypto.jce.cipher.SquareSpi.
The implementation of the Square Service Provider Interface (SPI) adapter.
SquareSpi() - Constructor for class gnu.crypto.jce.cipher.SquareSpi
 
state - Variable in class gnu.crypto.mode.BaseMode
The state indicator of this instance.
STATE - Static variable in interface gnu.crypto.mode.IMode
Property name of the state in which to operate this mode.
streams - Variable in class gnu.crypto.mac.UHash32
 

T

TAG_LENGTH - Static variable in class gnu.crypto.exp.ust.UST
Property name of the authentication tag length in bytes.
TAG_LENGTH - Static variable in class gnu.crypto.mac.TMMH16
 
tagLength - Variable in class gnu.crypto.jce.spec.TMMHParameterSpec
The tag length.
TBC - class gnu.crypto.pad.TBC.
The implementation of the Trailing Bit Complement (TBC) padding algorithm.
TBC_PAD - Static variable in interface gnu.crypto.Registry
Trailing Bit Complement padding scheme.
TBC() - Constructor for class gnu.crypto.pad.TBC
Trivial package-private constructor for use by the Factory class.
teardown() - Method in class gnu.crypto.mode.CFB
 
teardown() - Method in class gnu.crypto.mode.CBC
 
teardown() - Method in class gnu.crypto.mode.OFB
 
teardown() - Method in class gnu.crypto.mode.ICM
 
teardown() - Method in class gnu.crypto.mode.ECB
 
teardown() - Method in class gnu.crypto.mode.CTR
 
teardown() - Method in class gnu.crypto.mode.BaseMode
The termination phase of the concrete mode implementation.
testKat(byte[], byte[]) - Method in class gnu.crypto.cipher.BaseCipher
 
TMMH16 - class gnu.crypto.mac.TMMH16.
TMMH is a universal hash function suitable for message authentication in the Wegman-Carter paradigm, as in the Stream Cipher Security Transform.
TMMH16 - Static variable in interface gnu.crypto.Registry
The Truncated Multi-Modular Hash Function -v1 (David McGrew).
TMMH16() - Constructor for class gnu.crypto.mac.TMMH16
Trivial 0-arguments constructor.
TMMH16Spi - class gnu.crypto.jce.mac.TMMH16Spi.
The implementation of the TMMH16 Service Provider Interface (SPI) adapter.
TMMH16Spi() - Constructor for class gnu.crypto.jce.mac.TMMH16Spi
 
TMMHParameterSpec - class gnu.crypto.jce.spec.TMMHParameterSpec.
This class represents the algorithm parameters for the Truncated Multi-Modular Hash function for use with JCE-derived instances of TMMH16.
TMMHParameterSpec(IRandom, Integer) - Constructor for class gnu.crypto.jce.spec.TMMHParameterSpec
Create a new parameter specification with no prefix.
TMMHParameterSpec(IRandom, Integer, byte[]) - Constructor for class gnu.crypto.jce.spec.TMMHParameterSpec
Create a new parameter specification.
toBytesFromString(String) - Static method in class gnu.crypto.util.Util
Returns a byte array from a string of hexadecimal digits.
toBytesFromUnicode(String) - Static method in class gnu.crypto.util.Util
 
toReversedBytesFromString(String) - Static method in class gnu.crypto.util.Util
Returns a byte array from a string of hexadecimal digits, interpreting them as a large big-endian integer and returning it as a large little-endian integer.
toReversedString(byte[]) - Static method in class gnu.crypto.util.Util
Returns a string of hexadecimal digits from a byte array.
toReversedString(byte[], int, int) - Static method in class gnu.crypto.util.Util
Returns a string of hexadecimal digits from a byte array, starting at offset and consisting of length bytes.
toString() - Method in class gnu.crypto.jce.spec.BlockCipherParameterSpec
 
toString(byte[]) - Static method in class gnu.crypto.util.Util
Returns a string of hexadecimal digits from a byte array.
toString(byte[], int, int) - Static method in class gnu.crypto.util.Util
Returns a string of hexadecimal digits from a byte array, starting at offset and consisting of length bytes.
toString(int) - Static method in class gnu.crypto.util.Util
Returns a string of 8 hexadecimal digits (most significant digit first) corresponding to the unsigned integer n.
toString(int[]) - Static method in class gnu.crypto.util.Util
Returns a string of hexadecimal digits from an integer array.
toString(long) - Static method in class gnu.crypto.util.Util
Returns a string of 16 hexadecimal digits (most significant digit first) corresponding to the unsigned long n.
toUnicodeString(byte[]) - Static method in class gnu.crypto.util.Util
Similar to the toString() method except that the Unicode escape character is inserted before every pair of bytes.
toUnicodeString(byte[], int, int) - Static method in class gnu.crypto.util.Util
Similar to the toString() method except that the Unicode escape character is inserted before every pair of bytes.
toUnicodeString(int[]) - Static method in class gnu.crypto.util.Util
Similar to the toString() method except that the Unicode escape character is inserted before every pair of bytes.
transform(byte[], int) - Method in class gnu.crypto.hash.MD2
Adds BLOCK_LENGTH bytes to the running digest.
transform(byte[], int) - Method in class gnu.crypto.hash.Whirlpool
 
transform(byte[], int) - Method in class gnu.crypto.hash.Sha160
 
transform(byte[], int) - Method in class gnu.crypto.hash.RipeMD160
 
transform(byte[], int) - Method in class gnu.crypto.hash.RipeMD128
 
transform(byte[], int) - Method in class gnu.crypto.hash.MD5
 
transform(byte[], int) - Method in class gnu.crypto.hash.MD4
 
transform(byte[], int) - Method in class gnu.crypto.hash.BaseHash
The block digest transformation per se.
TripleDES - class gnu.crypto.cipher.TripleDES.
Triple-DES, 3DES, or DESede is a combined cipher that uses three iterations of the Data Encryption Standard cipher to improve the security (at the cost of speed) of plain DES.
TRIPLEDES_CIPHER - Static variable in interface gnu.crypto.Registry
 
TripleDES() - Constructor for class gnu.crypto.cipher.TripleDES
Default 0-arguments constructor.
TripleDESSpi - class gnu.crypto.jce.cipher.TripleDESSpi.
The implementation of the Triple-DES Service Provider Interface (SPI) adapter.
TripleDESSpi() - Constructor for class gnu.crypto.jce.cipher.TripleDESSpi
 
TRUNCATED_SIZE - Static variable in interface gnu.crypto.mac.IMac
Property name of the desired truncated output size in bytes.
truncatedSize - Variable in class gnu.crypto.mac.BaseMac
The length of the truncated output in bytes.
Twofish - class gnu.crypto.cipher.Twofish.
Twofish is a balanced 128-bit Feistel cipher, consisting of 16 rounds.
TWOFISH_CIPHER - Static variable in interface gnu.crypto.Registry
 
Twofish() - Constructor for class gnu.crypto.cipher.Twofish
Trivial 0-arguments constructor.
TwofishSpi - class gnu.crypto.jce.cipher.TwofishSpi.
The implementation of the Twofish Service Provider Interface (SPI) adapter.
TwofishSpi() - Constructor for class gnu.crypto.jce.cipher.TwofishSpi
 

U

UHash32 - class gnu.crypto.mac.UHash32.
UHASH is a keyed hash function, which takes as input a string of arbitrary length, and produces as output a string of fixed length (such as 8 bytes).
UHASH32 - Static variable in interface gnu.crypto.Registry
Message Authentication Code using Universal Hashing (Ted Krovetz).
UHash32.L1Hash32 - class gnu.crypto.mac.UHash32.L1Hash32.
First hash stage of the UHash32 algorithm.
UHash32.L1Hash32() - Constructor for class gnu.crypto.mac.UHash32.L1Hash32
Trivial 0-arguments constructor.
UHash32.L2Hash32 - class gnu.crypto.mac.UHash32.L2Hash32.
Second hash stage of the UHash32 algorithm.
UHash32.L2Hash32(byte[]) - Constructor for class gnu.crypto.mac.UHash32.L2Hash32
 
UHash32.L3Hash32 - class gnu.crypto.mac.UHash32.L3Hash32.
Third hash stage of the UHash32 algorithm.
UHash32.L3Hash32(byte[], byte[]) - Constructor for class gnu.crypto.mac.UHash32.L3Hash32
 
UHash32() - Constructor for class gnu.crypto.mac.UHash32
Trivial 0-arguments constructor.
UHash32Spi - class gnu.crypto.jce.mac.UHash32Spi.
The implementation of the UHash-32 Service Provider Interface (SPI) adapter.
UHash32Spi() - Constructor for class gnu.crypto.jce.mac.UHash32Spi
 
UMAC_PRNG - Static variable in interface gnu.crypto.Registry
PRNG based on UMAC's Key Derivation Function.
UMac32 - class gnu.crypto.mac.UMac32.
The implementation of the UMAC (Universal Message Authentication Code).
UMAC32 - Static variable in interface gnu.crypto.Registry
 
UMac32() - Constructor for class gnu.crypto.mac.UMac32
Trivial 0-arguments constructor.
UMac32ParameterSpec - class gnu.crypto.jce.spec.UMac32ParameterSpec.
This class represents the parameters for the UMAC-32 message authentication code algorithm.
UMac32ParameterSpec(byte[]) - Constructor for class gnu.crypto.jce.spec.UMac32ParameterSpec
Create a new parameter instance.
UMac32Spi - class gnu.crypto.jce.mac.UMac32Spi.
The implementation of the UMAC-32 Service Provider Interface (SPI) adapter.
UMac32Spi() - Constructor for class gnu.crypto.jce.mac.UMac32Spi
 
UMacGenerator - class gnu.crypto.prng.UMacGenerator.
KDFs (Key Derivation Functions) are used to stretch user-supplied key material to specific size(s) required by high level cryptographic primitives.
UMacGenerator() - Constructor for class gnu.crypto.prng.UMacGenerator
Trivial 0-arguments constructor.
UMacRandomSpi - class gnu.crypto.jce.prng.UMacRandomSpi.
An Adapter class around UMacGenerator to allow using this algorithm as a JCE SecureRandom.
UMacRandomSpi() - Constructor for class gnu.crypto.jce.prng.UMacRandomSpi
 
underlyingHash - Variable in class gnu.crypto.mac.BaseMac
Reference to the underlying hash algorithm instance.
UNIVERSAL - Static variable in class gnu.crypto.jce.params.DERWriter
 
UNIVERSAL - Static variable in class gnu.crypto.jce.params.DERReader
 
unpad(byte[], int, int) - Method in class gnu.crypto.pad.TBC
 
unpad(byte[], int, int) - Method in class gnu.crypto.pad.PKCS7
 
unpad(byte[], int, int) - Method in class gnu.crypto.pad.BasePad
 
unpad(byte[], int, int) - Method in interface gnu.crypto.pad.IPad
Returns the number of bytes to discard from a designated input buffer.
update(byte) - Method in class gnu.crypto.hash.BaseHash
 
update(byte) - Method in interface gnu.crypto.hash.IMessageDigest
Continues a message digest operation using the input byte.
update(byte) - Method in class gnu.crypto.mac.UMac32
 
update(byte) - Method in class gnu.crypto.mac.UHash32
 
update(byte) - Method in class gnu.crypto.mac.UHash32.L1Hash32
 
update(byte) - Method in interface gnu.crypto.mac.IMac
Continues a MAC operation using the input byte.
update(byte) - Method in class gnu.crypto.mac.BaseMac
 
update(byte) - Method in class gnu.crypto.mac.TMMH16
 
update(byte) - Method in class gnu.crypto.sig.BaseSignature
 
update(byte) - Method in interface gnu.crypto.sig.ISignature
Digests one byte of a message for signing or verification purposes.
update(byte[], int, byte[], int) - Method in class gnu.crypto.mode.BaseMode
 
update(byte[], int, byte[], int) - Method in interface gnu.crypto.mode.IMode
A convenience method.
update(byte[], int, int) - Method in class gnu.crypto.hash.BaseHash
 
update(byte[], int, int) - Method in interface gnu.crypto.hash.IMessageDigest
Continues a message digest operation, by filling the buffer, processing data in the algorithm's HASH_SIZE-bit block(s), updating the context and count, and buffering the remaining bytes in buffer for the next operation.
update(byte[], int, int) - Method in class gnu.crypto.mac.UMac32
 
update(byte[], int, int) - Method in class gnu.crypto.mac.UHash32
 
update(byte[], int, int) - Method in class gnu.crypto.mac.UHash32.L2Hash32
 
update(byte[], int, int) - Method in interface gnu.crypto.mac.IMac
Continues a MAC operation, by filling the buffer, processing data in the algorithm's MAC_SIZE-bit block(s), updating the context and count, and buffering the remaining bytes in buffer for the next operation.
update(byte[], int, int) - Method in class gnu.crypto.mac.BaseMac
 
update(byte[], int, int) - Method in class gnu.crypto.mac.TMMH16
 
update(byte[], int, int) - Method in class gnu.crypto.sig.BaseSignature
 
update(byte[], int, int) - Method in interface gnu.crypto.sig.ISignature
Digests a sequence of bytes from a message for signing or verification purposes.
update(byte[], int, int, IRandom) - Method in class gnu.crypto.mac.TMMH16
Similar to the same method with three arguments, but uses the designated random number generator to compute needed keying material.
update(byte, IRandom) - Method in class gnu.crypto.mac.TMMH16
Similar to the same method with one argument, but uses the designated random number generator to compute needed keying material.
USE_DEFAULTS - Static variable in class gnu.crypto.sig.dss.DSSKeyPairGenerator
Property name of the Boolean indicating wether or not to use defaults.
UST - class gnu.crypto.exp.ust.UST.
The Universal Security Transform (UST) is a cryptographic transform for providing confidentiality, message authentication, and replay protection.
UST() - Constructor for class gnu.crypto.exp.ust.UST
 
Util - class gnu.crypto.util.Util.
A collection of utility methods used throughout this project.

V

valueOf(byte[]) - Static method in class gnu.crypto.sig.dss.DSSPublicKey
A class method that takes the output of the encodePublicKey() method of a DSS keypair codec object (an instance implementing IKeyPairCodec for DSS keys, and re-constructs an instance of this object.
valueOf(byte[]) - Static method in class gnu.crypto.sig.dss.DSSPrivateKey
A class method that takes the output of the encodePrivateKey() method of a DSS keypair codec object (an instance implementing IKeyPairCodec for DSS keys, and re-constructs an instance of this object.
valueOf(byte[]) - Static method in class gnu.crypto.sig.rsa.GnuRSAPublicKey
A class method that takes the output of the encodePublicKey() method of an RSA keypair codec object (an instance implementing IKeyPairCodec for RSA keys, and re-constructs an instance of this object.
valueOf(byte[]) - Static method in class gnu.crypto.sig.rsa.GnuRSAPrivateKey
A class method that takes the output of the encodePrivateKey() method of an RSA keypair codec object (an instance implementing IKeyPairCodec for RSA keys, and re-constructs an instance of this object.
VERIFIER_KEY - Static variable in class gnu.crypto.sig.BaseSignature
Property name of the verifier's public key.
verify(Object) - Method in class gnu.crypto.sig.BaseSignature
 
verify(Object) - Method in interface gnu.crypto.sig.ISignature
Terminates a signature verification phase by digesting and processing the context of the underlying message digest algorithm instance.
verify(PublicKey, BigInteger) - Static method in class gnu.crypto.sig.rsa.RSA
An implementation of the RSAVP method: Assuming that the designated RSA public key is a valid one, this method computes a message representative for the designated signature representative generated by an RSA private key, for a message intended for the holder of the designated RSA public key.
verifySignature(Object) - Method in class gnu.crypto.sig.BaseSignature
 
verifySignature(Object) - Method in class gnu.crypto.sig.dss.DSSSignature
 
verifySignature(Object) - Method in class gnu.crypto.sig.rsa.RSAPSSSignature
 

W

Whirlpool - class gnu.crypto.hash.Whirlpool.
Whirlpool, a new 512-bit hashing function operating on messages less than 2 ** 256 bits in length.
WHIRLPOOL_HASH - Static variable in interface gnu.crypto.Registry
 
Whirlpool() - Constructor for class gnu.crypto.hash.Whirlpool
Trivial 0-arguments constructor.
WhirlpoolRandomSpi - class gnu.crypto.jce.prng.WhirlpoolRandomSpi.
The implementation of the Whirlpool-based SecureRandom Service Provider Interface (SPI) adapter.
WhirlpoolRandomSpi() - Constructor for class gnu.crypto.jce.prng.WhirlpoolRandomSpi
 
WhirlpoolSpi - class gnu.crypto.jce.hash.WhirlpoolSpi.
The implementation of the Whirlpool Service Provider Interface (SPI) adapter.
WhirlpoolSpi() - Constructor for class gnu.crypto.jce.hash.WhirlpoolSpi
 
writeBigInteger(BigInteger) - Method in class gnu.crypto.jce.params.DERWriter
 
WrongPaddingException - exception gnu.crypto.pad.WrongPaddingException.
A checked exception that indicates that a padding algorithm did not find the expected padding bytes when unpadding some data.
WrongPaddingException() - Constructor for class gnu.crypto.pad.WrongPaddingException
 

A B C D E F G H I J K L M N O P Q R S T U V W
For the latest news and information visit
The GNU Crypto project

Copyright ©2001, 2002 Free Software Foundation, Inc.. All Rights Reserved.