Alphabetical Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z

A

A - field in class gnu.crypto.sasl.srp.SRPClient
activate(Map) - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
activate(Map) - method in class gnu.crypto.sasl.IAuthInfoProvider
Activates (initialises) this provider instance.
activate(Map) - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
Activates (initialises) this provider instance.
activate(Map) - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
Activates (initialises) this provider instance.
adaptee - field in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
Our underlying keypair instance.
add(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.BaseKeyring
Adds a designated Entry to this keyring.

What happens if there is already an entry with the same alias?

add(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.EnvelopeEntry
Adds an entry to this envelope.
add(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.IKeyring
Adds a designated Entry to this keyring.

What happens if there is already an entry with the same alias?

add(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
add(String,String,byte[],String) - method in class gnu.crypto.sasl.srp.PasswordFile
add(String,String,String[]) - method in class gnu.crypto.sasl.crammd5.PasswordFile
add(String,String,String[]) - method in class gnu.crypto.sasl.plain.PasswordFile
Adds the designated Transformer and signals that it should operate in post-processing mode; i.e. it should apply its internal transformation algorithm on the input data stream, after it passes that stream to the next element in the chain.
addPreTransformer(gnu.crypto.assembly.Transformer) - method in class gnu.crypto.assembly.Assembly
Adds the designated Transformer and signals that it should operate in pre-processing mode; i.e. it should apply its internal transformation algorithm on the input data stream, before it passes that stream to the next element in the chain.
adjustParity(byte[],int) - static method in class gnu.crypto.cipher.DES
Adjust the parity for a raw key array.
adjustParity(byte[],int) - static method in class gnu.crypto.cipher.TripleDES
Transform a key so it will be parity adjusted.
PBES2.HMacHaval.AES - class gnu.crypto.jce.cipher.PBES2.HMacHaval.AES
PBES2.HMacMD2.AES - class gnu.crypto.jce.cipher.PBES2.HMacMD2.AES
PBES2.HMacMD4.AES - class gnu.crypto.jce.cipher.PBES2.HMacMD4.AES
PBES2.HMacMD5.AES - class gnu.crypto.jce.cipher.PBES2.HMacMD5.AES
PBES2.HMacRipeMD128.AES - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.AES
PBES2.HMacRipeMD160.AES - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.AES
PBES2.HMacSHA1.AES - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.AES
PBES2.HMacSHA256.AES - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.AES
PBES2.HMacSHA384.AES - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.AES
PBES2.HMacSHA512.AES - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.AES
PBES2.HMacTiger.AES - class gnu.crypto.jce.cipher.PBES2.HMacTiger.AES
PBES2.HMacWhirlpool.AES - class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.AES
AES - static field in class gnu.crypto.sasl.srp.SRPRegistry
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.AES
AES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.AES
AES_CIPHER - static field in class 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
aliases() - method in class gnu.crypto.keyring.BaseKeyring
Returns an Enumeration of all aliases (instances of String) in this keyring.
aliases() - method in class gnu.crypto.keyring.IKeyring
Returns an Enumeration of all aliases (instances of String) in this keyring.
ALL_ZEROES - static field in class gnu.crypto.mac.UHash32
AnonymousClient - class gnu.crypto.sasl.anonymous.AnonymousClient
The ANONYMOUS client-side mechanism.
AnonymousClient() - constructor for class gnu.crypto.sasl.anonymous.AnonymousClient
AnonymousServer - class gnu.crypto.sasl.anonymous.AnonymousServer
The ANONYMOUS server-side mechanism.
AnonymousServer() - constructor for class gnu.crypto.sasl.anonymous.AnonymousServer
AnonymousUtil - class gnu.crypto.sasl.anonymous.AnonymousUtil
An ANONYMOUS-specific utility class.
Anubis - class gnu.crypto.cipher.Anubis
Anubis is a 128-bit block cipher that accepts a variable-length key.
PBES2.HMacHaval.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Anubis
PBES2.HMacMD2.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Anubis
PBES2.HMacMD4.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Anubis
PBES2.HMacMD5.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Anubis
PBES2.HMacSHA1.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Anubis
PBES2.HMacSHA256.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Anubis
PBES2.HMacSHA384.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Anubis
PBES2.HMacSHA512.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Anubis
PBES2.HMacTiger.Anubis - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Anubis
Anubis() - constructor for class gnu.crypto.cipher.Anubis
Trivial 0-arguments constructor.
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Anubis
Anubis() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Anubis
ANUBIS_CIPHER - static field in class gnu.crypto.Registry
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
append(gnu.crypto.assembly.Stage) - method in class gnu.crypto.assembly.Cascade
Adds to the end of the current chain, a designated Stage.
APPLICATION - static field in class gnu.crypto.jce.params.DERReader
APPLICATION - static field in class gnu.crypto.jce.params.DERWriter
ARCFour - class gnu.crypto.prng.ARCFour
RC4 is a stream cipher developed by Ron Rivest.
ARCFour() - constructor for class gnu.crypto.prng.ARCFour
Default 0-arguments constructor.
ARCFOUR_KEY_MATERIAL - static field in class gnu.crypto.prng.ARCFour
The attributes property name for the key bytes.
ARCFOUR_PRNG - static field in class gnu.crypto.Registry
(Apparently) RC4 keystream PRNG.
ARCFOUR_SBOX_SIZE - static field in class gnu.crypto.prng.ARCFour
The size of the internal S-box.
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
Assembly - class gnu.crypto.assembly.Assembly
An Assembly is a construction consisting of a chain of Transformer elements; each wired in pre- or post- transformation mode.
Assembly() - constructor for class gnu.crypto.assembly.Assembly
Trivial constructor that sets the chain to a LoopbackTransformer.
attributes - field in class gnu.crypto.jce.cipher.CipherAdapter
Our attributes map.
attributes - field in class gnu.crypto.jce.mac.MacAdapter
Our MAC attributes.
authenticate(byte[]) - method in class gnu.crypto.keyring.AuthenticatedEntry
Computes the mac over this envelope's data.
authenticate(char[]) - method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
AuthenticatedEntry - class gnu.crypto.keyring.AuthenticatedEntry
authenticator - field in class gnu.crypto.sasl.ServerMechanism
The provider for authentication information.
AuthInfo - class gnu.crypto.sasl.AuthInfo
A static class for creating IAuthInfoProvider providers.
The concrete SASL authentication information provider factory.
authorizationID - field in class gnu.crypto.sasl.ClientMechanism
The authorisation identity.
authorizationID - field in class gnu.crypto.sasl.ServerMechanism
The authorisation identity.
available() - method in class gnu.crypto.keyring.MeteredInputStream
available() - method in class gnu.crypto.sasl.SaslInputStream
AVAILABLE_OPTIONS - static field in class gnu.crypto.sasl.srp.SRPRegistry
The list of server's available security options.

B

B - field in class gnu.crypto.sasl.srp.SRPClient
Base64 - class gnu.crypto.util.Base64
Most of this implementation is from Robert Harder's public domain Base64 code (version 1.4.1 available from <http://iharder.net/xmlizable>).
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.
A base abstract class to facilitate implementations of concrete key agreement protocol handlers.
BaseKeyAgreementParty(String) - constructor for class gnu.crypto.key.BaseKeyAgreementParty
BaseKeyring - class gnu.crypto.keyring.BaseKeyring
BaseKeyring() - constructor for class gnu.crypto.keyring.BaseKeyring
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,gnu.crypto.hash.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,gnu.crypto.cipher.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.
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.
BinaryDataEntry - class gnu.crypto.keyring.BinaryDataEntry
A binary data entry is a primitive entry that simply contains some amount of arbitrary binary data and an optional content type.
Creates a new binary data entry.
BLOCK_INDEX_LENGTH - static field in class gnu.crypto.prng.ICMGenerator
Property name of ICM's block index length.
BLOCK_SIZE - static field in class gnu.crypto.cipher.DES
DES operates on 64 bit blocks.
BLOCK_SIZE - static field in class gnu.crypto.cipher.TripleDES
Triple-DES only operates on 64 bit blocks.
BlockCipherParameters - class gnu.crypto.jce.params.BlockCipherParameters
An implementation of algorithm parameters for the GNU Crypto block ciphers.
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 - field in class gnu.crypto.jce.cipher.CipherAdapter
The length of blocks we are processing.
blockSize - field in class gnu.crypto.hash.BaseHash
The hash (inner) block size in bytes.
blockSize - field in class gnu.crypto.pad.BasePad
The block size, in bytes, for this instance.
blockSize - field in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The cipher's block size, in bytes.
blockSize - field in class gnu.crypto.assembly.Cascade
The curently set block-size for this instance.
blockSize - field in class gnu.crypto.mac.HMac
blockSize() - method in class gnu.crypto.hash.BaseHash
blockSize() - method in class gnu.crypto.hash.IMessageDigest
Returns the algorithm's (inner) block size in bytes.
blockSizes() - method in class gnu.crypto.cipher.Anubis
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.mode.BaseMode
Returns an Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.Blowfish
blockSizes() - method in class gnu.crypto.assembly.Cascade
Returns the Set of supported block sizes for this Cascade that are common to all of its chained stages.
blockSizes() - method in class gnu.crypto.assembly.CascadeStage
blockSizes() - method in class gnu.crypto.cipher.Cast5
Returns an Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.DES
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.IBlockCipher
Returns an Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.IBlockCipherSpi
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.Khazad
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.assembly.ModeStage
Returns the Set of supported block sizes for this Stage.
blockSizes() - method in class gnu.crypto.cipher.NullCipher
blockSizes() - method in class gnu.crypto.cipher.Rijndael
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.Serpent
Returns an Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.Square
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.assembly.Stage
Returns the Set of supported block sizes for this Stage.
blockSizes() - method in class gnu.crypto.cipher.TripleDES
Returns an java.util.Iterator over the supported block sizes.
blockSizes() - method in class gnu.crypto.cipher.Twofish
Blowfish - class gnu.crypto.cipher.Blowfish
Blowfish is a 16-round, 64-bit Feistel cipher designed by Bruce Schneier.
PBES2.HMacMD2.Blowfish - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Blowfish
PBES2.HMacMD4.Blowfish - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Blowfish
PBES2.HMacMD5.Blowfish - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Blowfish
PBES2.HMacSHA1.Blowfish - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Blowfish
BLOWFISH - static field in class gnu.crypto.sasl.srp.SRPRegistry
Blowfish() - constructor for class gnu.crypto.cipher.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Blowfish
Blowfish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Blowfish
BLOWFISH_CIPHER - static field in class gnu.crypto.Registry
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
BOUNDARY - static field in class gnu.crypto.mac.UHash32
buffer - field in class gnu.crypto.hash.BaseHash
Temporary input buffer.
buffer - field in class gnu.crypto.prng.BasePRNG
A temporary buffer to serve random bytes.
byteToString(int) - static method in class gnu.crypto.util.Util
Returns a string of 2 hexadecimal digits (most significant digit first) corresponding to the lowest 8 bits of n.

C

Records a mapping between a session identifier and the Security Context of the designated SRP server mechanism instance.
Records a mapping between a client's unique identifier and its security context.
CALG - class gnu.crypto.sasl.srp.CALG
A Factory class that returns CALG (Confidentiality Algorithm) instances that operate as described in the draft-burdis-cat-sasl-srp-08.

The designated CALG block cipher should be used in OFB (Output Feedback Block) mode in the ISO variant, as described in The Handbook of Applied Cryptography, algorithm 7.20.

Let k be the block size of the chosen symmetric key block cipher algorithm; e.g. for AES this is 128 bits or 16 octets.

Cascade - class gnu.crypto.assembly.Cascade
A Cascade Cipher is the concatenation of two or more block ciphers each with independent keys.
Cascade() - constructor for class gnu.crypto.assembly.Cascade
CascadeStage - class gnu.crypto.assembly.CascadeStage
A Cascade Stage in a Cascade Cipher.
CascadeTransformer - class gnu.crypto.assembly.CascadeTransformer
An Adapter to use any Cascade as a Transformer in an Assembly.
CascadeTransformer(gnu.crypto.assembly.Cascade) - constructor for class gnu.crypto.assembly.CascadeTransformer
CAST128_CIPHER - static field in class gnu.crypto.Registry
CAST5 is also known as CAST-128.
Cast5 - class gnu.crypto.cipher.Cast5
An implmenetation of the CAST5 (a.k.a.
PBES2.HMacHaval.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Cast5
PBES2.HMacMD2.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Cast5
PBES2.HMacMD4.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Cast5
PBES2.HMacMD5.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Cast5
PBES2.HMacSHA1.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Cast5
PBES2.HMacSHA256.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Cast5
PBES2.HMacSHA384.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Cast5
PBES2.HMacSHA512.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Cast5
PBES2.HMacTiger.Cast5 - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Cast5
Cast5() - constructor for class gnu.crypto.cipher.Cast5
Trivial 0-arguments constructor.
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Cast5
Cast5() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Cast5
CAST5_CIPHER - static field in class gnu.crypto.Registry
Cast5Spi - class gnu.crypto.jce.cipher.Cast5Spi
The implementation of the CAST5 (a.k.a.
Cast5Spi() - constructor for class gnu.crypto.jce.cipher.Cast5Spi
CAST_128_CIPHER - static field in class gnu.crypto.Registry
CBC - class gnu.crypto.mode.CBC
The Cipher Block Chaining mode.
cbc() - method in class gnu.crypto.tool.NistMCT
CBC(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.CBC
Package-private constructor for the factory class.
CBC_MODE - static field in class gnu.crypto.Registry
Cipher block chaining mode (NIST).
cbcDecrypt() - method in class gnu.crypto.tool.NistMCT
cbcEncrypt() - method in class gnu.crypto.tool.NistMCT
CertificateEntry - class gnu.crypto.keyring.CertificateEntry
An immutable class representing a trusted certificate entry.
Creates a new certificate entry.
CertPathEntry - class gnu.crypto.keyring.CertPathEntry
A primitive entry that contains a path of X.509 certificates.
CFB - class gnu.crypto.mode.CFB
The cipher feedback mode.
CFB(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.CFB
Package-private constructor for the factory class.
CFB_MODE - static field in class gnu.crypto.Registry
Cipher feedback mode (NIST).
changePasswd(String,String) - method in class gnu.crypto.sasl.crammd5.PasswordFile
changePasswd(String,String) - method in class gnu.crypto.sasl.plain.PasswordFile
changePasswd(String,String) - method in class gnu.crypto.sasl.srp.PasswordFile
channelBinding - field in class gnu.crypto.sasl.ClientMechanism
Channel binding data to use with this mechanism instance.
channelBinding - field in class gnu.crypto.sasl.ServerMechanism
Channel binding data to use with this mechanism instance.
CHECK_WEAK_KEYS - static field in class gnu.crypto.Properties
checkForWeakKeys() - static method in class gnu.crypto.Properties
A convenience method that returns, as a boolean, the library global configuration property indicating if the implementations of symmetric key block ciphers check, or not, for possible/potential weak and semi-weak keys that may be produced in the course of generating round encryption and/or decryption keys.
checkParams(BigInteger,BigInteger) - static method in class gnu.crypto.key.srp6.SRPAlgorithm
CHOSEN_OPTIONS - static field in class gnu.crypto.sasl.srp.SRPRegistry
The client's chosen security options.
cipher - field in class gnu.crypto.mode.BaseMode
The underlying block cipher implementation.
cipher - field in class gnu.crypto.jce.cipher.CipherAdapter
Our cipher instance.
cipher - field in class gnu.crypto.keyring.GnuPrivateKeyring
CIPHER - static field in class gnu.crypto.prng.ICMGenerator
Property name of underlying block cipher for this ICM generator.
CIPHER - static field in class gnu.crypto.prng.UMacGenerator
The name of the underlying symmetric key block cipher algorithm.
CIPHER - static field in class gnu.crypto.exp.ust.UST
Property name of the keystream underlying cipher.
CIPHER_BLOCK_SIZE - static field in class 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.

This class defines the Service Provider Interface (SPI) for the Cipher class, which provides the functionality of symmetric-key block ciphers, such as the AES.

This base class defines all of the abstract methods in CipherSpi, but does not define the (non-abstract) key wrapping functions that extended the base cipher SPI, and these methods thus immediately throw an UnsupportedOperationException.

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 - field 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 - field 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.
clear() - method in class gnu.crypto.keyring.Properties
Removes all properties from this object.
CLIENT_EVIDENCE - static field in class gnu.crypto.sasl.srp.SRPRegistry
The client's evidence: M1.
CLIENT_PUBLIC_KEY - static field in class gnu.crypto.sasl.srp.SRPRegistry
The client's public ephemeral exponent: A.
ClientFactory - class gnu.crypto.sasl.ClientFactory
The implementation of SaslClientFactory.
ClientMechanism - class gnu.crypto.sasl.ClientMechanism
A base class to facilitate implementing SASL client-side mechanisms.
ClientMechanism(String) - constructor for class gnu.crypto.sasl.ClientMechanism
ClientStore - class gnu.crypto.sasl.srp.ClientStore
The client-side implementation of the SRP security context store.
clone() - method in class gnu.crypto.cipher.Anubis
clone() - method in class gnu.crypto.prng.ARCFour
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.cipher.BaseCipher
clone() - method in class gnu.crypto.hash.BaseHash
clone() - method in class gnu.crypto.mac.BaseMac
clone() - method in class gnu.crypto.mode.BaseMode
clone() - method in class gnu.crypto.prng.BasePRNG
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.sig.BaseSignature
clone() - method in class gnu.crypto.cipher.Blowfish
clone() - method in class gnu.crypto.cipher.Cast5
Returns a clone of this instance.
clone() - method in class gnu.crypto.mode.CBC
clone() - method in class gnu.crypto.mode.CFB
clone() - method in class gnu.crypto.mode.CTR
clone() - method in class gnu.crypto.cipher.DES
clone() - method in class gnu.crypto.sig.dss.DSSSignature
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.mode.ECB
clone() - method in class gnu.crypto.sig.rsa.EMSA_PKCS1_V1_5
clone() - method in class gnu.crypto.sig.rsa.EMSA_PSS
clone() - method in class gnu.crypto.hash.Haval
clone() - method in class gnu.crypto.mac.HMac
clone() - method in class gnu.crypto.sasl.srp.IALG
clone() - method in class gnu.crypto.cipher.IBlockCipher
Returns a clone of this instance.
clone() - method in class gnu.crypto.mode.ICM
clone() - method in class gnu.crypto.prng.ICMGenerator
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.mac.IMac
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.hash.IMessageDigest
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.prng.IRandom
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.sig.ISignature
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.cipher.Khazad
clone() - method in class gnu.crypto.jce.mac.MacAdapter
clone() - method in class gnu.crypto.hash.MD2
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.hash.MD4
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.hash.MD5
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.prng.MDGenerator
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.jce.hash.MessageDigestAdapter
clone() - method in class gnu.crypto.cipher.NullCipher
clone() - method in class gnu.crypto.mode.OFB
Returns a clone of this instance.
clone() - method in class gnu.crypto.prng.PBKDF2
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.keyring.Properties
Creates a copy of this properties object.
clone() - method in class gnu.crypto.cipher.Rijndael
clone() - method in class gnu.crypto.hash.RipeMD128
clone() - method in class gnu.crypto.hash.RipeMD160
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.sig.rsa.RSAPKCS1V1_5Signature
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.sig.rsa.RSAPSSSignature
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.cipher.Serpent
Returns a clone of this instance.
clone() - method in class gnu.crypto.hash.Sha160
clone() - method in class gnu.crypto.hash.Sha256
clone() - method in class gnu.crypto.hash.Sha384
clone() - method in class gnu.crypto.hash.Sha512
clone() - method in class gnu.crypto.jce.sig.SignatureAdapter
clone() - method in class gnu.crypto.cipher.Square
clone() - method in class gnu.crypto.hash.Tiger
clone() - method in class gnu.crypto.mac.TMMH16
clone() - method in class gnu.crypto.cipher.TripleDES
clone() - method in class gnu.crypto.cipher.Twofish
clone() - method in class gnu.crypto.mac.UHash32
Returns a clone copy of this instance.
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.UMac32
clone() - method in class gnu.crypto.prng.UMacGenerator
Returns a clone copy of this instance.
clone() - method in class gnu.crypto.hash.Whirlpool
Returns a clone copy of this instance.
close() - method in class gnu.crypto.keyring.MeteredInputStream
close() - method in class gnu.crypto.sasl.SaslInputStream
close() - method in class gnu.crypto.sasl.SaslOutputStream
complete - field in class gnu.crypto.key.BaseKeyAgreementParty
Whether the exchange has concluded or not.
complete - field in class gnu.crypto.sasl.ClientMechanism
Whether authentication phase is completed (true) or not (false).
complete - field in class gnu.crypto.sasl.ServerMechanism
Whether authentication phase is completed (true) or not (false).
CompressedEntry - class gnu.crypto.keyring.CompressedEntry
CompressedEntry(gnu.crypto.keyring.Properties) - constructor for class gnu.crypto.keyring.CompressedEntry
computeIndices() - method in class gnu.crypto.tool.Ent
computeX(byte[],String,byte[]) - method in class gnu.crypto.sasl.srp.SRP
computeX(byte[],String,String) - method in class gnu.crypto.sasl.srp.SRP
CONFIDENTIALITY - static field in class gnu.crypto.exp.ust.UST
Property name of the confidentiality protection flag.
CONFIDENTIALITY_ALGORITHMS - static field in class gnu.crypto.sasl.srp.SRPRegistry
Available Cipher algorithms for confidentiality protection.
Used by mechanisms that offer a security services layer, this checked exception is thrown to indicate that a violation has occured during the processing of a confidentiality protection filter.
ConfidentialityException() - constructor for class gnu.crypto.sasl.ConfidentialityException
Constructs a new instance of ConfidentialityException with no detail message.
ConfidentialityException(String) - constructor for class gnu.crypto.sasl.ConfidentialityException
Constructs a new instance of ConfidentialityException with the specified detail message.
Constructs a new instance of ConfidentialityException with a detailed message and a root exception.
CONFIG_NDX_FIELD - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the SHELL field in the plain password file.
connect() - method in class gnu.crypto.tool.SaslConnection
containingEnvelope - field in class gnu.crypto.keyring.EnvelopeEntry
The envelope that contains this one (if any).
contains(String) - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
contains(String) - method in class gnu.crypto.sasl.IAuthInfoProvider
Checks if a user with a designated name is known to this provider.
contains(String) - method in class gnu.crypto.sasl.crammd5.PasswordFile
contains(String) - method in class gnu.crypto.sasl.plain.PasswordFile
contains(String) - method in class gnu.crypto.sasl.srp.PasswordFile
contains(String) - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
Checks if a user with a designated name is known to this provider.
contains(String) - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
Checks if a user with a designated name is known to this provider.
containsAlias(String) - method in class gnu.crypto.keyring.BaseKeyring
Tests whether or not this keyring contains the given alias.
containsAlias(String) - method in class gnu.crypto.keyring.EnvelopeEntry
Tests if this envelope contains a primitive entry with the given alias.
containsAlias(String) - method in class gnu.crypto.keyring.IKeyring
Tests whether or not this keyring contains the given alias.
containsCertificate(String) - method in class gnu.crypto.keyring.GnuPublicKeyring
Tests if this keyring contains a certificate entry with the specified alias.
containsCertificate(String) - method in class gnu.crypto.keyring.IPublicKeyring
Tests if this keyring contains a certificate entry with the specified alias.
containsCertPath(String) - method in class gnu.crypto.keyring.GnuPrivateKeyring
containsCertPath(String) - method in class gnu.crypto.keyring.IPrivateKeyring
Checks if this keyring contains a certificate path with the given alias.
containsConfig(String) - method in class gnu.crypto.sasl.srp.PasswordFile
Checks if the current configuration file contains the <N, g> pair for the designated index.
containsEntry(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.EnvelopeEntry
Tests if this envelope contains the given entry.
containsKey(String) - method in class gnu.crypto.keyring.Properties
Tests if this object contains a given property name.
containsPrivateKey(String) - method in class gnu.crypto.keyring.GnuPrivateKeyring
containsPrivateKey(String) - method in class gnu.crypto.keyring.IPrivateKeyring
Tests if this keyring contains a private key entry with the given alias.
containsPublicKey(String) - method in class gnu.crypto.keyring.GnuPrivateKeyring
containsPublicKey(String) - method in class gnu.crypto.keyring.IPrivateKeyring
Checks if this keyring contains a public key with the given alias.
containsValue(String) - method in class gnu.crypto.keyring.Properties
Tests if this object contains a given property value.
DES.Context - class gnu.crypto.cipher.DES.Context
Simple wrapper class around the session keys.
Context() - constructor for class gnu.crypto.cipher.DES.Context
Default 0-arguments constructor.
CONTEXT_SPECIFIC - static field in class gnu.crypto.jce.params.DERReader
CONTEXT_SPECIFIC - static field in class gnu.crypto.jce.params.DERWriter
count - field in class gnu.crypto.hash.BaseHash
Number of bytes processed so far.
CramMD5AuthInfoProvider - class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
The CRAM-MD5 mechanism authentication information provider implementation.
CramMD5Client - class gnu.crypto.sasl.crammd5.CramMD5Client
The CRAM-MD5 SASL client-side mechanism.
CramMD5Client() - constructor for class gnu.crypto.sasl.crammd5.CramMD5Client
CramMD5Registry - interface gnu.crypto.sasl.crammd5.CramMD5Registry
A list of properties common to CRAM-MD5 classes.
CramMD5Server - class gnu.crypto.sasl.crammd5.CramMD5Server
The CRAM-MD5 SASL server-side mechanism.
CramMD5Server() - constructor for class gnu.crypto.sasl.crammd5.CramMD5Server
CramMD5Util - class gnu.crypto.sasl.crammd5.CramMD5Util
A package-private CRAM-MD5-specific utility class.
createHMac(char[],byte[]) - static method in class gnu.crypto.sasl.crammd5.CramMD5Util
createMsgID() - static method in class gnu.crypto.sasl.crammd5.CramMD5Util
creationDate - field in class gnu.crypto.keyring.PrimitiveEntry
The creation date.
CTR - class gnu.crypto.mode.CTR
The implementation of the Counter Mode.

The algorithm steps are formally described as follows:

    CTR Encryption: O[j] = E(K)(T[j]); for j = 1, 2...n;
                    C[j] = P[j] ^ O[j]; for j = 1, 2...n.
CTR(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.CTR
Trivial package-private constructor for use by the Factory class.
CTR_MODE - static field in class gnu.crypto.Registry
Counter (NIST) mode.
currentBlockSize - field in class gnu.crypto.cipher.BaseCipher
The current block size, in bytes.
currentBlockSize() - method in class gnu.crypto.cipher.BaseCipher
currentBlockSize() - method in class gnu.crypto.mode.BaseMode
currentBlockSize() - method in class gnu.crypto.assembly.Cascade
Returns the currently set block size for the chain.
currentBlockSize() - method in class gnu.crypto.assembly.CascadeStage
currentBlockSize() - method in class gnu.crypto.cipher.IBlockCipher
Returns the currently set block size for this instance.
currentBlockSize() - method in class gnu.crypto.assembly.ModeStage
Returns the currently set block size for the stage.
currentBlockSize() - method in class gnu.crypto.assembly.Stage
Returns the currently set block size for the stage.
currentBlockSize() - method in class gnu.crypto.assembly.Transformer
Returns the block-size of this Transformer.
currentKey - field in class gnu.crypto.cipher.BaseCipher
The session key for this instance.

D

decode(byte[]) - method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
Separate the encoded message EM into an octet string PS consisting of nonzero octets and a message M as:
    EM = 0x00 || 0x02 || PS || 0x00 || M.
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.
decode(byte[],int,int) - static method in class gnu.crypto.util.Base64
Decodes Base64 content in byte array format and returns the decoded byte array.
decode(DataInputStream) - static method in class gnu.crypto.keyring.AuthenticatedEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.BinaryDataEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.CertificateEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.CertPathEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.CompressedEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.EncryptedEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.PasswordEncryptedEntry
decode(DataInputStream) - static method in class gnu.crypto.keyring.PrivateKeyEntry
decode(DataInputStream) - method in class gnu.crypto.keyring.Properties
Decodes a set of properties from the given input stream.
decode(DataInputStream) - static method in class gnu.crypto.keyring.PublicKeyEntry
decode(DataInputStream,char[]) - static method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
decode(DataInputStream,char[]) - static method in class gnu.crypto.keyring.PasswordEncryptedEntry
decode(String) - static method in class gnu.crypto.util.Base64
Decodes data from Base64 notation.
decodeEnvelope(DataInputStream) - method in class gnu.crypto.keyring.EnvelopeEntry
decodePrivateKey(byte[]) - method in class gnu.crypto.key.dh.DHKeyPairRawCodec
Decodes an instance of an external private key into its native Java representation.
decodePrivateKey(byte[]) - method in class gnu.crypto.key.dss.DSSKeyPairRawCodec
Decodes an instance of an external private key into its native Java representation.
decodePrivateKey(byte[]) - method in class gnu.crypto.key.IKeyPairCodec
Decodes an instance of an external private key into its native Java representation.
decodePrivateKey(byte[]) - method in class gnu.crypto.key.rsa.RSAKeyPairRawCodec
Decodes an instance of an external private key into its native Java representation.
decodePrivateKey(byte[]) - method in class gnu.crypto.key.srp6.SRPKeyPairRawCodec
Decodes an instance of an external private key into its native Java representation.
decodePublicKey(byte[]) - method in class gnu.crypto.key.dh.DHKeyPairRawCodec
Decodes an instance of an external public key into its native Java representation.
decodePublicKey(byte[]) - method in class gnu.crypto.key.dss.DSSKeyPairRawCodec
Decodes an instance of an external public key into its native Java representation.
decodePublicKey(byte[]) - method in class gnu.crypto.key.IKeyPairCodec
Decodes an instance of an external public key into its native Java representation.
decodePublicKey(byte[]) - method in class gnu.crypto.key.rsa.RSAKeyPairRawCodec
Decodes an instance of an external public key into its native Java representation.
decodePublicKey(byte[]) - method in class gnu.crypto.key.srp6.SRPKeyPairRawCodec
Decodes an instance of an external public key into its native Java representation.
decodeSignature(byte[]) - method in class gnu.crypto.sig.dss.DSSSignatureRawCodec
decodeSignature(byte[]) - method in class gnu.crypto.sig.ISignatureCodec
decodeSignature(byte[]) - method in class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
decrypt(byte[],byte[]) - method in class gnu.crypto.keyring.EncryptedEntry
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Anubis
Decrypts exactly one block of ciphertext.
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.Cast5
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.DES
Decrypts exactly one block of ciphertext.
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Khazad
Decrypts exactly one block of ciphertext.
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.Rijndael
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Serpent
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Square
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.TripleDES
Decrypts exactly one block of ciphertext.
decrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Twofish
decrypt(char[]) - method in class gnu.crypto.keyring.PasswordEncryptedEntry
decrypt(PrivateKey,BigInteger) - static method in class gnu.crypto.sig.rsa.RSA
An implementation of the RSADP algorithm.
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.cipher.BaseCipher
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.BaseMode
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CBC
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CFB
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CTR
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.ECB
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.cipher.IBlockCipher
Decrypts exactly one block of ciphertext.
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.ICM
decryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.OFB
Decrypts exactly one block of ciphertext.
DECRYPTION - static field in class gnu.crypto.mode.IMode
Constant indicating the instance is being used for decryption.
DEFAULT_CONFIDENTIALITY - static field in class gnu.crypto.sasl.srp.SRPRegistry
Default value for confidentiality protection security service.
DEFAULT_INTEGRITY - static field in class gnu.crypto.sasl.srp.SRPRegistry
Default value for integrity protection security service.
DEFAULT_MANDATORY - static field in class gnu.crypto.sasl.srp.SRPRegistry
Default mandatory security service required.
DEFAULT_PASSWORD_FILE - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Default password file (used by the server) pathname.
DEFAULT_PASSWORD_FILE - static field in class gnu.crypto.sasl.plain.PlainRegistry
Default fully qualified pathname of the PLAIN password file.
DEFAULT_PASSWORD_FILE - static field in class gnu.crypto.sasl.srp.SRPRegistry
Default fully qualified pathname of the SRP password file.
DEFAULT_REPLAY_DETECTION - static field in class gnu.crypto.sasl.srp.SRPRegistry
Default value for replay detection security service.
defaultBlockSize - field in class gnu.crypto.cipher.BaseCipher
The default block size, in bytes.
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.
defaultBlockSize() - method in class gnu.crypto.cipher.IBlockCipher
Returns the default value, in bytes, of the algorithm's block size.
defaultDecode(DataInputStream) - method in class gnu.crypto.keyring.Entry
Generic decoding method, which simply decodes the properties field and reads the payload field.
defaultKeySize - field in class gnu.crypto.cipher.BaseCipher
The default key size, in bytes.
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.
defaultKeySize() - method in class gnu.crypto.cipher.IBlockCipher
Returns the default value, in bytes, of the algorithm's key size.
DeflateTransformer - class gnu.crypto.assembly.DeflateTransformer
A Transformer Adapter allowing inclusion of a DEFLATE compression algorithm in an Assembly chain.
DeflateTransformer() - constructor for class gnu.crypto.assembly.DeflateTransformer
Trivial protected constructor.
delegateBlockSize() - method in class gnu.crypto.assembly.CascadeTransformer
delegateBlockSize() - method in class gnu.crypto.assembly.DeflateTransformer
delegateBlockSize() - method in class gnu.crypto.assembly.LoopbackTransformer
delegateBlockSize() - method in class gnu.crypto.assembly.PaddingTransformer
delegateBlockSize() - method in class gnu.crypto.assembly.Transformer
DEREncodingException - class gnu.crypto.jce.params.DEREncodingException
DEREncodingException() - constructor for class gnu.crypto.jce.params.DEREncodingException
DEREncodingException(String) - constructor for class gnu.crypto.jce.params.DEREncodingException
derive(int) - method in class gnu.crypto.sasl.srp.KDF
Returns a designated number of bytes suitable for use in the SASL SRP mechanism.
DERReader - class gnu.crypto.jce.params.DERReader
DERReader() - constructor for class gnu.crypto.jce.params.DERReader
DERReader(source[]) - 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.
PBES2.HMacHaval.DES - class gnu.crypto.jce.cipher.PBES2.HMacHaval.DES
PBES2.HMacMD2.DES - class gnu.crypto.jce.cipher.PBES2.HMacMD2.DES
PBES2.HMacMD4.DES - class gnu.crypto.jce.cipher.PBES2.HMacMD4.DES
PBES2.HMacMD5.DES - class gnu.crypto.jce.cipher.PBES2.HMacMD5.DES
PBES2.HMacRipeMD128.DES - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.DES
PBES2.HMacRipeMD160.DES - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.DES
PBES2.HMacSHA1.DES - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.DES
PBES2.HMacSHA256.DES - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.DES
PBES2.HMacSHA384.DES - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.DES
PBES2.HMacSHA512.DES - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.DES
PBES2.HMacTiger.DES - class gnu.crypto.jce.cipher.PBES2.HMacTiger.DES
PBES2.HMacWhirlpool.DES - class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.DES
DES() - constructor for class gnu.crypto.cipher.DES
Default 0-argument constructor.
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.DES
DES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.DES
DES_CIPHER - static field in class gnu.crypto.Registry
DESEDE_CIPHER - static field in class 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
DH_KA - static field in class gnu.crypto.Registry
DH_KPG - static field in class gnu.crypto.Registry
DH_PARAMETERS - static field in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
Property name of an optional DHGenParameterSpec instance to use for this generator.
DH_PARAMS_COUNTER - static field in class gnu.crypto.key.dh.RFC2631
DH_PARAMS_G - static field in class gnu.crypto.key.dh.RFC2631
DH_PARAMS_J - static field in class gnu.crypto.key.dh.RFC2631
DH_PARAMS_P - static field in class gnu.crypto.key.dh.RFC2631
DH_PARAMS_Q - static field in class gnu.crypto.key.dh.RFC2631
DH_PARAMS_SEED - static field in class gnu.crypto.key.dh.RFC2631
DHKeyPairRawCodec - class gnu.crypto.key.dh.DHKeyPairRawCodec
An object that implements the IKeyPairCodec operations for the Raw format to use with Diffie-Hellman keypairs.
The basic version of the Diffie-Hellman key agreement is described in the Handbook of Applied Cryptography [HAC] as follows:
  • An appropriate prime p and generator g of Zp* (2 <= g <= p-2) are selected and published.
  • A and B each send the other one message over an open channel; as a result, they both can then compute a shared secret key K which they can use to protect their future communication.
  • A chooses a random secret x, 1 <= x <= p-2, and sends B message (1) which is g^x mod p.
  • B chooses a random secret y, 1 <= y <= p-2, and sends A message (2) which is g^y mod p.
  • B receives message (1) and computes the shared key as K = (g^x)^y mod p.
  • A receives message (2) and computes the shared key as K = (g^y)^x mod p.

RFC-2631 describes a Static-Static Mode of operations with Diffie-Hellman keypairs as follows:

 "In Static-Static mode, both the sender and the recipient have a
static (and certified) key pair. 
DiffieHellmanKeyAgreement() - constructor for class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
This implementation is the receiver's part of the basic version of the Diffie-Hellman key agreement exchange (B in [HAC]).
DiffieHellmanSender - class gnu.crypto.key.dh.DiffieHellmanSender
This implementation is the sender's part of the basic version of the Diffie-Hellman key agreement exchange (A in [HAC]).
digest() - method in class gnu.crypto.hash.BaseHash
digest() - method in class gnu.crypto.mac.BaseMac
digest() - method in class gnu.crypto.mac.HMac
digest() - method in class gnu.crypto.mac.IMac
Completes the MAC by performing final operations such as padding and resetting the instance.
digest() - method in class 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.TMMH16
digest() - method in class gnu.crypto.mac.UHash32
Completes the MAC by performing final operations such as padding and resetting the instance.
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.UMac32
digest(byte[]) - method in class gnu.crypto.sasl.srp.SRP
Convenience method to return the result of digesting the designated input with a new instance of the SRP message digest algorithm.
digest(byte[]) - method in class gnu.crypto.mac.UHash32.L3Hash32
digest(gnu.crypto.prng.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.
digest(String) - method in class gnu.crypto.sasl.srp.SRP
Convenience method to return the result of digesting the designated input with a new instance of the SRP message digest algorithm.
DIR_FIELD - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the DIR field in the plain password file.
DIR_FIELD - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of the DIR field in the plain password file.
DIRECTION - static field in class gnu.crypto.assembly.Assembly
DIRECTION - static field in class gnu.crypto.assembly.Cascade
Direction - class gnu.crypto.assembly.Direction
An enumeration type for wiring Stage instances into Cascade Cipher chains, as well as for operating a Cascade in a given direction.

The possible values for this type are two:

  1. FORWARD: equivalent to IMode.ENCRYPTION, and its inverse value
  2. REVERSED: equivalent to IMode.DECRYPTION.
DIRECTION - static field in class gnu.crypto.assembly.Stage
DIRECTION - static field in class gnu.crypto.assembly.Transformer
disconnect() - method in class gnu.crypto.tool.SaslConnection
Sets the connected field to false and instantiates a new underlying mechanism client object.
dispose() - method in class gnu.crypto.sasl.ClientMechanism
dispose() - method in class gnu.crypto.sasl.ServerMechanism
dk - field in class gnu.crypto.cipher.DES.Context
The decryption key.
DO_RSA_BLINDING - static field in class gnu.crypto.Properties
doClear(byte[],int,int) - method in class gnu.crypto.exp.ust.UST
Process the Clear part of the message.
doFinal() - method in class gnu.crypto.sasl.srp.IALG
doFinal(byte[]) - method in class gnu.crypto.sasl.srp.CALG
Encrypts or decrypts, depending on the mode already set, a designated array of bytes and returns the result.
doFinal(byte[],int,int) - method in class gnu.crypto.sasl.srp.CALG
Encrypts or decrypts, depending on the mode already set, a designated array of bytes and returns the result.
doOpaque(byte[],int,int,byte[],int) - method in class gnu.crypto.exp.ust.UST
Process the Opaque part of the message.
doRSABlinding() - static method in class gnu.crypto.Properties
A convenience method that returns, as a boolean, the library global configuration property indicating if RSA decryption (RSADP primitive), does, or not, blinding against timing attacks.
DSA_KPG - static field in class gnu.crypto.Registry
DSA is synonymous to DSS.
DSA_PARAMS_COUNTER - static field in class gnu.crypto.key.dss.FIPS186
DSA_PARAMS_E - static field in class gnu.crypto.key.dss.FIPS186
DSA_PARAMS_G - static field in class gnu.crypto.key.dss.FIPS186
DSA_PARAMS_P - static field in class gnu.crypto.key.dss.FIPS186
DSA_PARAMS_Q - static field in class gnu.crypto.key.dss.FIPS186
DSA_PARAMS_SEED - static field in class gnu.crypto.key.dss.FIPS186
DSA_SIG - static field in class gnu.crypto.Registry
DSA is synonymous to DSS.
DSS_KPG - static field in class gnu.crypto.Registry
DSS_PARAMETERS - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
Property name of an optional DSAParameterSpec instance to use for this generator's p, q, and g values.
DSS_SIG - static field in class gnu.crypto.Registry
DSSKey - class gnu.crypto.key.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.key.dss.DSSKey
Trivial protected constructor.
DSSKeyPairGenerator - class gnu.crypto.key.dss.DSSKeyPairGenerator
A key-pair generator for asymetric keys to use in conjunction with the DSS (Digital Signature Standard). References:
Digital Signature Standard (DSS), Federal Information Processing Standards Publication 186.
The implementation of a java.security.KeyPairGenerator adapter class to wrap gnu.crypto DSS keypair generator instances.

In case the client does not explicitly initialize the KeyPairGenerator (via a call to an initialize() method), the GNU Crypto provider uses a default modulus size (keysize) of 1024 bits.

DSSKeyPairGeneratorSpi() - constructor for class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi
DSSKeyPairRawCodec - class gnu.crypto.key.dss.DSSKeyPairRawCodec
An object that implements the IKeyPairCodec operations for the Raw format to use with DSS keypairs.
DSSPrivateKey - class gnu.crypto.key.dss.DSSPrivateKey
An object that embodies a DSS (Digital Signature Standard) private key.
Trivial constructor.
DSSPublicKey - class gnu.crypto.key.dss.DSSPublicKey
An object that embodies a DSS (Digital Signature Standard) public key.
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:
  1. p: A prime modulus, where 2L-1 < p < 2L for 512 <= L <= 1024 and L a multiple of 64.
  2. q: A prime divisor of p - 1, where 2159 < q < 2160.
  3. g: Where 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).
  4. x: A randomly or pseudorandomly generated integer with 0 < x < q.
  5. y: y = gx mod p.
  6. k: A randomly or pseudorandomly generated integer with 0 < k < q.

The integers p, q, and g can be public and can be common to a group of users.

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.
dump(BigInteger) - static method in class gnu.crypto.util.Util
Returns a hexadecimal dump of the trimmed bytes of a BigInteger.
dump(MessageDigest) - static method in class gnu.crypto.sasl.SaslUtil
Returns the context of the designated hash as a string.
dumpString(byte[]) - static method in class gnu.crypto.util.Util
dumpString(byte[],int,int) - static method in class gnu.crypto.util.Util
dumpString(byte[],int,int,String) - static method in class gnu.crypto.util.Util
Dumps a byte array as a string, in a format that is easy to read for debugging.
dumpString(byte[],String) - static method in class gnu.crypto.util.Util

E

ECB - class gnu.crypto.mode.ECB
The implementation of the Electronic Codebook mode.

The Electronic Codebook (ECB) mode is a confidentiality mode that is defined as follows:

  • ECB Encryption: Cj = CIPHK(Pj) for j = 1...n
  • ECB Decryption: Pj = CIPH-1K(Cj) for j = 1...n

In ECB encryption, the forward cipher function is applied directly, and independently, to each block of the plaintext.

ECB(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.ECB
Trivial package-private constructor for use by the Factory class.
ECB_MODE - static field in class gnu.crypto.Registry
Electronic CodeBook mode.
ecbDecrypt() - method in class gnu.crypto.tool.NistMCT
ek - field in class gnu.crypto.cipher.DES.Context
The encryption key.
ELGAMAL_KA - static field in class gnu.crypto.Registry
ElGamalKeyAgreement - class gnu.crypto.key.dh.ElGamalKeyAgreement
The ElGamal key agreement, also known as the half-certified Diffie-Hellman key agreement, is described in the Handbook of Applied Cryptography [HAC] as follows:
  • A sends to B a single message allowing one-pass key agreement.
  • A obtains an authentic copy of B's public key (p, g, yb), where yb = g**xb.
  • A chooses a random integer x, 1 <= x <= p-2, and sends B the message g**x.
ElGamalKeyAgreement() - constructor for class gnu.crypto.key.dh.ElGamalKeyAgreement
ElGamalReceiver - class gnu.crypto.key.dh.ElGamalReceiver
This implementation is the receiver's part of the ElGamal key agreement exchange (B in [HAC]).
ElGamalSender - class gnu.crypto.key.dh.ElGamalSender
This implementation is the sender's part of the ElGamal key agreement exchange (A in [HAC]).
EME_PKCS1_V1_5 - class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
An implementation of the EME-PKCS1-V1.5 encoding and decoding methods.

EME-PKCS1-V1.5 is parameterised by the entity k which is the byte count of an RSA public shared modulus.

References:

  1. Public-Key Cryptography Standards (PKCS) #1:
    RSA Cryptography Specifications Version 2.1.
    Jakob Jonsson and Burt Kaliski.
EME_PKCS1_V1_5_PAD - static field in class gnu.crypto.Registry
EME-PKCS1-v1_5 padding as described in section 7.2 in RFC-3447.
EMSA_PKCS1_V1_5 - class gnu.crypto.sig.rsa.EMSA_PKCS1_V1_5
An implementation of the EMSA-PKCS1-V1.5 encoding scheme.

EMSA-PKCS1-V1.5 is parameterised by the choice of hash function Hash and hLen which denotes the length in octets of the hash function output.

References:

  1. Public-Key Cryptography Standards (PKCS) #1:
    RSA Cryptography Specifications Version 2.1.
    Jakob Jonsson and Burt Kaliski.
EMSA_PSS - class gnu.crypto.sig.rsa.EMSA_PSS
An implementation of the EMSA-PSS encoding/decoding scheme.

EMSA-PSS coincides with EMSA4 in IEEE P1363a D5 except that EMSA-PSS acts on octet strings and not on bit strings.

encode() - method in class gnu.crypto.sasl.OutputBuffer
Returns the encoded form of the current buffer including the 4-byte length header.
encode(byte[]) - static method in class gnu.crypto.util.Base64
Encodes a byte array into Base64 notation.
encode(byte[]) - method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
Generates an octet string PS of length k - mLen - 3 consisting of pseudo-randomly generated nonzero octets.
encode(byte[],gnu.crypto.prng.IRandom) - method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
Similar to encode(byte[]) method, except that the source of randomness to use for obtaining the padding bytes (an instance of IRandom) is given as a parameter.
encode(byte[],int) - method in class gnu.crypto.sig.rsa.EMSA_PKCS1_V1_5
Frames the hash of a message, along with an ID of the hash function in a DER sequence according to the specifications of EMSA-PKCS1-V1.5 as described in RFC-3447 (see class documentation).
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.
encode(byte[],int,int,boolean) - static method in class gnu.crypto.util.Base64
Encodes a byte array into Base64 notation.
encode(byte[],Random) - method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
Similar to the encode(byte[],IRandom) method, except that the source of randmoness is an instance of Random.
encode(DataOutputStream) - method in class gnu.crypto.keyring.Entry
This method is called when this entry needs to be written to an output stream.
encode(DataOutputStream) - method in class gnu.crypto.keyring.Properties
Encodes this set of properties to the given output stream.
encode(DataOutputStream,char[]) - method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
Encodes this entry, protected by a password.
encode(DataOutputStream,char[]) - method in class gnu.crypto.keyring.PasswordEncryptedEntry
Encodes this entry, protected by a password.
encode(DataOutputStream,char[]) - method in class gnu.crypto.keyring.PasswordProtectedEntry
Encodes this entry, protected by a password.
encodePayload() - method in class gnu.crypto.keyring.AuthenticatedEntry
encodePayload() - method in class gnu.crypto.keyring.BinaryDataEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.CertificateEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.CertPathEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.CompressedEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.EncryptedEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.Entry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.EnvelopeEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.PasswordEncryptedEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.PrivateKeyEntry
This method is called of subclasses when the payload data needs to be created.
encodePayload() - method in class gnu.crypto.keyring.PublicKeyEntry
encodePayload(DataOutputStream) - method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
encodePrivateKey(PrivateKey) - method in class gnu.crypto.key.dh.DHKeyPairRawCodec
Returns the encoded form of the designated Diffie-Hellman private key according to the Raw format supported by this library.

The Raw format for a DH private key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_DH_PRIVATE_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the DH parameter q,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter q,
  5. 4-byte count of following bytes representing the DH parameter p in internet order,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter p,
  7. 4-byte count of following bytes representing the DH parameter g,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter g,
  9. 4-byte count of following bytes representing the DH parameter x,
  10. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter x,
encodePrivateKey(PrivateKey) - method in class gnu.crypto.key.dss.DSSKeyPairRawCodec
Returns the encoded form of the designated DSS (Digital Signature Standard) private key according to the Raw format supported by this library.

The Raw format for a DSA private key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_DSS_PRIVATE_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the DSA parameter p in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter p,
  5. 4-byte count of following bytes representing the DSA parameter q,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter q,
  7. 4-byte count of following bytes representing the DSA parameter g,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter g,
  9. 4-byte count of following bytes representing the DSA parameter x,
  10. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter x,
encodePrivateKey(PrivateKey) - method in class gnu.crypto.key.IKeyPairCodec
Encodes an instance of a private key for storage or transmission purposes.
encodePrivateKey(PrivateKey) - method in class gnu.crypto.key.rsa.RSAKeyPairRawCodec
Returns the encoded form of the designated RSA private key according to the Raw format supported by this library.

The Raw format for an RSA private key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_RSA_PRIVATE_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the RSA parameter p (the first prime factor of the modulus) in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter p,
  5. 4-byte count of following bytes representing the RSA parameter q (the second prime factor of the modulus) in internet order,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter q,
  7. 4-byte count of following bytes representing the RSA parameter e (the public exponent) in internet order,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter e,
  9. 4-byte count of following bytes representing the RSA parameter d (the private exponent) in internet order,
  10. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter d,
encodePrivateKey(PrivateKey) - method in class gnu.crypto.key.srp6.SRPKeyPairRawCodec
Returns the encoded form of the designated SRP private key according to the Raw format supported by this library.

The Raw format for an SRP private key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_SRP_PRIVATE_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the SRP parameter N in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter N,
  5. 4-byte count of following bytes representing the SRP parameter g,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter g,
  7. 4-byte count of following bytes representing the SRP parameter x,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter x,
  9. one byte which indicates whether the SRP parameter v is included in this encoding (value 0x01) or not (value 0x00).
  10. 4-byte count of following bytes representing the SRP parameter v,
  11. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter v,
encodePublicKey(PublicKey) - method in class gnu.crypto.key.dh.DHKeyPairRawCodec
Returns the encoded form of the designated Diffie-Hellman public key according to the Raw format supported by this library.

The Raw format for a DH public key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_DH_PUBLIC_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the DH parameter q in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter q,
  5. 4-byte count of following bytes representing the DH parameter p in internet order,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter p,
  7. 4-byte count of following bytes representing the DH parameter g,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter g,
  9. 4-byte count of following bytes representing the DH parameter y,
  10. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DH parameter y,
encodePublicKey(PublicKey) - method in class gnu.crypto.key.dss.DSSKeyPairRawCodec
Returns the encoded form of the designated DSS (Digital Signature Standard) public key according to the Raw format supported by this library.

The Raw format for a DSA public key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_DSS_PUBLIC_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the DSA parameter p in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter p,
  5. 4-byte count of following bytes representing the DSA parameter q,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter q,
  7. 4-byte count of following bytes representing the DSA parameter g,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter g,
  9. 4-byte count of following bytes representing the DSA parameter y,
  10. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSA parameter y,
encodePublicKey(PublicKey) - method in class gnu.crypto.key.IKeyPairCodec
Encodes an instance of a public key for storage or transmission purposes.
encodePublicKey(PublicKey) - method in class gnu.crypto.key.rsa.RSAKeyPairRawCodec
Returns the encoded form of the designated RSA public key according to the Raw format supported by this library.

The Raw format for an RSA public key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_RSA_PUBLIC_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the RSA parameter n (the modulus) in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter n,
  5. 4-byte count of following bytes representing the RSA parameter e (the public exponent) in internet order,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the RSA parameter e.
encodePublicKey(PublicKey) - method in class gnu.crypto.key.srp6.SRPKeyPairRawCodec
Returns the encoded form of the designated SRP public key according to the Raw format supported by this library.

The Raw format for an SRP public key, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_SRP_PUBLIC_KEY,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the SRP parameter N in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter N,
  5. 4-byte count of following bytes representing the SRP parameter g,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter g,
  7. 4-byte count of following bytes representing the SRP parameter y,
  8. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the SRP parameter y,
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.

The Raw format for a DSA signature, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_DSS_SIGNATURE,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the DSS parameter r in internet order,
  4. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSS parameter r,
  5. 4-byte count of following bytes representing the DSS parameter s,
  6. n-bytes representation of a BigInteger obtained by invoking the toByteArray() method on the DSS parameter s.
encodeSignature(Object) - method in class gnu.crypto.sig.ISignatureCodec
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.

The Raw format for an RSA-PSS signature, in this implementation, is a byte sequence consisting of the following:

  1. 4-byte magic consisting of the value of the literal Registry.MAGIC_RAW_RSA_PSS_SIGNATURE,
  2. 1-byte version consisting of the constant: 0x01,
  3. 4-byte count of following bytes representing the RSA-PSS signature bytes in internet order,
  4. the RSA-PSS signature bytes in internet order.
encrypt(byte[],byte[]) - method in class gnu.crypto.keyring.EncryptedEntry
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Anubis
Encrypts exactly one block of plaintext.
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.Cast5
The full encryption algorithm is given in the following four steps.
    INPUT:  plaintext m1...m64; key K = k1...k128.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.DES
Encrypts exactly one block of plaintext.
Encrypts exactly one block of plaintext.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Khazad
Encrypts exactly one block of plaintext.
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.Rijndael
Encrypts exactly one block of plaintext.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Serpent
Encrypts exactly one block of plaintext.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Square
Encrypts exactly one block of plaintext.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.TripleDES
Encrypts exactly one block of plaintext.
encrypt(byte[],int,byte[],int,Object,int) - method in class gnu.crypto.cipher.Twofish
encrypt(char[]) - method in class gnu.crypto.keyring.PasswordEncryptedEntry
encrypt(PublicKey,BigInteger) - static method in class gnu.crypto.sig.rsa.RSA
An implementation of the RSAEP algorithm.
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.cipher.BaseCipher
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.BaseMode
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CBC
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CFB
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.CTR
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.ECB
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.cipher.IBlockCipher
Encrypts exactly one block of plaintext.
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.ICM
encryptBlock(byte[],int,byte[],int) - method in class gnu.crypto.mode.OFB
Encrypts exactly one block of plaintext.
EncryptedEntry - class gnu.crypto.keyring.EncryptedEntry
ENCRYPTION - static field in class 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.
engineAliases() - method in class gnu.crypto.jce.keyring.GnuKeyring
engineContainsAlias(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineDeleteEntry(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
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
engineGenerateSecret(KeySpec) - method in class gnu.crypto.jce.PBKDF2SecretKeyFactory
engineGenerateSeed(int) - method in class gnu.crypto.jce.prng.ARCFourRandomSpi
engineGenerateSeed(int) - method in class gnu.crypto.jce.prng.ICMRandomSpi
engineGenerateSeed(int) - method in class gnu.crypto.jce.prng.SecureRandomAdapter
engineGenerateSeed(int) - method in class gnu.crypto.jce.prng.UMacRandomSpi
engineGetBlockSize() - method in class gnu.crypto.jce.cipher.ARCFourSpi
engineGetBlockSize() - method in class gnu.crypto.jce.cipher.CipherAdapter
engineGetCertificate(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineGetCertificateAlias(Certificate) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineGetCertificateChain(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineGetCreationDate(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
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
engineGetKey(String,char[]) - method in class gnu.crypto.jce.keyring.GnuKeyring
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,AlgorithmParameters,SecureRandom) - method in class gnu.crypto.jce.cipher.AESSpi
engineInit(int,Key,AlgorithmParameters,SecureRandom) - method in class gnu.crypto.jce.cipher.PBES2
engineInit(int,Key,AlgorithmParameterSpec,SecureRandom) - method in class gnu.crypto.jce.cipher.AESSpi
engineInit(int,Key,AlgorithmParameterSpec,SecureRandom) - method in class gnu.crypto.jce.cipher.PBES2
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(int,Key,SecureRandom) - method in class gnu.crypto.jce.cipher.PBES2
engineInit(Key,AlgorithmParameterSpec) - method in class gnu.crypto.jce.mac.MacAdapter
engineInit(Key,AlgorithmParameterSpec) - method in class gnu.crypto.jce.mac.TMMH16Spi
engineInit(Key,AlgorithmParameterSpec) - method in class gnu.crypto.jce.mac.UMac32Spi
engineInit(Map) - method in class gnu.crypto.key.BaseKeyAgreementParty
engineInit(Map) - method in class gnu.crypto.key.dh.DiffieHellmanReceiver
engineInit(Map) - method in class gnu.crypto.key.dh.DiffieHellmanSender
engineInit(Map) - method in class gnu.crypto.key.dh.ElGamalReceiver
engineInit(Map) - method in class gnu.crypto.key.dh.ElGamalSender
engineInit(Map) - method in class gnu.crypto.key.srp6.SRP6Host
engineInit(Map) - method in class gnu.crypto.key.srp6.SRP6TLSClient
engineInit(Map) - method in class gnu.crypto.key.srp6.SRP6TLSServer
engineInit(Map) - method in class gnu.crypto.key.srp6.SRP6User
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
engineIsCertificateEntry(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineIsKeyEntry(String) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineLoad(InputStream,char[]) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineNextBytes(byte[]) - method in class gnu.crypto.jce.prng.ARCFourRandomSpi
engineNextBytes(byte[]) - method in class gnu.crypto.jce.prng.ICMRandomSpi
engineNextBytes(byte[]) - method in class gnu.crypto.jce.prng.SecureRandomAdapter
engineNextBytes(byte[]) - method in class gnu.crypto.jce.prng.UMacRandomSpi
engineReset() - method in class gnu.crypto.key.BaseKeyAgreementParty
engineReset() - method in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
engineReset() - method in class gnu.crypto.key.dh.ElGamalKeyAgreement
engineReset() - method in class gnu.crypto.jce.mac.MacAdapter
engineReset() - method in class gnu.crypto.jce.hash.MessageDigestAdapter
engineReset() - method in class gnu.crypto.key.srp6.SRP6Host
engineReset() - method in class gnu.crypto.key.srp6.SRP6KeyAgreement
engineReset() - method in class gnu.crypto.key.srp6.SRP6TLSClient
engineReset() - method in class gnu.crypto.key.srp6.SRP6TLSServer
engineReset() - method in class gnu.crypto.key.srp6.SRP6User
engineSetCertificateEntry(String,Certificate) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineSetKeyEntry(String,byte[],Certificate[]) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineSetKeyEntry(String,Key,char[],Certificate[]) - method in class gnu.crypto.jce.keyring.GnuKeyring
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(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.ICMRandomSpi
engineSetSeed(byte[]) - method in class gnu.crypto.jce.prng.SecureRandomAdapter
engineSetSeed(byte[]) - method in class gnu.crypto.jce.prng.UMacRandomSpi
engineSharedSecret() - method in class gnu.crypto.key.BaseKeyAgreementParty
engineSharedSecret() - method in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
engineSharedSecret() - method in class gnu.crypto.key.dh.ElGamalKeyAgreement
engineSharedSecret() - method in class gnu.crypto.key.srp6.SRP6KeyAgreement
engineSign() - method in class gnu.crypto.jce.sig.SignatureAdapter
engineSign(byte[],int,int) - method in class gnu.crypto.jce.sig.SignatureAdapter
engineSize() - method in class gnu.crypto.jce.keyring.GnuKeyring
engineStore(OutputStream,char[]) - method in class gnu.crypto.jce.keyring.GnuKeyring
engineToString() - method in class gnu.crypto.jce.params.BlockCipherParameters
engineTranslateKey(SecretKey) - method in class gnu.crypto.jce.PBKDF2SecretKeyFactory
engineUnwrap(byte[],int,int) - method in class gnu.crypto.sasl.ClientMechanism
engineUnwrap(byte[],int,int) - method in class gnu.crypto.sasl.ServerMechanism
engineUnwrap(byte[],int,int) - method in class gnu.crypto.sasl.srp.SRPClient
engineUnwrap(byte[],int,int) - method in class gnu.crypto.sasl.srp.SRPServer
engineUpdate(byte) - method in class gnu.crypto.jce.mac.MacAdapter
engineUpdate(byte) - method in class gnu.crypto.jce.hash.MessageDigestAdapter
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.mac.MacAdapter
engineUpdate(byte[],int,int) - method in class gnu.crypto.jce.hash.MessageDigestAdapter
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
engineWrap(byte[],int,int) - method in class gnu.crypto.sasl.ClientMechanism
engineWrap(byte[],int,int) - method in class gnu.crypto.sasl.ServerMechanism
engineWrap(byte[],int,int) - method in class gnu.crypto.sasl.srp.SRPClient
engineWrap(byte[],int,int) - method in class gnu.crypto.sasl.srp.SRPServer
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.

It is useful for those evaluating pseudorandom number generators for encryption and statistical sampling applications, compression algorithms, and other applications where the various computed indices are of interest.

For a designated PRNG algorithm, this class computes the following indices:

  • Chi-square test: The chi-square test is the most commonly used test for the randomness of data, and is extremely sensitive to errors in pseudorandom sequence generators.
Ent(gnu.crypto.prng.IRandom) - constructor for class gnu.crypto.tool.Ent
Ent(String,SecureRandom) - constructor for class gnu.crypto.tool.Ent
entries - field in class gnu.crypto.keyring.EnvelopeEntry
The contained entries.
Entry - class gnu.crypto.keyring.Entry
An immutable class representing a single entry in a keyring.
Entry() - constructor for class gnu.crypto.keyring.Entry
Default constructor for use by subclasses.
Entry(int,gnu.crypto.keyring.Properties) - constructor for class gnu.crypto.keyring.Entry
Creates a new Entry.
EnvelopeEntry - class gnu.crypto.keyring.EnvelopeEntry
An envelope entry is a generic container for some number of primitive and other envelope entries.
EnvelopeEntry() - constructor for class gnu.crypto.keyring.EnvelopeEntry
Default constructor for use by subclasses.
EnvelopeEntry(int,gnu.crypto.keyring.Properties) - constructor for class gnu.crypto.keyring.EnvelopeEntry
Creates a new Entry.
equals(Object) - method in class gnu.crypto.key.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.key.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.key.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.key.dh.GnuDHKey
Returns true if the designated object is an instance of DHKey and has the same Diffie-Hellman parameter values as this one.
equals(Object) - method in class gnu.crypto.key.rsa.GnuRSAKey
Returns true if the designated object is an instance of RSAKey and has the same RSA parameter values as this one.
equals(Object) - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
Returns true if the designated object is an instance of this class and has the same RSA parameter values as this one.
equals(Object) - method in class gnu.crypto.key.rsa.GnuRSAPublicKey
Returns true if the designated object is an instance of this class and has the same RSA parameter values as this one.
equals(Object) - method in class gnu.crypto.key.GnuSecretKey
equals(Object) - method in class gnu.crypto.keyring.PrimitiveEntry
equals(Object) - method in class gnu.crypto.key.srp6.SRPKey
Returns true if the designated object is an instance of SRPKey and has the same SRP parameter values as this one.
equals(Object) - method in class gnu.crypto.key.srp6.SRPPrivateKey
Returns true if the designated object is an instance of SRPPrivateKey and has the same SRP parameter values as this one.
equals(Object) - method in class gnu.crypto.key.srp6.SRPPublicKey
Returns true if the designated object is an instance of SRPPublicKeyand has the same SRP parameter values as this one.
evaluateChallenge(byte[]) - method in class gnu.crypto.sasl.anonymous.AnonymousClient
evaluateChallenge(byte[]) - method in class gnu.crypto.sasl.ClientMechanism
evaluateChallenge(byte[]) - method in class gnu.crypto.sasl.crammd5.CramMD5Client
evaluateChallenge(byte[]) - method in class gnu.crypto.sasl.plain.PlainClient
evaluateChallenge(byte[]) - method in class gnu.crypto.sasl.srp.SRPClient
evaluateResponse(byte[]) - method in class gnu.crypto.sasl.anonymous.AnonymousServer
evaluateResponse(byte[]) - method in class gnu.crypto.sasl.crammd5.CramMD5Server
evaluateResponse(byte[]) - method in class gnu.crypto.sasl.plain.PlainServer
evaluateResponse(byte[]) - method in class gnu.crypto.sasl.ServerMechanism
evaluateResponse(byte[]) - method in class gnu.crypto.sasl.srp.SRPServer
EXPONENT_SIZE - static field in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
Property name of the size in bits (Integer) of the private exponent (x).

F

FIELD_GENERATOR - static field in class gnu.crypto.sasl.srp.SRPRegistry
The GF generator used: g.
fillBlock() - method in class gnu.crypto.prng.ARCFour
fillBlock() - method in class gnu.crypto.prng.BasePRNG
fillBlock() - method in class gnu.crypto.prng.ICMGenerator
fillBlock() - method in class gnu.crypto.prng.MDGenerator
fillBlock() - method in class gnu.crypto.prng.PBKDF2
fillBlock() - method in class gnu.crypto.prng.UMacGenerator
FIPS186 - class gnu.crypto.key.dss.FIPS186
An implementation of the DSA parameters generation as described in FIPS-186. References:
Digital Signature Standard (DSS), Federal Information Processing Standards Publication 186.
FIPS186(int,SecureRandom) - constructor for class gnu.crypto.key.dss.FIPS186
fixAlias(String) - method in class gnu.crypto.keyring.BaseKeyring
flush() - method in class gnu.crypto.sasl.SaslOutputStream
FORWARD - static field in class gnu.crypto.assembly.Direction
forward - field in class gnu.crypto.assembly.Stage
fourBytesToLength(byte[]) - static method in class gnu.crypto.key.IncomingMessage
Converts four octets into the number that they represent.
fromBase64(String) - static method in class gnu.crypto.util.Util
The inverse function of the above.

Converts a string representing the encoding of some bytes in Base-64 to their original form.

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 - field in class gnu.crypto.key.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 - field in class gnu.crypto.key.dh.GnuDHKey
The generator g.
g - field in class gnu.crypto.key.srp6.SRP6KeyAgreement
g - field in class gnu.crypto.sasl.srp.SRPClient
g - field in class gnu.crypto.key.srp6.SRPKey
The generator.
G(int,int,int,int,int,byte[],int) - static method in class gnu.crypto.hash.Sha160
G(int,int,int,int,int,int,int,int,byte[],int) - static method in class gnu.crypto.hash.Sha256
G(long,long,long,long,long,long,long,long,byte[],int) - static method in class gnu.crypto.hash.Sha384
G(long,long,long,long,long,long,long,long,byte[],int) - static method in class gnu.crypto.hash.Sha512
GECOS_FIELD - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the GECOS field in the plain password file.
GECOS_FIELD - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of the GECOS field in the plain password file.
generate() - method in class gnu.crypto.key.dss.DSSKeyPairGenerator
generate() - method in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
generate() - method in class gnu.crypto.key.IKeyPairGenerator
Generates a new keypair based on the attributes used to configure the instance.
generate() - method in class gnu.crypto.key.rsa.RSAKeyPairGenerator
The algorithm used here is described in nessie-pss-B.pdf document which is part of the RSA-PSS submission to NESSIE.
generate() - method in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Generates a new keypair based on the attributes used to configure the instance.
generateKeyPair() - method in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
generateKn(byte[],byte[],byte[]) - method in class gnu.crypto.sasl.srp.SRP
generateParameters() - method in class gnu.crypto.key.dss.FIPS186
This method generates the DSS p, q, and g parameters only when L (the modulus length) is not one of the following: 512, 768 and 1024.
generateParameters() - method in class gnu.crypto.key.dh.RFC2631
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.RSAPKCS1V1_5Signature
generateSignature() - method in class gnu.crypto.sig.rsa.RSAPSSSignature
GENERATOR - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
GENERATOR - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Property name of the generator (g) of an SRP key.
get(String) - method in class gnu.crypto.keyring.BaseKeyring
Returns a List of entries (instances of Entry) for the given alias, or null if there no such entry exists.
get(String) - method in class gnu.crypto.keyring.EnvelopeEntry
Gets all primitive entries that have the given alias.
get(String) - method in class gnu.crypto.keyring.IKeyring
Returns a List of entries (instances of Entry) for the given alias, or null if there no such entry exists.
get(String) - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
get(String) - method in class gnu.crypto.keyring.Properties
Returns the value mapped by the given key, or null if there is no such mapping.
getAlgorithm() - method in class gnu.crypto.key.dss.DSSKey
getAlgorithm() - method in class gnu.crypto.key.dh.GnuDHKey
getAlgorithm() - method in class gnu.crypto.key.rsa.GnuRSAKey
getAlgorithm() - method in class gnu.crypto.key.GnuSecretKey
Returns the algorithm name, if any.
getAlgorithm() - method in class gnu.crypto.sasl.srp.SRP
getAlgorithm() - method in class gnu.crypto.key.srp6.SRPKey
Returns the standard algorithm name for this key.
getAlias() - method in class gnu.crypto.keyring.PrimitiveEntry
Returns the alias of this primitive entry.
getAliasList() - method in class gnu.crypto.keyring.EnvelopeEntry
Returns the list of all aliases contained by this envelope, separated by a semicolon (';').
getAuthorizationID() - method in class gnu.crypto.sasl.ClientMechanism
getAuthorizationID() - method in class gnu.crypto.sasl.ServerMechanism
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.
getCascadeTransformer(gnu.crypto.assembly.Cascade) - static method in class gnu.crypto.assembly.Transformer
getCause() - method in class gnu.crypto.key.KeyAgreementException
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
getCause() - method in class gnu.crypto.assembly.TransformerException
getCertificate() - method in class gnu.crypto.keyring.CertificateEntry
Returns this entry's certificate.
getCertificate(String) - method in class gnu.crypto.keyring.GnuPublicKeyring
Returns a certificate that has the given alias, or null if this keyring has no such entry.
getCertificate(String) - method in class gnu.crypto.keyring.IPublicKeyring
Returns a certificate that has the given alias, or null if this keyring has no such entry.
getCertPath() - method in class gnu.crypto.keyring.CertPathEntry
getCertPath(String) - method in class gnu.crypto.keyring.GnuPrivateKeyring
getCertPath(String) - method in class gnu.crypto.keyring.IPrivateKeyring
Returns the certificate path with the given alias, or null if there is no such entry.
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.
getClientIV() - method in class gnu.crypto.sasl.srp.SecurityContext
getConfiguration(String) - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
getConfiguration(String) - method in class gnu.crypto.sasl.IAuthInfoProvider
A provider may operate in more than mode; e.g.
getConfiguration(String) - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
A provider may operate in more than mode; e.g.
getConfiguration(String) - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
A provider may operate in more than mode; e.g.
getContentType() - method in class gnu.crypto.keyring.BinaryDataEntry
Returns the content type of this entry, or null if this property is not set.
getCreationDate() - method in class gnu.crypto.keyring.PrimitiveEntry
Returns the creation date of this primitive entry.
getCrtCoefficient() - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
getData() - method in class gnu.crypto.keyring.BinaryDataEntry
Returns this object's data field.
getDecryptionKeyBytes() - method in class gnu.crypto.cipher.DES.Context
getDeflateTransformer() - static method in class gnu.crypto.assembly.Transformer
getDuration() - method in class gnu.crypto.tool.Ent
getE() - method in class gnu.crypto.key.rsa.GnuRSAKey
getEncoded() - method in class gnu.crypto.key.dss.DSSKey
getEncoded() - method in class gnu.crypto.key.dh.GnuDHPrivateKey
getEncoded() - method in class gnu.crypto.key.dh.GnuDHPublicKey
getEncoded() - method in class gnu.crypto.key.rsa.GnuRSAKey
getEncoded() - method in class gnu.crypto.key.GnuSecretKey
Returns the encoded key, which is merely the byte array this class was created with.
getEncoded() - method in class gnu.crypto.key.srp6.SRPKey
getEncoded(int) - method in class gnu.crypto.key.dss.DSSKey
getEncoded(int) - method in class gnu.crypto.key.dss.DSSPrivateKey
Returns the encoded form of this private key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.dss.DSSPublicKey
Returns the encoded form of this public key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.dh.GnuDHPrivateKey
Returns the encoded form of this private key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.dh.GnuDHPublicKey
Returns the encoded form of this public key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.rsa.GnuRSAKey
getEncoded(int) - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
Returns the encoded form of this private key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.rsa.GnuRSAPublicKey
Returns the encoded form of this public key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.srp6.SRPKey
getEncoded(int) - method in class gnu.crypto.key.srp6.SRPPrivateKey
Returns the encoded form of this private key according to the designated format.
getEncoded(int) - method in class gnu.crypto.key.srp6.SRPPublicKey
Returns the encoded form of this public key according to the designated format.
getEncryptionKeyBytes() - method in class gnu.crypto.cipher.DES.Context
getEntries() - method in class gnu.crypto.keyring.EnvelopeEntry
Returns a copy of all entries this envelope contains.
getEntries() - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
getEOS() - method in class gnu.crypto.sasl.InputBuffer
Decodes a SASL EOS from the current buffer.
getFormat() - method in class gnu.crypto.key.dss.DSSKey
getFormat() - method in class gnu.crypto.key.dh.GnuDHKey
getFormat() - method in class gnu.crypto.key.rsa.GnuRSAKey
getFormat() - method in class gnu.crypto.key.GnuSecretKey
Returns the string "RAW".
getFormat() - method in class gnu.crypto.key.srp6.SRPKey
Returns null since this implementation does not encode SRP keys.
getFormatID() - method in class gnu.crypto.key.dh.DHKeyPairRawCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getFormatID() - method in class gnu.crypto.key.dss.DSSKeyPairRawCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getFormatID() - method in class gnu.crypto.sig.dss.DSSSignatureRawCodec
getFormatID() - method in class gnu.crypto.key.IKeyPairCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getFormatID() - method in class gnu.crypto.sig.ISignatureCodec
getFormatID() - method in class gnu.crypto.key.rsa.RSAKeyPairRawCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getFormatID() - method in class gnu.crypto.sig.rsa.RSAPSSSignatureRawCodec
getFormatID() - method in class gnu.crypto.key.srp6.SRPKeyPairRawCodec
Returns the unique identifier (within this library) of the format used to externalise public and private keys.
getG() - method in class gnu.crypto.key.srp6.SRPKey
Returns the generator.
getInCipher() - method in class gnu.crypto.sasl.srp.SecurityContext
getInCounter() - method in class gnu.crypto.sasl.srp.SecurityContext
getInMac() - method in class gnu.crypto.sasl.srp.SecurityContext
getInputStream() - method in class gnu.crypto.tool.SaslConnection
Returns an input stream that reads from this open connection.
getInstance(byte[]) - static method in class gnu.crypto.key.IncomingMessage
Returns an instance of a message given its encoded contents, excluding the message's header bytes.

Calls the method with the same name and three arguments as: getInstance(raw, 0, raw.length).

getInstance(byte[]) - static method in class gnu.crypto.sasl.InputBuffer
Returns an instance of a SASL buffer given the buffer's encoded contents, excluding the buffer's header bytes.

Calls the method with the same name and three arguments as: getInstance(raw, 0, raw.length).

getInstance(byte[]) - static method in class gnu.crypto.sasl.srp.KDF
A Factory mehod that returns an instance of a KDF based on supplied seed data.
getInstance(byte[]) - static method in class gnu.crypto.key.KeyPairCodecFactory
Returns an instance of a keypair codec given a byte array that is assumed to contain a previously encoded key (public or private).
getInstance(byte[],int,int) - static method in class gnu.crypto.key.IncomingMessage
Returns an instance of a message given its encoded contents, excluding the message's header bytes.
getInstance(byte[],int,int) - static method in class gnu.crypto.sasl.InputBuffer
Returns an instance of a SASL buffer given the buffer's encoded contents, excluding the buffer's header bytes.
getInstance(gnu.crypto.mode.IMode,gnu.crypto.assembly.Direction) - static method in class gnu.crypto.assembly.Stage
getInstance(int) - static method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
getInstance(Key) - static method in class gnu.crypto.key.KeyPairCodecFactory
Returns an instance of a keypair codec given a key.
getInstance(RSAKey) - static method in class gnu.crypto.sig.rsa.EME_PKCS1_V1_5
getInstance(String) - method in class gnu.crypto.sasl.AuthInfoProviderFactory
Returns an implementation of a provider for a designated mechanism capable of honouring IAuthInfoProvider requests.
getInstance(String) - static method in class gnu.crypto.sasl.srp.CALG
Returns an instance of a SASL-SRP CALG implementation.
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.sasl.ClientFactory
getInstance(String) - static method in class gnu.crypto.sig.rsa.EMSA_PKCS1_V1_5
Returns an instance of this object given a designated name of a hash function.
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) - 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.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.sasl.srp.IALG
Returns an instance of a SASL-SRP IALG implementation.
getInstance(String) - method in class gnu.crypto.sasl.IAuthInfoProviderFactory
Returns an implementation of a provider for a designated mechanism capable of honouring IAuthInfoProvider requests.
getInstance(String) - static method in class gnu.crypto.key.KeyPairCodecFactory
Returns an instance of a keypair codec given its name.
getInstance(String) - static method in class gnu.crypto.key.KeyPairGeneratorFactory
Returns an instance of a keypair generator 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.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.sasl.ServerFactory
getInstance(String) - static method in class gnu.crypto.sig.SignatureFactory
Returns an instance of a signature-with-appendix scheme given its name.
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.
getK() - method in class gnu.crypto.sasl.srp.SecurityContext
getKey() - method in class gnu.crypto.keyring.PrivateKeyEntry
Returns this entry's key.
getKey() - method in class gnu.crypto.keyring.PublicKeyEntry
Returns the public key.
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.
getMac() - method in class gnu.crypto.mac.MacInputStream
Returns the MAC this stream is updating.
getMac() - method in class gnu.crypto.mac.MacOutputStream
Returns the MAC this stream is updating.
getMacNames() - static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of MAC algorithms available from this Provider.
getMdName() - method in class gnu.crypto.sasl.srp.SecurityContext
getMean() - method in class gnu.crypto.tool.Ent
getMeanPercentDeviation() - method in class gnu.crypto.tool.Ent
getMechanismName() - method in class gnu.crypto.sasl.ClientMechanism
getMechanismName() - method in class gnu.crypto.sasl.ServerMechanism
getMechanismNames(Map) - method in class gnu.crypto.sasl.ClientFactory
getMechanismNames(Map) - method in class gnu.crypto.sasl.ServerFactory
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.key.rsa.GnuRSAKey
getMPI() - method in class gnu.crypto.sasl.InputBuffer
Decodes a SASL MPI from the current buffer.
getN() - method in class gnu.crypto.key.rsa.GnuRSAKey
Returns the modulus n.
getN() - method in class gnu.crypto.key.srp6.SRPKey
Returns the public shared modulus.
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.sasl.ClientFactory
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.HMacFactory
Returns a java.util.Set of names of HMAC algorithms supported by this Factory.
getNames() - static method in class gnu.crypto.key.KeyAgreementFactory
Returns a Set of key agreement protocol names supported by this Factory.
getNames() - static method in class gnu.crypto.key.KeyPairCodecFactory
Returns a Set of keypair codec names supported by this Factory.
getNames() - static method in class gnu.crypto.key.KeyPairGeneratorFactory
Returns a Set of keypair generator names supported by this Factory.
getNames() - static method in class gnu.crypto.mac.MacFactory
Returns a java.util.Set of names of MAC algorithms supported by this Factory.
getNames() - static method in class gnu.crypto.mode.ModeFactory
Returns a java.util.Set of names of mode supported by this Factory.
getNames() - static method in class gnu.crypto.pad.PadFactory
Returns a java.util.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.sasl.ServerFactory
getNames() - static method in class gnu.crypto.sig.SignatureFactory
Returns a Set of signature-with-appendix scheme names supported by this Factory.
getNegotiatedMaxBuffer() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedMaxBuffer() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyForwardSecrecy() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyForwardSecrecy() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyNoActive() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyNoActive() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyNoAnonymous() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyNoAnonymous() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyNoDictionary() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyNoDictionary() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyNoPlainText() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyNoPlainText() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedPolicyPassCredentials() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedPolicyPassCredentials() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedProperty(String) - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedProperty(String) - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedQOP() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedQOP() - method in class gnu.crypto.sasl.crammd5.CramMD5Client
getNegotiatedQOP() - method in class gnu.crypto.sasl.crammd5.CramMD5Server
getNegotiatedQOP() - method in class gnu.crypto.sasl.plain.PlainClient
getNegotiatedQOP() - method in class gnu.crypto.sasl.plain.PlainServer
getNegotiatedQOP() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedQOP() - method in class gnu.crypto.sasl.srp.SRPClient
getNegotiatedQOP() - method in class gnu.crypto.sasl.srp.SRPServer
getNegotiatedRawSendSize() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedRawSendSize() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedRawSendSize() - method in class gnu.crypto.sasl.srp.SRPClient
getNegotiatedRawSendSize() - method in class gnu.crypto.sasl.srp.SRPServer
getNegotiatedServerAuth() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedServerAuth() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedStrength() - method in class gnu.crypto.sasl.ClientMechanism
getNegotiatedStrength() - method in class gnu.crypto.sasl.ServerMechanism
getNegotiatedStrength() - method in class gnu.crypto.sasl.srp.SRPClient
getNegotiatedStrength() - method in class gnu.crypto.sasl.srp.SRPServer
getNewSessionID() - static method in class gnu.crypto.sasl.srp.ServerStore
Returns a legible new session identifier.
getNonce() - method in class gnu.crypto.jce.spec.UMac32ParameterSpec
Return the nonce material.
getOS() - method in class gnu.crypto.sasl.InputBuffer
Decodes a SASL OS from the current buffer.
getOutCipher() - method in class gnu.crypto.sasl.srp.SecurityContext
getOutCounter() - method in class gnu.crypto.sasl.srp.SecurityContext
getOutMac() - method in class gnu.crypto.sasl.srp.SecurityContext
getOutputStream() - method in class gnu.crypto.tool.SaslConnection
Returns an output stream that writes to this connection.
getPaddingTransformer(gnu.crypto.pad.IPad) - static method in class gnu.crypto.assembly.Transformer
getParams() - method in class gnu.crypto.key.dss.DSSKey
getParams() - method in class gnu.crypto.key.dh.GnuDHKey
getPartyAInstance(String) - static method in class gnu.crypto.key.KeyAgreementFactory
Returns an instance of a key agreeent protocol handler, for party A in a two-party A..B exchange, given the canonical name of this protocol.
getPartyBInstance(String) - static method in class gnu.crypto.key.KeyAgreementFactory
Returns an instance of a key agreeent protocol handler, for party B in a two-party A..B exchange, given the canonical name of this protocol.
getPayload() - method in class gnu.crypto.keyring.Entry
Returns this entry's payload data, or null if
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.key.rsa.GnuRSAPrivateKey
getPrimeExponentQ() - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
getPrimeP() - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
getPrimeQ() - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
getPrivateExponent() - method in class gnu.crypto.key.rsa.GnuRSAPrivateKey
getPrivateKey(String,char[]) - method in class gnu.crypto.keyring.GnuPrivateKeyring
getPrivateKey(String,char[]) - method in class gnu.crypto.keyring.IPrivateKeyring
Returns the private key with the given alias.
getProperties() - method in class gnu.crypto.keyring.Entry
Returns this entry's properties object.
getProperty(String) - static method in class gnu.crypto.Properties
Returns the string representation of the library global configuration property with the designated key.
getProvider(String) - static method in class gnu.crypto.sasl.AuthInfo
A convenience method to return the authentication information provider for a designated SASL mechnanism.
getPublicExponent() - method in class gnu.crypto.key.rsa.GnuRSAKey
Returns the public exponent e.
getPublicKey(String) - method in class gnu.crypto.keyring.GnuPrivateKeyring
getPublicKey(String) - method in class gnu.crypto.keyring.IPrivateKeyring
Returns the public key with the given alias, or null if there is no such entry.
getQ() - method in class gnu.crypto.key.dh.GnuDHKey
getResult() - method in class gnu.crypto.hash.BaseHash
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.Haval
getResult() - method in class gnu.crypto.hash.MD2
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.MD4
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.MD5
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.RipeMD128
getResult() - method in class gnu.crypto.hash.RipeMD160
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.Sha160
getResult() - method in class gnu.crypto.hash.Sha256
getResult() - method in class gnu.crypto.hash.Sha384
Constructs the result from the contents of the current context.
getResult() - method in class gnu.crypto.hash.Sha512
getResult() - method in class gnu.crypto.hash.Tiger
getResult() - method in class gnu.crypto.hash.Whirlpool
Constructs the result from the contents of the current context.
getReuse() - method in class gnu.crypto.sasl.ClientMechanism
getReuse() - method in class gnu.crypto.sasl.ServerMechanism
getReuse() - method in class gnu.crypto.sasl.srp.SRPClient
getReuse() - method in class gnu.crypto.sasl.srp.SRPServer
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.
getSaslClientMechanismNames() - static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of SASL Client mechanisms available from this Provider.
getSaslServerMechanismNames() - static method in class gnu.crypto.jce.GnuCrypto
Returns a Set of names of SASL Server mechanisms available from this Provider.
getScalar(int) - method in class gnu.crypto.sasl.InputBuffer
Decodes a SASL scalar quantity, count-octet long, from the current buffer.
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
getServerIV() - method in class gnu.crypto.sasl.srp.SecurityContext
getSetBits() - method in class gnu.crypto.tool.Ent
getSharedSecret() - method in class gnu.crypto.key.BaseKeyAgreementParty
Returns the byte array containing the shared secret as generated by this party.
getSharedSecret() - method in class gnu.crypto.key.IKeyAgreementParty
Returns the byte array containing the shared secret as generated by this party.
getSID() - method in class gnu.crypto.sasl.srp.SecurityContext
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.
getText() - method in class gnu.crypto.sasl.InputBuffer
Decodes a SASL Text from the current buffer.
getTotalBits() - method in class gnu.crypto.tool.Ent
getV() - method in class gnu.crypto.key.srp6.SRPPrivateKey
Returns the user's verifier as a BigInteger.
getX() - method in class gnu.crypto.key.dss.DSSPrivateKey
getX() - method in class gnu.crypto.key.dh.GnuDHPrivateKey
getX() - method in class gnu.crypto.key.srp6.SRPPrivateKey
Returns the private exponent of the key as a BigInteger.
getY() - method in class gnu.crypto.key.dss.DSSPublicKey
getY() - method in class gnu.crypto.key.dh.GnuDHPublicKey
getY() - method in class gnu.crypto.key.srp6.SRPPublicKey
Returns the public exponent of the key as a BigInteger.
GID_FIELD - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the GID field in the plain password file.
GID_FIELD - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of the GID field in the plain password file.
GKR_CERTIFICATES - static field in class gnu.crypto.Registry
GKR_CIPHER_AES_128_CBC - static field in class gnu.crypto.Registry
GKR_CIPHER_AES_128_OFB - static field in class gnu.crypto.Registry
GKR_HMAC_MD5_128 - static field in class gnu.crypto.Registry
GKR_HMAC_MD5_96 - static field in class gnu.crypto.Registry
GKR_HMAC_SHA_160 - static field in class gnu.crypto.Registry
GKR_HMAC_SHA_96 - static field in class gnu.crypto.Registry
GKR_MAGIC - static field in class gnu.crypto.Registry
GKR_PRIVATE_KEYS - static field in class gnu.crypto.Registry
GKR_PUBLIC_CREDENTIALS - static field in class gnu.crypto.Registry
gnu.crypto - package
Provides a high-level API for combining and using GNU Crypto cipher, mode, and padding primitives.
Provides a basic API for using symetric-key block cipher algorithms.
gnu.crypto.hash - package
Provides a basic API for using message digest algorithms.
gnu.crypto.jce - package
gnu.crypto.key - package
Provides a basic API for algorithms to generate Public/Private keypairs, and Key Agreement schemes.
Provides a basic API for managing private and public authentication credentials stored in file objects.
gnu.crypto.mac - package
Provides a basic API for using Message Authentication Code (MAC) algorithms.
gnu.crypto.mode - package
Provides a basic API for using block cipher Modes of Operation.
gnu.crypto.pad - package
Provides a basic API for using block cipher padding algorithms.
gnu.crypto.prng - package
Provides a basic API for using cryptographically strong pseudo random number generation algorithms.
gnu.crypto.sasl - package
Provides concrete implementations of some SASL (Simple Authentication and Security Layer) mechanisms.
Provides the implementations of the SASL SRP mechanism, as specified in draft-burdis-cat-srp-sasl.
gnu.crypto.sig - package
Provides a basic API for algorithms to use Public/Private keypairs in Digital Signature schemes.
gnu.crypto.tool - package
gnu.crypto.util - package
GNU_CRYPTO - static field in class gnu.crypto.Registry
The name of our Provider.
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.
GnuDHKey - class gnu.crypto.key.dh.GnuDHKey
A base asbtract class for both public and private Diffie-Hellman keys.
GnuDHKey(BigInteger,BigInteger,BigInteger) - constructor for class gnu.crypto.key.dh.GnuDHKey
Trivial protected constructor.
An implementation of a Diffie-Hellman keypair generator.

Reference:

  1. Diffie-Hellman Key Agreement Method
    Eric Rescorla.
GnuDHPrivateKey - class gnu.crypto.key.dh.GnuDHPrivateKey
An implementation of the Diffie-Hellman private key.

Reference:

  1. Diffie-Hellman Key Agreement Method
    Eric Rescorla.
GnuDHPublicKey - class gnu.crypto.key.dh.GnuDHPublicKey
An implementation of the Diffie-Hellman public key.

Reference:

  1. Diffie-Hellman Key Agreement Method
    Eric Rescorla.
GnuKeyring - class gnu.crypto.jce.keyring.GnuKeyring
GnuKeyring() - constructor for class gnu.crypto.jce.keyring.GnuKeyring
GnuPrivateKeyring - class gnu.crypto.keyring.GnuPrivateKeyring
.
GnuPrivateKeyring() - constructor for class gnu.crypto.keyring.GnuPrivateKeyring
GnuPrivateKeyring(String,int,String,String,int) - constructor for class gnu.crypto.keyring.GnuPrivateKeyring
GnuPublicKeyring - class gnu.crypto.keyring.GnuPublicKeyring
GnuPublicKeyring() - constructor for class gnu.crypto.keyring.GnuPublicKeyring
GnuPublicKeyring(String,int) - constructor for class gnu.crypto.keyring.GnuPublicKeyring
GnuRSAKey - class gnu.crypto.key.rsa.GnuRSAKey
A base asbtract class for both public and private RSA keys.
GnuRSAKey(BigInteger,BigInteger) - constructor for class gnu.crypto.key.rsa.GnuRSAKey
Trivial protected constructor.
GnuRSAPrivateKey - class gnu.crypto.key.rsa.GnuRSAPrivateKey
An object that embodies an RSA private key.

References:

  1. RSA-PSS Signature Scheme with Appendix, part B.
    Primitive specification and supporting documentation.
    Jakob Jonsson and Burt Kaliski.
Trivial constructor.
GnuRSAPublicKey - class gnu.crypto.key.rsa.GnuRSAPublicKey
An object that encapsulates an RSA public key.

References:

  1. RSA-PSS Signature Scheme with Appendix, part B.
    Primitive specification and supporting documentation.
    Jakob Jonsson and Burt Kaliski.
GnuRSAPublicKey(BigInteger,BigInteger) - constructor for class gnu.crypto.key.rsa.GnuRSAPublicKey
Trivial constructor.
GnuSecretKey - class gnu.crypto.key.GnuSecretKey
A secret key composed of a sequence of raw, unformatted octets.
GnuSecretKey(byte[],int,int,String) - constructor for class gnu.crypto.key.GnuSecretKey
Creates a new secret key from a portion of a byte array.
GnuSecretKey(byte[],String) - constructor for class gnu.crypto.key.GnuSecretKey
Creates a new secret key.

H

handle(Callback[]) - method in class gnu.crypto.tool.SimpleCallbackHandler
handler - field in class gnu.crypto.sasl.ClientMechanism
Callback handler to use with this mechanism instance.
handler - field in class gnu.crypto.sasl.ServerMechanism
Callback handler to use with this mechanism instance.
HASH_FUNCTION - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
HashFactory - class gnu.crypto.hash.HashFactory
A Factory to instantiate message digest algorithm instances.
hashSize - field in class gnu.crypto.hash.BaseHash
The hash (output) size in bytes.
hashSize() - method in class gnu.crypto.hash.BaseHash
hashSize() - method in class 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.
hasInitialResponse() - method in class gnu.crypto.sasl.anonymous.AnonymousClient
hasInitialResponse() - method in class gnu.crypto.sasl.ClientMechanism
hasInitialResponse() - method in class gnu.crypto.sasl.crammd5.CramMD5Client
hasInitialResponse() - method in class gnu.crypto.sasl.plain.PlainClient
hasInitialResponse() - method in class gnu.crypto.sasl.srp.SRPClient
hasMoreElements() - method in class gnu.crypto.key.IncomingMessage
hasMoreElements() - method in class gnu.crypto.sasl.InputBuffer
hasMorePrimitives() - method in class gnu.crypto.jce.params.DERReader
hasReplayDetection() - method in class gnu.crypto.sasl.srp.SecurityContext
hasSmallPrimeDivisor(BigInteger) - static method in class gnu.crypto.util.Prime
Trial division for the first 1000 small primes.

Returns true if at least one small prime, among the first 1000 ones, was found to divide the designated number.

Haval - class gnu.crypto.hash.Haval
The HAVAL message-digest algorithm is a variable output length, with variable number of rounds.
Haval() - constructor for class gnu.crypto.hash.Haval
Calls the constructor with two argument using HAVAL_128_BIT as the value for the output size (i.e.
Haval(int) - constructor for class gnu.crypto.hash.Haval
Calls the constructor with two arguments using the designated output size, and HAVAL_3_ROUND for the value of number of rounds.
Haval(int,int) - constructor for class gnu.crypto.hash.Haval
Constructs a Haval instance with the designated output size (in bytes).
HAVAL_128_BIT - static field in class gnu.crypto.hash.Haval
HAVAL_160_BIT - static field in class gnu.crypto.hash.Haval
HAVAL_192_BIT - static field in class gnu.crypto.hash.Haval
HAVAL_224_BIT - static field in class gnu.crypto.hash.Haval
HAVAL_256_BIT - static field in class gnu.crypto.hash.Haval
HAVAL_3_ROUND - static field in class gnu.crypto.hash.Haval
HAVAL_4_ROUND - static field in class gnu.crypto.hash.Haval
HAVAL_5_ROUND - static field in class gnu.crypto.hash.Haval
HAVAL_HASH - static field in class gnu.crypto.Registry
HAVAL_VERSION - static field in class gnu.crypto.hash.Haval
HavalRandomSpi - class gnu.crypto.jce.prng.HavalRandomSpi
The implementation of the HAVAL-based SecureRandom Service Provider Interface (SPI) Adapter.

HavalRandomSpi() - constructor for class gnu.crypto.jce.prng.HavalRandomSpi
HavalSpi - class gnu.crypto.jce.hash.HavalSpi
The implementation of the HAVAL Service Provider Interface (SPI) Adapter.

HavalSpi() - constructor for class gnu.crypto.jce.hash.HavalSpi
HMac - class gnu.crypto.mac.HMac
The implementation of the HMAC (Keyed-Hash Message Authentication Code).

HMAC can be used in combination with any iterated cryptographic hash function.

HMac(gnu.crypto.hash.IMessageDigest) - constructor for class gnu.crypto.mac.HMac
Trivial constructor for use by concrete subclasses.
HMAC_MD5 - static field in class gnu.crypto.sasl.srp.SRPRegistry
HMAC_NAME_PREFIX - static field in class gnu.crypto.Registry
Name prefix of every HMAC implementation.
HMAC_RIPEMD_160 - static field in class gnu.crypto.sasl.srp.SRPRegistry
HMAC_SHA1 - static field in class gnu.crypto.sasl.srp.SRPRegistry
HMacFactory - class gnu.crypto.mac.HMacFactory
A Factory to instantiate Keyed-Hash Message Authentication Code (HMAC) algorithm instances.
PBES2.HMacHaval - class gnu.crypto.jce.cipher.PBES2.HMacHaval
HMacHaval() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacHaval
HMacHaval(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval
HMacHaval(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval
HMacHavalSpi - class gnu.crypto.jce.mac.HMacHavalSpi
The implementation of the HMAC-HAVAL Service Provider Interface (SPI) Adapter.
HMacHavalSpi() - constructor for class gnu.crypto.jce.mac.HMacHavalSpi
PBES2.HMacMD2 - class gnu.crypto.jce.cipher.PBES2.HMacMD2
HMacMD2() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacMD2
HMacMD2(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2
HMacMD2(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2
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
PBES2.HMacMD4 - class gnu.crypto.jce.cipher.PBES2.HMacMD4
HMacMD4() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacMD4
HMacMD4(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4
HMacMD4(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4
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
PBES2.HMacMD5 - class gnu.crypto.jce.cipher.PBES2.HMacMD5
HMacMD5() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacMD5
HMacMD5(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5
HMacMD5(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5
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
PBES2.HMacRipeMD128 - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128
HMacRipeMD128() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacRipeMD128
HMacRipeMD128(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128
HMacRipeMD128(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128
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
PBES2.HMacRipeMD160 - class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160
HMacRipeMD160() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacRipeMD160
HMacRipeMD160(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160
Creates a new cipher adapter with the default block size.
HMacRipeMD160(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160
Protected constructor to be called by subclasses.
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
PBES2.HMacSHA1 - class gnu.crypto.jce.cipher.PBES2.HMacSHA1
HMacSHA1() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA1
HMacSHA1(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1
Creates a new cipher adapter with the default block size.
HMacSHA1(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1
Protected constructor to be called by subclasses.
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
PBES2.HMacSHA256 - class gnu.crypto.jce.cipher.PBES2.HMacSHA256
HMacSHA256() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA256
HMacSHA256(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256
Creates a new cipher adapter with the default block size.
HMacSHA256(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256
Protected constructor to be called by subclasses.
HMacSHA256Spi - class gnu.crypto.jce.mac.HMacSHA256Spi
The implementation of the HMAC-SHA-256 Service Provider Interface (SPI) adapter.
HMacSHA256Spi() - constructor for class gnu.crypto.jce.mac.HMacSHA256Spi
PBES2.HMacSHA384 - class gnu.crypto.jce.cipher.PBES2.HMacSHA384
HMacSHA384() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA384
HMacSHA384(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384
HMacSHA384(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384
HMacSHA384Spi - class gnu.crypto.jce.mac.HMacSHA384Spi
The implementation of the HMAC-SHA-384 Service Provider Interface (SPI) adapter.
HMacSHA384Spi() - constructor for class gnu.crypto.jce.mac.HMacSHA384Spi
PBES2.HMacSHA512 - class gnu.crypto.jce.cipher.PBES2.HMacSHA512
HMacSHA512() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacSHA512
HMacSHA512(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512
Creates a new cipher adapter with the default block size.
HMacSHA512(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512
Protected constructor to be called by subclasses.
HMacSHA512Spi - class gnu.crypto.jce.mac.HMacSHA512Spi
The implementation of the HMAC-SHA-512 Service Provider Interface (SPI) adapter.
HMacSHA512Spi() - constructor for class gnu.crypto.jce.mac.HMacSHA512Spi
PBES2.HMacTiger - class gnu.crypto.jce.cipher.PBES2.HMacTiger
HMacTiger() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacTiger
HMacTiger(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger
Creates a new cipher adapter with the default block size.
HMacTiger(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger
Protected constructor to be called by subclasses.
HMacTigerSpi - class gnu.crypto.jce.mac.HMacTigerSpi
The implementation of the Tiger Service Provider Interface (SPI) adapter.
HMacTigerSpi() - constructor for class gnu.crypto.jce.mac.HMacTigerSpi
PBES2.HMacWhirlpool - class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool
HMacWhirlpool() - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory.HMacWhirlpool
HMacWhirlpool(String) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool
Creates a new cipher adapter with the default block size.
HMacWhirlpool(String,int) - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool
Protected constructor to be called by subclasses.
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
HOST_PASSWORD_DB - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement

I

I2OSP(BigInteger,int) - static method in class gnu.crypto.sig.rsa.RSA
Converts a multi-precision integer (MPI) s into an octet sequence of length k.
IALG - class gnu.crypto.sasl.srp.IALG
A Factory class that returns IALG (Integrity Algorithm) instances that operate as described in the draft-burdis-cat-sasl-srp-04 and later.
IAuthInfoProvider - interface gnu.crypto.sasl.IAuthInfoProvider
The visible methods of any authentication information provider.
The visible method of every authentication information provider factory.
IBlockCipher - interface gnu.crypto.cipher.IBlockCipher
The basic visible methods of any symmetric key block cipher.

A symmetric key block cipher is a function that maps n-bit plaintext blocks to n-bit ciphertext blocks; n being the cipher's block size.

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 is a way to define a pseudorandom keystream generator using a block cipher.

ICM(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.ICM
Trivial package-private constructor for use by the Factory class.
ICM_MODE - static field in class gnu.crypto.Registry
Integer Counter Mode (David McGrew).
ICM_PRNG - static field in class gnu.crypto.Registry
PRNG based on David McGrew's Integer Counter Mode.
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 java.security.SecureRandom.
IKeyAgreementParty - interface gnu.crypto.key.IKeyAgreementParty
The visible methods of an key agreement protocol participating party.
IKeyPairCodec - interface gnu.crypto.key.IKeyPairCodec
The visible methods of an object that knows how to encode and decode cryptographic asymmetric keypairs.
IKeyPairGenerator - interface gnu.crypto.key.IKeyPairGenerator
The visible methods of every asymmetric keypair generator.

IKeyring - interface gnu.crypto.keyring.IKeyring
The top-level interface to a keyring: a file that is used to store and protect public and private cryptographic keys.

A keyring is modelled as a mapping of one alias to one or more entries (optionally of different types).

See also the sub-interfaces IPublicKeyring and IPrivateKeyring for special types of keyrings --the difference being in the type of entries they contain.

A checked exception thrown to indicate that an operation that should be invoked on a completed mechanism was invoked but the authentication phase of that mechanism was not completed yet, or that an operation that should be invoked on incomplete mechanisms was invoked but the authentication phase of that mechanism was already completed.
Constructs a new instance of IllegalMechanismStateException with no detail message.
Constructs a new instance of IllegalMechanismStateException with the specified detail message.
Constructs a new instance of IllegalMechanismStateException with the specified detail message, and cause.
IMac - interface gnu.crypto.mac.IMac
The basic visible methods of any MAC (Message Authentication Code) algorithm.

A MAC provides a way to check the integrity of information transmitted over, or stored in, an unreliable medium, based on a secret key.

IMessageDigest - interface gnu.crypto.hash.IMessageDigest
The basic visible methods of any hash algorithm.

A hash (or message digest) algorithm produces its output by iterating a basic compression function on blocks of data.

IMode - interface gnu.crypto.mode.IMode
The basic visible methods of any block cipher mode.

Block ciphers encrypt plaintext in fixed size n-bit blocks.

in - field in class gnu.crypto.key.IncomingMessage
The internal buffer stream containing the message's contents.
in - field in class gnu.crypto.sasl.InputBuffer
The internal buffer stream containing the buffer's contents.
inBuffer - field in class gnu.crypto.assembly.Transformer
IncomingMessage - class gnu.crypto.key.IncomingMessage
An implementation of an incoming message for use with key agreement protocols.
IncomingMessage(byte[]) - constructor for class gnu.crypto.key.IncomingMessage
Constructs an incoming message given the message's encoded form, including its header bytes.
INDEX - static field in class gnu.crypto.prng.UMacGenerator
Property name of the KDF index value to use in this instance.
INDEX_LENGTH - static field 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[],byte[],byte[],byte[]) - method in class gnu.crypto.mac.UHash32.L1Hash32
init(gnu.crypto.sasl.srp.KDF) - method in class gnu.crypto.sasl.srp.IALG
Initialises a SASL-SRP CALG implementation.
init(int) - method in class gnu.crypto.pad.BasePad
Initialises the padding scheme with a designated block size.
init(int) - method in class gnu.crypto.pad.IPad
Initialises the padding scheme with a designated block size.
init(Map) - method in class gnu.crypto.assembly.Assembly
Initialises the Assembly for operation with specific characteristics.
init(Map) - method in class gnu.crypto.cipher.BaseCipher
init(Map) - method in class gnu.crypto.key.BaseKeyAgreementParty
Sets up the instance to operate with specific attributes.
init(Map) - method in class gnu.crypto.mac.BaseMac
init(Map) - method in class gnu.crypto.mode.BaseMode
init(Map) - method in class gnu.crypto.prng.BasePRNG
Initialises the pseudo-random number generator scheme with the appropriate attributes.
init(Map) - method in class gnu.crypto.assembly.Cascade
Initialises the chain for operation with specific characteristics.
init(Map) - method in class gnu.crypto.sasl.ClientMechanism
Initialises the mechanism with designated attributes.
init(Map) - method in class gnu.crypto.mac.HMac
init(Map) - method in class gnu.crypto.cipher.IBlockCipher
Initialises the algorithm with designated attributes.
init(Map) - method in class gnu.crypto.key.IKeyAgreementParty
Sets up the instance to operate with specific attributes.
init(Map) - method in class gnu.crypto.mac.IMac
Initialises the algorithm with designated attributes.
init(Map) - method in class gnu.crypto.prng.IRandom
Initialises the pseudo-random number generator scheme with the appropriate attributes.
init(Map) - method in class gnu.crypto.assembly.LoopbackTransformer
Initialises the Transformer for operation with specific characteristics.
init(Map) - method in class gnu.crypto.sasl.ServerMechanism
Initialises the mechanism with designated attributes.
init(Map) - method in class gnu.crypto.assembly.Stage
Initialises the stage for operation with specific characteristics.
init(Map) - method in class gnu.crypto.mac.TMMH16
init(Map) - method in class gnu.crypto.assembly.Transformer
Initialises the Transformer for operation with specific characteristics.
init(Map) - method in class gnu.crypto.mac.UHash32
Initialises the algorithm with designated attributes.
init(Map) - method in class gnu.crypto.mac.UMac32
Initialising a UMAC instance consists of defining values for the following parameters:
  1. Key Material: as the value of the attribute entry keyed by UMac32.
init(Map) - method in class gnu.crypto.exp.ust.UST
Initialise this instance with the designated set of attributes.

The possible attributes for a UST are:

  • CONFIDENTIALITY: a java.lang.Boolean that indicates if Confidentiality Protection service is to be activated for messages processed with this instance.
  • INTEGRITY: a java.lang.Boolean that indicates if Integrity Protection service is to be activated for messages processed with this instance.
  • KEYSTREAM: a java.lang.String that indicates the algorithm name of the underlying keystream generators used with this instance.
init(source[]) - method in class gnu.crypto.jce.params.DERReader
init(String) - method in class gnu.crypto.jce.params.DERReader
initDelegate(Map) - method in class gnu.crypto.assembly.CascadeStage
initDelegate(Map) - method in class gnu.crypto.assembly.CascadeTransformer
initDelegate(Map) - method in class gnu.crypto.assembly.DeflateTransformer
initDelegate(Map) - method in class gnu.crypto.assembly.LoopbackTransformer
initDelegate(Map) - method in class gnu.crypto.assembly.ModeStage
initDelegate(Map) - method in class gnu.crypto.assembly.PaddingTransformer
initDelegate(Map) - method in class gnu.crypto.assembly.Stage
initDelegate(Map) - method in class gnu.crypto.assembly.Transformer
initialised - field in class gnu.crypto.key.BaseKeyAgreementParty
Whether the instance is initialised or not.
initialised - field in class gnu.crypto.prng.BasePRNG
Indicate if this instance has already been initialised or not.
initialize(int,SecureRandom) - method in class gnu.crypto.jce.sig.DSSKeyPairGeneratorSpi
initialize(int,SecureRandom) - method in class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
initialize(int,SecureRandom) - method in class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi
initMechanism() - method in class gnu.crypto.sasl.anonymous.AnonymousClient
initMechanism() - method in class gnu.crypto.sasl.anonymous.AnonymousServer
initMechanism() - method in class gnu.crypto.sasl.ClientMechanism
initMechanism() - method in class gnu.crypto.sasl.crammd5.CramMD5Client
initMechanism() - method in class gnu.crypto.sasl.crammd5.CramMD5Server
initMechanism() - method in class gnu.crypto.sasl.plain.PlainClient
initMechanism() - method in class gnu.crypto.sasl.plain.PlainServer
initMechanism() - method in class gnu.crypto.sasl.ServerMechanism
initMechanism() - method in class gnu.crypto.sasl.srp.SRPClient
initMechanism() - method in class gnu.crypto.sasl.srp.SRPServer
InputBuffer - class gnu.crypto.sasl.InputBuffer
The implementation of an incoming SASL buffer.

The data elements this class caters for are described in [1].

References:

  1. Secure Remote Password Authentication Mechanism;
    draft-burdis-cat-srp-sasl-09,
    Keith Burdis and Raïf S.
InputBuffer(byte[]) - constructor for class gnu.crypto.sasl.InputBuffer
Constructs a SASL buffer given the buffer's encoded form, including its header bytes.
insert(int,gnu.crypto.assembly.Stage) - method in class gnu.crypto.assembly.Cascade
Inserts a Stage into the current chain, at the specified index (zero-based) position.
instance() - static method in class gnu.crypto.sasl.srp.ClientStore
Returns the classloader Singleton.
instance() - static method in class gnu.crypto.sasl.srp.ServerStore
Returns the classloader Singleton.
instance(String) - static method in class gnu.crypto.sasl.srp.SRP
Returns an instance of this object that uses the designated message digest algorithm as its digest function.
INTEGRITY - static field in class gnu.crypto.exp.ust.UST
Property name of the integrity protection flag.
INTEGRITY_ALGORITHMS - static field in class gnu.crypto.sasl.srp.SRPRegistry
Available HMAC algorithms for integrity protection.
IntegrityException - class gnu.crypto.sasl.IntegrityException
Used by mechanisms that offer a security services layer, this checked exception is thrown to indicate that a violation has occured during the processing of an integrity protection filter, including replay detection.
IntegrityException() - constructor for class gnu.crypto.sasl.IntegrityException
Constructs a new instance of IntegrityException with no detail message.
IntegrityException(String) - constructor for class gnu.crypto.sasl.IntegrityException
Constructs a new instance of IntegrityException with the specified detail message.
IntegrityException(String,Throwable) - constructor for class gnu.crypto.sasl.IntegrityException
Constructs a new instance of IntegrityException with a detailed message and a root exception.
invalidateSession(byte[]) - method in class gnu.crypto.sasl.srp.ServerStore
Removes all information related to the designated session ID.
invalidateSession(String) - method in class gnu.crypto.sasl.srp.ClientStore
Removes the mapping between the designated SRP client unique identifier and the its session security context (and other timing information).
IPad - interface gnu.crypto.pad.IPad
The basic visible methods of any padding algorithm.

Padding algorithms serve to pad and unpad byte arrays usually as the last step in an encryption or respectively a decryption operation.

ipad - field in class gnu.crypto.mac.HMac
ipadHash - field in class gnu.crypto.mac.HMac
IPBE - interface gnu.crypto.prng.IPBE
Trivial interface to group Password-based encryption property names.
IPrivateKeyring - interface gnu.crypto.keyring.IPrivateKeyring
An interface to private, or "personal", keyrings, which contain private credentials.
IPublicKeyring - interface gnu.crypto.keyring.IPublicKeyring
An interface for keyrings that contain trusted (by the owner) public credentials (incl. certificates).
IRandom - interface gnu.crypto.prng.IRandom
The basic visible methods of any pseudo-random number generator.

The [HAC] defines a PRNG (as implemented in this library) as follows:

  • "5.6 Definition: A pseudorandom bit generator (PRBG) is said to pass the next-bit test if there is no polynomial-time algorithm which, on input of the first L bits of an output sequence S, can predict the (L+1)st bit of S with a probability significantly grater than 1/2."
  • "5.8 Definition: A PRBG that passes the next-bit test (possibly under some plausible but unproved mathematical assumption such as the intractability of factoring integers) is called a cryptographically secure pseudorandom bit generator (CSPRBG)."

IMPLEMENTATION NOTE: Although all the concrete classes in this package implement the Cloneable interface, it is important to note here that such an operation, for those algorithms that use an underlting symmetric key block cipher, DOES NOT clone any session key material that may have been used in initialising the source PRNG (the instance to be cloned).

irnd - field in class gnu.crypto.key.BaseKeyAgreementParty
The optional IRandom instance to use.
isAlive() - method in class gnu.crypto.sasl.srp.StoreEntry
Returns true if the Time-To_live period has not elapsed.
isAlive(byte[]) - method in class gnu.crypto.sasl.srp.ServerStore
Returns a boolean flag indicating if the designated session is still alive or not.
isAlive(String) - method in class gnu.crypto.sasl.srp.ClientStore
Returns a boolean flag indicating if the designated client's session is still alive or not.
isComplete() - method in class gnu.crypto.key.BaseKeyAgreementParty
Returns true if the party in the key agreement protocol exchange has completed its part of the exchange.
isComplete() - method in class gnu.crypto.sasl.ClientMechanism
isComplete() - method in class gnu.crypto.sasl.crammd5.CramMD5Server
isComplete() - method in class gnu.crypto.key.IKeyAgreementParty
Returns true if the party in the key agreement protocol exchange has completed its part of the exchange.
isComplete() - method in class gnu.crypto.sasl.ServerMechanism
isConnected() - method in class gnu.crypto.tool.SaslConnection
Returns true if the communications link with the end-point has been established; false otherwise.
ISignature - interface gnu.crypto.sig.ISignature
The visible methods of every signature-with-appendix scheme.

The Handbook of Applied Cryptography (HAC), by A.

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
isMasked() - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
Gets the masked state of this object.
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.
isParityAdjusted(byte[],int) - static method in class gnu.crypto.cipher.TripleDES
Tests if a byte array has already been parity adjusted.
isPossibleWeak(byte[]) - static method in class gnu.crypto.cipher.DES
Test if the designated byte array represents a possibly weak key.
isPostProcessing() - method in class gnu.crypto.assembly.Transformer
Returns true if this Transformer was wired in post-processing mode; false otherwise.
isPreProcessing() - method in class gnu.crypto.assembly.Transformer
Returns true if this Transformer was wired in pre-processing mode; false otherwise.
isProbablePrime(BigInteger) - static method in class gnu.crypto.util.Prime
isProbablePrime(BigInteger,int) - 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.
isReproducible() - static method in class gnu.crypto.Properties
A convenience method that returns, as a boolean, the library global configuration property indicating if the default Pseudo Random Number Generator produces, or not, the same bit stream when instantiated.
isSemiWeak(byte[]) - static method in class gnu.crypto.cipher.DES
Test if a key is a semi-weak key.
isValidToken(String) - static method in class gnu.crypto.sasl.anonymous.AnonymousUtil
isValidTraceInformation(String) - static method in class gnu.crypto.sasl.anonymous.AnonymousUtil
isWeak(byte[]) - static method in class gnu.crypto.cipher.DES
Test if a key is a weak key.
ITERATION_COUNT - static field in class gnu.crypto.prng.IPBE
Property name for the iteration count in a PBE algorithm.
ITERATION_COUNT - static field in class gnu.crypto.keyring.PasswordProtectedEntry
The iteration count for password-based KDFs.
iv - field in class gnu.crypto.mode.BaseMode
The initialisation vector value.
iv - field in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The initialization vector.
IV - static field in class gnu.crypto.mode.IMode
Property name of the initialisation vector to use, if required, with this instance.

J

joinarrays(a[],b[]) - method in class gnu.crypto.jce.params.DERWriter
joinarrays(a[],b[],c[]) - method in class gnu.crypto.jce.params.DERWriter

K

K - field in class gnu.crypto.key.srp6.SRP6KeyAgreement
The shared secret key.
KA_DIFFIE_HELLMAN_OWNER_PRIVATE_KEY - static field in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
KA_ELGAMAL_RECIPIENT_PRIVATE_KEY - static field in class gnu.crypto.key.dh.ElGamalKeyAgreement
KA_ELGAMAL_RECIPIENT_PUBLIC_KEY - static field in class gnu.crypto.key.dh.ElGamalKeyAgreement
KDF - class gnu.crypto.sasl.srp.KDF
The SASL-SRP KDF implementation, which is also used, depending on how it was instantiated, as a secure Pseudo Random Number Generator.
KEY_LEN - static field in class gnu.crypto.mac.UMac32
KEY_MATERIAL - static field in class gnu.crypto.cipher.IBlockCipher
Property name of the user-supplied key material.
KEY_MATERIAL - static field in class gnu.crypto.exp.ust.UST
Property name of the UST user-supplied key material.
KEY_PARAMS_1024 - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
KEY_PARAMS_512 - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
KEY_PARAMS_768 - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
KEY_SIZE - static field in class gnu.crypto.cipher.DES
DES uses 56 bits of a 64 bit parity-adjusted key.
KEY_SIZE - static field in class gnu.crypto.cipher.TripleDES
Triple-DES uses 168 bits of a parity-adjusted 192 bit key.
A generic exception indicating that an unexpected condition has been detected during the setup and/or processing of a key agreement protocol exchange.
KeyAgreementException() - constructor for class gnu.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException.
KeyAgreementException(String) - constructor for class gnu.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException with a detailed message.
KeyAgreementException(String,Throwable) - constructor for class gnu.crypto.key.KeyAgreementException
Constructs a new instance of KeyAgreementException with a detailed message and a root exception.
A Factory class to generate key agreement protocol handlers.
keyLen - field in class gnu.crypto.jce.cipher.CipherAdapter
The current key size.
keylen - field in class gnu.crypto.keyring.GnuPrivateKeyring
A Factory class to instantiate key encoder/decoder instances.
The implementation of a generic java.security.KeyPairGenerator adapter class to wrap gnu.crypto keypair generator instances.

This class defines the Service Provider Interface (SPI) for the java.security.KeyPairGenerator class, which is used to generate pairs of public and private keys.

All the abstract methods in the java.security.KeyPairGeneratorSpi class are implemented by this class and all its sub-classes.

In case the client does not explicitly initialize the KeyPairGenerator (via a call to an initialize() method), the GNU Crypto provider supplies (and document) default values to be used.

KeyPairGeneratorAdapter(String) - constructor for class gnu.crypto.jce.sig.KeyPairGeneratorAdapter
Trivial protected constructor.
A Factory to instantiate asymmetric keypair generators.
keyring - field in class gnu.crypto.keyring.BaseKeyring
The top-level keyring data.
keyring2 - field in class gnu.crypto.keyring.BaseKeyring
KEYRING_DATA_IN - static field in class gnu.crypto.keyring.IKeyring
Property name for the source of data to load the keyring from.
KEYRING_DATA_OUT - static field in class gnu.crypto.keyring.IKeyring
Property name for the data sink to store the keyring to.
KEYRING_PASSWORD - static field in class gnu.crypto.keyring.IKeyring
Property name for the keyring's top-level password, used to authenticate and/or transform the store itself.
keySize - field in class gnu.crypto.jce.spec.BlockCipherParameterSpec
The cipher's key size, in bytes.
keySizes() - method in class gnu.crypto.cipher.Anubis
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.mode.BaseMode
Returns an Iterator over the supported underlying block cipher key sizes.
keySizes() - method in class gnu.crypto.cipher.Blowfish
keySizes() - method in class gnu.crypto.cipher.Cast5
Returns an Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.DES
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.IBlockCipher
Returns an Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.IBlockCipherSpi
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.Khazad
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.NullCipher
keySizes() - method in class gnu.crypto.cipher.Rijndael
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.Serpent
Returns an Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.Square
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.TripleDES
Returns an java.util.Iterator over the supported key sizes.
keySizes() - method in class gnu.crypto.cipher.Twofish
KEYSTREAM - static field in class gnu.crypto.mac.TMMH16
keystream - field in class gnu.crypto.jce.spec.TMMHParameterSpec
The keystream.
KEYSTREAM - static field in class gnu.crypto.exp.ust.UST
Property name of the keystream generator type to use.
Khazad - class gnu.crypto.cipher.Khazad
Khazad is a 64-bit (legacy-level) block cipher that accepts a 128-bit key.
PBES2.HMacHaval.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Khazad
PBES2.HMacMD2.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Khazad
PBES2.HMacMD4.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Khazad
PBES2.HMacMD5.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Khazad
PBES2.HMacSHA1.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Khazad
PBES2.HMacSHA256.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Khazad
PBES2.HMacSHA384.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Khazad
PBES2.HMacSHA512.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Khazad
PBES2.HMacTiger.Khazad - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Khazad
Khazad() - constructor for class gnu.crypto.cipher.Khazad
Trivial 0-arguments constructor.
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Khazad
Khazad() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Khazad
KHAZAD_CIPHER - static field in class gnu.crypto.Registry
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 field in class gnu.crypto.cipher.Blowfish
Initial value of S-box 1.

L

L1_KEY_LEN - static field in class gnu.crypto.mac.UMac32
l1hash - field in class gnu.crypto.mac.UHash32
UHash32.L1Hash32 - class gnu.crypto.mac.UHash32.L1Hash32
First hash stage of the UHash32 algorithm.
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. 5.4 L2-HASH-32: Second-layer hash.

  • Input:
    K string of length 24 bytes.
    M string of length less than 2^64 bytes.
  • Returns:
    Y, string of length 16 bytes.
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.
L3Hash32(byte[],byte[]) - constructor for class gnu.crypto.mac.UHash32.L3Hash32
lastUpdate() - method in class gnu.crypto.assembly.Assembly
Convenience method that calls the method with same name and three arguments using a 0-long byte array.
lastUpdate() - method in class gnu.crypto.assembly.LoopbackTransformer
Convenience method that calls the same method with three arguments.
lastUpdate() - method in class gnu.crypto.assembly.Transformer
Convenience method that calls the same method with three arguments.
lastUpdate(byte) - method in class gnu.crypto.assembly.Assembly
Convenience method that calls the method with same name and three arguments, using a byte array of length 1 whose contents are the designated byte.
lastUpdate(byte) - method in class gnu.crypto.assembly.Transformer
Convenience method that calls the method with same name and three arguments, using a byte array of length 1 whose contents are the designated byte.
lastUpdate(byte[]) - method in class gnu.crypto.assembly.Assembly
Convenience method that calls the method with same name and three arguments.
lastUpdate(byte[]) - method in class gnu.crypto.assembly.Transformer
Convenience method that calls the same method with three arguments.
lastUpdate(byte[],int,int) - method in class gnu.crypto.assembly.Assembly
Processes a designated number of bytes from a given byte array and signals, at the same time, that this is the last push operation for this Assembly.
lastUpdate(byte[],int,int) - method in class gnu.crypto.assembly.Transformer
Processes a designated number of bytes from a given byte array and signals, at the same time, that this is the last push operation on this Transformer.
lastUpdateDelegate() - method in class gnu.crypto.assembly.CascadeTransformer
lastUpdateDelegate() - method in class gnu.crypto.assembly.DeflateTransformer
lastUpdateDelegate() - method in class gnu.crypto.assembly.LoopbackTransformer
lastUpdateDelegate() - method in class gnu.crypto.assembly.PaddingTransformer
lastUpdateDelegate() - method in class gnu.crypto.assembly.Transformer
length - field in class gnu.crypto.key.IncomingMessage
The length of the message contents, according to its 4-byte header.
length - field in class gnu.crypto.sasl.InputBuffer
The length of the buffer, according to its header.
length() - method in class gnu.crypto.sasl.srp.IALG
Returns the length (in bytes) of this SASL SRP Integrity Algorithm.
limitReached() - method in class gnu.crypto.keyring.MeteredInputStream
Tests if the number of bytes read has reached the limit.
A checked exception that indicates that a pseudo random number generated has reached its theoretical limit in generating random bytes.
listen() - method in class gnu.crypto.tool.SaslS
load(InputStream,char[]) - method in class gnu.crypto.keyring.BaseKeyring
load(InputStream,char[]) - method in class gnu.crypto.keyring.GnuPrivateKeyring
load(InputStream,char[]) - method in class gnu.crypto.keyring.GnuPublicKeyring
load(Map) - method in class gnu.crypto.keyring.BaseKeyring
Loads a keyring into memory.

What happens to the current contents of this keyring?

load(Map) - method in class gnu.crypto.keyring.IKeyring
Loads a keyring into memory.

What happens to the current contents of this keyring?

lock - field in class gnu.crypto.cipher.BaseCipher
The instance lock.
lock - field in class gnu.crypto.mode.BaseMode
The instance lock.
lookup(Map) - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
lookup(Map) - method in class gnu.crypto.sasl.IAuthInfoProvider
Returns a collection of information about a designated user.
lookup(Map) - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
Returns a collection of information about a designated user.
lookup(Map) - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
Returns a collection of information about a designated user.
lookup(String) - method in class gnu.crypto.sasl.crammd5.PasswordFile
lookup(String) - method in class gnu.crypto.sasl.plain.PasswordFile
lookup(String,String) - method in class gnu.crypto.sasl.srp.PasswordFile
Returns the triplet: verifier, salt and configuration file index, of a designated user, and a designated message digest algorithm name, as an array of strings.
lookupConfig(String) - method in class gnu.crypto.sasl.srp.PasswordFile
Returns a pair of strings representing the pair of N and g MPIs for the designated index.
LoopbackTransformer - class gnu.crypto.assembly.LoopbackTransformer
A trivial Transformer to allow closing a chain in an Assembly.
LoopbackTransformer() - constructor for class gnu.crypto.assembly.LoopbackTransformer
Trivial protected constructor.
LOWER_RANGE - static field in class gnu.crypto.mac.UHash32

M

mac - field in class gnu.crypto.keyring.GnuPrivateKeyring
mac - field in class gnu.crypto.jce.mac.MacAdapter
Our MAC instance.
MAC_KEY_MATERIAL - static field in class gnu.crypto.mac.IMac
Property name of the user-supplied key material.
MacAdapter - class gnu.crypto.jce.mac.MacAdapter
The implementation of a generic javax.crypto.Mac adapter class to wrap GNU Crypto MAC instances.

This class defines the Service Provider Interface (SPI) for the javax.crypto.Mac class, which provides the functionality of a message authentication code algorithm, such as the Hashed Message Authentication Code (HMAC) algorithms.

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.
MacInputStream - class gnu.crypto.mac.MacInputStream
A filtering input stream that computes a MAC (message authentication code) over all data read from the stream.
Creates a new MacInputStream.
maclen - field in class gnu.crypto.keyring.GnuPrivateKeyring
macName - field in class gnu.crypto.jce.cipher.PBES2
The HMac (PRF) algorithm name.
macName - field in class gnu.crypto.jce.PBKDF2SecretKeyFactory
MacOutputStream - class gnu.crypto.mac.MacOutputStream
A filtering output stream that computes a MAC (message authentication code) over all data written to the stream.
Creates a new MacOutputStream.
macSize - field in class gnu.crypto.mac.HMac
macSize() - method in class gnu.crypto.mac.BaseMac
macSize() - method in class gnu.crypto.mac.IMac
Returns the output length in bytes of this MAC algorithm.
macSize() - method in class gnu.crypto.mac.TMMH16
macSize() - method in class gnu.crypto.mac.UHash32
Returns the output length in bytes of this MAC algorithm.
macSize() - method in class gnu.crypto.mac.UMac32
MAGIC_RAW_DH_PRIVATE_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_DH_PUBLIC_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_DSS_PRIVATE_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_DSS_PUBLIC_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_DSS_SIGNATURE - static field in class gnu.crypto.Registry
MAGIC_RAW_RSA_PRIVATE_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_RSA_PSS_SIGNATURE - static field in class gnu.crypto.Registry
MAGIC_RAW_RSA_PUBLIC_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_SRP_PRIVATE_KEY - static field in class gnu.crypto.Registry
MAGIC_RAW_SRP_PUBLIC_KEY - static field in class gnu.crypto.Registry
main(String[]) - static method in class gnu.crypto.tool.CipherSpeed
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.HashSpeed
Accepts 0, 1 or 2 arguments.
main(String[]) - static method in class gnu.crypto.tool.NessieCipherTVEmitter
main(String[]) - static method in class gnu.crypto.tool.NessieHashTVEmitter
main(String[]) - static method in class gnu.crypto.tool.NistKat
The main entry point for this tool.
 Usage:
    gnu.crypto.tool.NistKat (options) cipher [key-size]

 Where:
    cipher
       The canonical name of the cipher algorithm.
main(String[]) - static method in class gnu.crypto.tool.NistMCT
The main entry point for the tool.
 Usage:
    gnu.crypto.tool.NistKat (options) cipher [key-size]

 Where:
    cipher
       The canonical name of the cipher algorithm.
main(String[]) - static method in class gnu.crypto.tool.SaslC
Simple test client that connects to the test server over SASL connections.
main(String[]) - static method in class gnu.crypto.tool.SaslS
A simple test server that handles SASL connections.
main(String[]) - static method in class gnu.crypto.tool.SMTPClient
makeCreationDate() - method in class gnu.crypto.keyring.PrimitiveEntry
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.
makeKey(byte[],int) - method in class gnu.crypto.cipher.Blowfish
makeKey(byte[],int) - method in class gnu.crypto.cipher.Cast5
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
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[],int) - method in class 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.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.NullCipher
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.Serpent
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
Expands a user-supplied key material into a session key for a designated block size.
makeKey(byte[],int) - method in class gnu.crypto.cipher.TripleDES
Expands a user-supplied key material into a session key for a designated block size.
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.
MalformedKeyringException() - constructor for class gnu.crypto.keyring.MalformedKeyringException
MalformedKeyringException(String) - constructor for class gnu.crypto.keyring.MalformedKeyringException
MANDATORY_NONE - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for no mandatory security service.
mark(int) - method in class gnu.crypto.keyring.MeteredInputStream
markSupported() - method in class gnu.crypto.keyring.MeteredInputStream
MaskableEnvelopeEntry - class gnu.crypto.keyring.MaskableEnvelopeEntry
An envelope entry that can be "masked" -- placed in a state where the envelope's contents cannot be accessed, due to the envelope not being fully decoded, for example.
MaskableEnvelopeEntry() - constructor for class gnu.crypto.keyring.MaskableEnvelopeEntry
Default constructor for use by subclasses.
Creates a new Entry.
masked - field in class gnu.crypto.keyring.MaskableEnvelopeEntry
The masked state.
md - field in class gnu.crypto.sig.BaseSignature
The underlying message digest instance for this signature scheme.
MD2 - class gnu.crypto.hash.MD2
An implementation of the MD2 message digest algorithm.

MD2 is not widely used.

MD2() - constructor for class gnu.crypto.hash.MD2
Creates a new MD2 digest ready for use.
MD2_HASH - static field in class gnu.crypto.Registry
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 was the precursor to the stronger MD5 algorithm, and while not considered cryptograpically secure itself, MD4 is in use in various applications.

MD4() - constructor for class gnu.crypto.hash.MD4
Public constructor.
MD4_HASH - static field in class gnu.crypto.Registry
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() - constructor for class gnu.crypto.hash.MD5
Trivial 0-arguments constructor.
MD5_HASH - static field in class gnu.crypto.Registry
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
MD_NAME - static field in class gnu.crypto.prng.MDGenerator
Property name of underlying hash algorithm for this generator.
MD_NAME_FIELD - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the UID field in the plain password file.
MD_PRNG - static field in class gnu.crypto.Registry
PRNG based on a designated hash function.
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.
mechanism - field in class gnu.crypto.sasl.ClientMechanism
Name of this mechanism.
mechanism - field in class gnu.crypto.tool.SaslC
mechanism - field in class gnu.crypto.sasl.ServerMechanism
Name of this mechanism.
MessageDigestAdapter - class gnu.crypto.jce.hash.MessageDigestAdapter
The implementation of a generic java.security.MessageDigest adapter class to wrap gnu.crypto hash instances.

This class defines the Service Provider Interface (SPI) for the java.security.MessageDigest class, which provides the functionality of a message digest algorithm, such as MD5 or SHA.

MessageDigestAdapter(String) - constructor for class gnu.crypto.jce.hash.MessageDigestAdapter
Trivial protected constructor.
MeteredInputStream - class gnu.crypto.keyring.MeteredInputStream
MeteredInputStream(InputStream,int) - constructor for class gnu.crypto.keyring.MeteredInputStream
MINIMUM_MODULUS_BITLENGTH - static field in class gnu.crypto.sasl.srp.SRPRegistry
Minimum bitlength of the SRP public modulus.
mode - field in class gnu.crypto.jce.cipher.CipherAdapter
Our mode instance.
mode - field in class gnu.crypto.keyring.GnuPrivateKeyring
mode - field in class gnu.crypto.assembly.Transformer
MODE_BLOCK_SIZE - static field in class gnu.crypto.mode.IMode
Property name of the block size in which to operate this mode.
modeBlockSize - field 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.
ModeStage - class gnu.crypto.assembly.ModeStage
An IMode Stage in a Cascade Cipher chain.

Such a stage wraps an implementation of a Block Cipher Mode of Operation (IMode) to allow inclusion of such an instance in a cascade of block ciphers.

MODULUS_LENGTH - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
Property name of the length (Integer) of the modulus (p) of a DSS key.
MODULUS_LENGTH - static field in class gnu.crypto.key.rsa.RSAKeyPairGenerator
Property name of the length (Integer) of the modulus of an RSA key.
MODULUS_LENGTH - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Property name of the length (Integer) of the modulus (N) of an SRP key.

N

N - field in class gnu.crypto.key.srp6.SRP6KeyAgreement
N - field in class gnu.crypto.sasl.srp.SRPClient
N - field in class gnu.crypto.key.srp6.SRPKey
The public, Germaine prime, shared modulus.
N_1024 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_1024_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
N_1280 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_1280_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
N_1536 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_1536_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
N_2048 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_2048_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
Indices of (N, g) parameter values for SRP (.conf) password database.
N_264 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_384 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_512 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_512_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
N_640 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_640_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
N_768 - static field in class gnu.crypto.key.srp6.SRPAlgorithm
N_768_BITS - static field in class gnu.crypto.sasl.srp.SRPRegistry
name - field in class gnu.crypto.cipher.BaseCipher
The canonical name prefix of the cipher.
name - field in class gnu.crypto.hash.BaseHash
The canonical name prefix of the hash.
name - field in class gnu.crypto.key.BaseKeyAgreementParty
The canonical name of the protocol.
name - field in class gnu.crypto.mac.BaseMac
The canonical name prefix of the MAC.
name - field in class gnu.crypto.mode.BaseMode
The canonical name prefix of this mode.
name - field in class gnu.crypto.pad.BasePad
The canonical name prefix of the padding algorithm.
name - field in class gnu.crypto.prng.BasePRNG
The canonical name prefix of the PRNG algorithm.
name() - method in class gnu.crypto.cipher.BaseCipher
name() - method in class gnu.crypto.hash.BaseHash
name() - method in class gnu.crypto.key.BaseKeyAgreementParty
Returns the canonical name of the key agreement protocol.
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 class gnu.crypto.prng.BasePRNG
Returns the canonical name of this instance.
name() - method in class gnu.crypto.sig.BaseSignature
name() - method in class gnu.crypto.key.dss.DSSKeyPairGenerator
name() - method in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
name() - method in class gnu.crypto.cipher.IBlockCipher
Returns the canonical name of this instance.
name() - method in class gnu.crypto.key.IKeyAgreementParty
Returns the canonical name of the key agreement protocol.
name() - method in class gnu.crypto.key.IKeyPairGenerator
Returns the canonical name of this keypair generator.

name() - method in class gnu.crypto.mac.IMac
Returns the canonical name of this algorithm.
name() - method in class gnu.crypto.hash.IMessageDigest
Returns the canonical name of this algorithm.
name() - method in class gnu.crypto.pad.IPad
name() - method in class gnu.crypto.prng.IRandom
Returns the canonical name of this instance.
name() - method in class gnu.crypto.sig.ISignature
Returns the canonical name of this signature scheme.
name() - method in class gnu.crypto.key.rsa.RSAKeyPairGenerator
Returns the canonical name of this keypair generator.

name() - method in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Returns the canonical name of this keypair generator.

ndx - field in class gnu.crypto.prng.BasePRNG
The index into buffer of where the next byte will come from.
A utility class to generate NESSIE test vectors for a designated cipher algorithm and optionally a key size (in bits).

NOTE: The set4 test vectors set will be generated iff the global system environment variable named "TORTURE" is set.

A utility class to generate NESSIE test vectors for a designated hash algorithm.

NOTE: The test3 test vector will be generated iff the global system environment variable named "TORTURE" is set.

newDigest() - method in class gnu.crypto.sasl.srp.SRP
Returns a new instance of the SRP message digest algorithm --which is SHA-160 by default, but could be anything else provided the proper conditions as specified in the SRP specifications.
nextByte() - method in class gnu.crypto.prng.BasePRNG
Returns the next 8 bits of random data generated from this instance.
nextByte() - method in class 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
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) - method in class 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.key.BaseKeyAgreementParty
Fills the designated byte array with random data.
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.

NistKat's output file format is in conformance with the layout described in Section 3 of NIST's document "Description of Known Answer Tests and Monte Carlo Tests for Advanced Encryption Standard (AES) Candidate Algorithm Submissions" dated January 7, 1998.

References:

  1. Known Answer Test (KAT) and Monte Carlo Test (MCT) Information
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.

NistMCT's output file format is in conformance with the layout described in Section 4 of NIST's document "Description of Known Answer Tests and Monte Carlo Tests for Advanced Encryption Standard (AES) Candidate Algorithm Submissions" dated January 7, 1998.

References:

  1. Known Answer Test (KAT) and Monte Carlo Test (MCT) Information
nonce - field in class gnu.crypto.jce.spec.UMac32ParameterSpec
The Nonce material.
NONCE_MATERIAL - static field in class gnu.crypto.mac.UMac32
Property name of the user-supplied Nonce.
A checked exception thrown to indicate that a designated SASL mechanism implementation was not found.
NoSuchMechanismException(String) - constructor for class gnu.crypto.sasl.NoSuchMechanismException
Constructs a NoSuchMechanismException with the specified detail message.
A checked exception thrown to indicate that a designated user is unknown to the authentication layer.
NoSuchUserException() - constructor for class gnu.crypto.sasl.NoSuchUserException
Constructs a NoSuchUserException with no detail message.
NoSuchUserException(String) - constructor for class gnu.crypto.sasl.NoSuchUserException
Constructs a NoSuchUserException with the specified detail message.
NULL_CIPHER - static field in class gnu.crypto.Registry
NullCipher - class gnu.crypto.cipher.NullCipher
The implementation of a Null block cipher.

This cipher does not alter its input at all, claims to process block sizes 128-, 192- and 256-bit long, and key sizes from 64- to 512-bit in 8-bit increments.

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(gnu.crypto.cipher.IBlockCipher,int) - constructor for class gnu.crypto.mode.OFB
Trivial package-private constructor for use by the Factory class.
OFB_MODE - static field in class gnu.crypto.Registry
Output Feedback Mode (NIST).
OFFSET - static field in class gnu.crypto.prng.ICMGenerator
Property name of ICM's offset.
on(boolean) - method in class gnu.crypto.mac.MacInputStream
Turns the digesting state on or off.
on(boolean) - method in class gnu.crypto.mac.MacOutputStream
Turns the digesting state on or off.
opadHash - field in class gnu.crypto.mac.HMac
Operation - class gnu.crypto.assembly.Operation
An enumeration type for specifying the operation type of a Transformer.

The possible values for this type are two:

  1. PRE_PROCESSING: where the input data is first processed by the current Transformer before being passed to the rest of the chain; and
  2. POST_PROCESSING: where the input data is first passed to the rest of the chain, and the resulting bytes are then processed by the current Transformer.
OPTION_CONFIDENTIALITY - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mandatory confidentiality protection.
OPTION_INTEGRITY - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mandatory integrity protection.
OPTION_MANDATORY - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mandatory replay detection.
OPTION_MAX_BUFFER_SIZE - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mandatory replay detection.
OPTION_REPLAY_DETECTION - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mandatory replay detection.
OPTION_SRP_DIGEST - static field in class gnu.crypto.sasl.srp.SRPRegistry
String for mda: the SRP digest algorithm name.
outBuffer - field in class gnu.crypto.assembly.Transformer
OutgoingMessage - class gnu.crypto.key.OutgoingMessage
An implementation of outgoing messages for use with key agreement protocols.
OutgoingMessage() - constructor for class gnu.crypto.key.OutgoingMessage
OUTPUT_LEN - static field in class gnu.crypto.mac.UMac32
OutputBuffer - class gnu.crypto.sasl.OutputBuffer
The implementation of an outgoing SASL buffer.

The data elements this class caters for are described in [1].

References:

  1. Secure Remote Password Authentication Mechanism;
    draft-burdis-cat-srp-sasl-09,
    Keith Burdis and Raïf S.
OutputBuffer() - constructor for class gnu.crypto.sasl.OutputBuffer
ownerKey - field in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
The key agreement party's private key.

P

p - field in class gnu.crypto.key.dss.DSSKey
A prime modulus, where 2L-1 < p < 2L for 512 <= L <= 1024 and L a multiple of 64.
p - field in class gnu.crypto.key.dh.GnuDHKey
The public prime p.
pad - field in class gnu.crypto.jce.cipher.CipherAdapter
Our padding instance.
pad(byte[],int,int) - method in class gnu.crypto.pad.BasePad
Returns the byte sequence that should be appended to the designated input.
pad(byte[],int,int) - method in class gnu.crypto.pad.IPad
Returns the byte sequence that should be appended to the designated input.
pad(byte[],int,int) - method in class gnu.crypto.pad.PKCS1_V1_5
pad(byte[],int,int) - method in class gnu.crypto.pad.PKCS7
pad(byte[],int,int) - method in class gnu.crypto.pad.TBC
Returns the byte sequence that should be appended to the designated input.
padBuffer() - method in class gnu.crypto.hash.BaseHash
Returns the byte array to use as padding before completing a hash operation.
padBuffer() - method in class gnu.crypto.hash.Haval
padBuffer() - method in class gnu.crypto.hash.MD2
Generates an array of padding bytes.
padBuffer() - method in class gnu.crypto.hash.MD4
Returns the byte array to use as padding before completing a hash operation.
padBuffer() - method in class gnu.crypto.hash.MD5
Returns the byte array to use as padding before completing a hash operation.
padBuffer() - method in class gnu.crypto.hash.RipeMD128
padBuffer() - method in class gnu.crypto.hash.RipeMD160
Returns the byte array to use as padding before completing a hash operation.
padBuffer() - method in class gnu.crypto.hash.Sha160
padBuffer() - method in class gnu.crypto.hash.Sha256
padBuffer() - method in class gnu.crypto.hash.Sha384
Returns the byte array to use as padding before completing a hash operation.
padBuffer() - method in class gnu.crypto.hash.Sha512
padBuffer() - method in class gnu.crypto.hash.Tiger
padBuffer() - method in class gnu.crypto.hash.Whirlpool
Returns the byte array to use as padding before completing a hash operation.
PaddingTransformer - class gnu.crypto.assembly.PaddingTransformer
An Adapter to use any IPad as a Transformer in an Assembly.

When using such a Transformer, in an Assembly, there must be at least one element behind this instance in the constructed chain; otherwise, a TransformerException is thrown at initialisation time.

PaddingTransformer(gnu.crypto.pad.IPad) - constructor for class gnu.crypto.assembly.PaddingTransformer
PadFactory - class gnu.crypto.pad.PadFactory
A Factory to instantiate padding schemes.
partBlock - field in class gnu.crypto.jce.cipher.CipherAdapter
An incomplete block.
partLen - field in class gnu.crypto.jce.cipher.CipherAdapter
The number of bytes in 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. this is his comments; (bn is our w).

"Now, check that bn is prime.

passFermatLittleTheorem(BigInteger,int) - static method in class gnu.crypto.util.Prime
Checks Fermat's Little Theorem for base b; i.e.
passivate() - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
passivate() - method in class gnu.crypto.sasl.IAuthInfoProvider
Passivates (releases) this provider instance.
passivate() - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
Passivates (releases) this provider instance.
passivate() - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
Passivates (releases) this provider instance.
passMillerRabin(BigInteger,int) - static method in class gnu.crypto.util.Prime
Applies the Miller-Rabin strong probabilistic primality test.

The HAC (Handbook of Applied Cryptography), Alfred Menezes & al.

PASSWORD - static field in class gnu.crypto.prng.IPBE
Property name for the password in a PBE algorithm.
PASSWORD_DB - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the SRP password database property --a reference to PasswordFile object.
PASSWORD_FILE - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the password file (used by the server) property.
PASSWORD_FILE - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of PLAIN password file property.
PASSWORD_FILE - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the main SRP password file pathname property.
PASSWORD_VERIFIER - static field in class gnu.crypto.sasl.srp.SRPRegistry
The user's password verifier.
An entry authenticated with a password-based MAC.
An envelope that is encrypted with a password-derived key.
PasswordFile - class gnu.crypto.sasl.crammd5.PasswordFile
The CRAM-MD5 password file representation.
PasswordFile - class gnu.crypto.sasl.plain.PasswordFile
A representation of a Plain password file.
PasswordFile - class gnu.crypto.sasl.srp.PasswordFile
The implementation of SRP password files.

For SRP, there are three (3) files:

  1. The password configuration file: tpasswd.conf.
PasswordFile() - constructor for class gnu.crypto.sasl.crammd5.PasswordFile
PasswordFile() - constructor for class gnu.crypto.sasl.plain.PasswordFile
PasswordFile() - constructor for class gnu.crypto.sasl.srp.PasswordFile
PasswordFile(File) - constructor for class gnu.crypto.sasl.crammd5.PasswordFile
PasswordFile(File) - constructor for class gnu.crypto.sasl.plain.PasswordFile
PasswordFile(File) - constructor for class gnu.crypto.sasl.srp.PasswordFile
PasswordFile(String) - constructor for class gnu.crypto.sasl.crammd5.PasswordFile
PasswordFile(String) - constructor for class gnu.crypto.sasl.plain.PasswordFile
PasswordFile(String) - constructor for class gnu.crypto.sasl.srp.PasswordFile
PasswordFile(String,String) - constructor for class gnu.crypto.sasl.srp.PasswordFile
PasswordFile(String,String,String) - constructor for class gnu.crypto.sasl.srp.PasswordFile
PasswordProtectedEntry - interface gnu.crypto.keyring.PasswordProtectedEntry
payload - field in class gnu.crypto.keyring.Entry
This entry's payload.
PBES2 - class gnu.crypto.jce.cipher.PBES2
.
PBES2(String,int,String) - constructor for class gnu.crypto.jce.cipher.PBES2
PBES2(String,String) - constructor for class gnu.crypto.jce.cipher.PBES2
PBKDF2 - class gnu.crypto.prng.PBKDF2
An implementation of the key derivation function KDF2 from PKCS #5: Password-Based Cryptography (PBE).
PBKDF2(gnu.crypto.mac.IMac) - constructor for class gnu.crypto.prng.PBKDF2
Creates a new PBKDF2 object.
PBKDF2_PRNG_PREFIX - static field in class gnu.crypto.Registry
PRNG based on PBKDF2 from PKCS #5 v.2.
PBKDF2SecretKeyFactory(String) - constructor for class gnu.crypto.jce.PBKDF2SecretKeyFactory
PKCS1_V1_5 - class gnu.crypto.pad.PKCS1_V1_5
A padding algorithm implementation of the EME-PKCS1-V1.5 encoding/decoding algorithm as described in section 7.2 of RFC-3447.
PKCS1_V1_5() - constructor for class gnu.crypto.pad.PKCS1_V1_5
Trivial package-private constructor for use by the Factory class.
PKCS7 - class gnu.crypto.pad.PKCS7
The implementation of the PKCS7 padding algorithm.

This algorithm is described for 8-byte blocks in [RFC-1423] and extended to block sizes of up to 256 bytes in [PKCS-7]. References:
RFC-1423: Privacy Enhancement for Internet Electronic Mail: Part III: Algorithms, Modes, and Identifiers.
IETF.

PKCS7() - constructor for class gnu.crypto.pad.PKCS7
Trivial package-private constructor for use by the Factory class.

PKCS7_PAD - static field in class gnu.crypto.Registry
PKCS#7 padding scheme.
PlainAuthInfoProvider - class gnu.crypto.sasl.plain.PlainAuthInfoProvider
The PLAIN mechanism authentication information provider implementation.
PlainClient - class gnu.crypto.sasl.plain.PlainClient
The PLAIN SASL client-side mechanism.
PlainClient() - constructor for class gnu.crypto.sasl.plain.PlainClient
PlainRegistry - interface gnu.crypto.sasl.plain.PlainRegistry
PlainServer - class gnu.crypto.sasl.plain.PlainServer
The PLAIN SASL server-side mechanism.
PlainServer() - constructor for class gnu.crypto.sasl.plain.PlainServer
pool - static field in class gnu.crypto.tool.SaslS
port - field in class gnu.crypto.tool.SaslC
pos - field in class gnu.crypto.jce.params.DERReader
POSSIBLE_WEAK_KEYS - static field in class gnu.crypto.cipher.DES
Possible weak keys (parity adjusted) --produce 4 instead of 16 subkeys.
POST_PROCESSING - static field in class gnu.crypto.assembly.Operation
PRE_PROCESSING - static field in class gnu.crypto.assembly.Operation
PREFIX - static field in class gnu.crypto.mac.TMMH16
prefix - field in class gnu.crypto.jce.spec.TMMHParameterSpec
The prefix.
prepend(gnu.crypto.assembly.Stage) - method in class gnu.crypto.assembly.Cascade
Adds to the begining of the current chain, a designated Stage.
Prime - class gnu.crypto.util.Prime
A collection of prime number related utilities used in this library.
prime(int) - static method in class gnu.crypto.mac.UHash32
The prime numbers used in UMAC are:
   +-----+--------------------+---------------------------------------+
   |  x  | prime(x) [Decimal] | prime(x) [Hexadecimal]                |
   +-----+--------------------+---------------------------------------+
   | 19  | 2^19  - 1          | 0x0007FFFF                            |
   | 32  | 2^32  - 5          | 0xFFFFFFFB                            |
   | 36  | 2^36  - 5          | 0x0000000F FFFFFFFB                   |
   | 64  | 2^64  - 59         | 0xFFFFFFFF FFFFFFC5                   |
   | 128 | 2^128 - 159        | 0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFF61 |
   +-----+--------------------+---------------------------------------+
PRIME_SIZE - static field in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
Property name of the size in bits (Integer) of the public prime (p).
PrimitiveEntry - class gnu.crypto.keyring.PrimitiveEntry
A primitive entry is an entry that contains a single cryptographic entity.
PrimitiveEntry() - constructor for class gnu.crypto.keyring.PrimitiveEntry
Default constructor for use by subclasses.
printStackTrace() - method in class gnu.crypto.key.KeyAgreementException
Prints this exception's stack trace to System.err.
printStackTrace() - method in class gnu.crypto.assembly.TransformerException
Prints this exception's stack trace to System.err.
printStackTrace(PrintStream) - method in class gnu.crypto.key.KeyAgreementException
Prints this exception's stack trace to a print stream.
printStackTrace(PrintStream) - method in class gnu.crypto.assembly.TransformerException
Prints this exception's stack trace to a print stream.
printStackTrace(PrintWriter) - method in class gnu.crypto.key.KeyAgreementException
Prints this exception's stack trace to a print writer.
printStackTrace(PrintWriter) - method in class gnu.crypto.assembly.TransformerException
Prints this exception's stack trace to a print writer.
PRIVATE - static field in class gnu.crypto.jce.params.DERReader
PRIVATE - static field in class gnu.crypto.jce.params.DERWriter
privateKey - field in class gnu.crypto.sig.BaseSignature
The private key to use when generating signatures (signing).
PrivateKeyEntry - class gnu.crypto.keyring.PrivateKeyEntry
An immutable class representing a private or secret key entry.
Creates a new key entry.
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.
Processes an incoming message at one end, generating a message that will be processed by the other party(ies).
Processes an incoming message at one end, generating a message that will be processed by the other party(ies).
properties - field in class gnu.crypto.sasl.ClientMechanism
Properties of qualities desired for this mechanism.
properties - field in class gnu.crypto.keyring.Entry
This entry's property set.
Properties - class gnu.crypto.Properties
A global object containing build-specific properties that affect the behaviour of the generated binaries from this library.
Properties - class gnu.crypto.keyring.Properties
A set of (name => value) pairs used in keyring entries.
properties - field in class gnu.crypto.sasl.ServerMechanism
Properties of qualities desired for this mechanism.
Properties() - constructor for class gnu.crypto.keyring.Properties
Creates a new properties object.
PROPERTIES_FILE - static field in class gnu.crypto.Properties
protocol - field in class gnu.crypto.sasl.ClientMechanism
Name of protocol using this mechanism.
protocol - field in class gnu.crypto.sasl.ServerMechanism
Name of protocol using this mechanism.
publicKey - field in class gnu.crypto.sig.BaseSignature
The public key to use when verifying signatures.
PublicKeyEntry - class gnu.crypto.keyring.PublicKeyEntry
put(String,String) - method in class gnu.crypto.keyring.Properties
Adds a new property to this object.
putCertificate(String,Certificate) - method in class gnu.crypto.keyring.GnuPublicKeyring
Adds a certificate in this keyring, with the given alias.

What happens if there is already a certificate entry with this alias?

putCertificate(String,Certificate) - method in class gnu.crypto.keyring.IPublicKeyring
Adds a certificate in this keyring, with the given alias.

What happens if there is already a certificate entry with this alias?

putCertPath(String,Certificate[]) - method in class gnu.crypto.keyring.GnuPrivateKeyring
putCertPath(String,Certificate[]) - method in class gnu.crypto.keyring.IPrivateKeyring
Sets a certificate path entry.
putPrivateKey(String,Key,char[]) - method in class gnu.crypto.keyring.GnuPrivateKeyring
putPrivateKey(String,Key,char[]) - method in class gnu.crypto.keyring.IPrivateKeyring
Adds a private key to this keyring.
putPublicKey(String,PublicKey) - method in class gnu.crypto.keyring.GnuPrivateKeyring
putPublicKey(String,PublicKey) - method in class gnu.crypto.keyring.IPrivateKeyring
Sets a public key entry.

Q

q - field in class gnu.crypto.key.dss.DSSKey
A prime divisor of p - 1, where 2159 < q < 2160.
q - field in class gnu.crypto.key.dh.GnuDHKey
The public prime q.
QOP_AUTH - static field in class gnu.crypto.Registry
authentication only.
QOP_AUTH_CONF - static field in class gnu.crypto.Registry
authentication plus integrity and confidentiality protection.
QOP_AUTH_INT - static field in class gnu.crypto.Registry
authentication plus integrity protection.

R

RAW_ENCODING - static field in class gnu.crypto.Registry
RAW_ENCODING_ID - static field in class gnu.crypto.Registry
RAW_FORMAT - static field in class gnu.crypto.key.IKeyPairCodec
Constant identifying the Raw encoding format.
RAW_FORMAT - static field in class gnu.crypto.sig.ISignatureCodec
Constant identifying the Raw encoding format.
RC4_PRNG - static field in class gnu.crypto.Registry
We use "rc4" as an alias for "arcfour".
read() - method in class gnu.crypto.mac.MacInputStream
read() - method in class gnu.crypto.keyring.MeteredInputStream
read() - method in class gnu.crypto.sasl.SaslInputStream
Reads the next byte of data from the input stream.
read(byte[]) - method in class gnu.crypto.keyring.MeteredInputStream
read(byte[],int,int) - method in class gnu.crypto.mac.MacInputStream
read(byte[],int,int) - method in class gnu.crypto.keyring.MeteredInputStream
read(byte[],int,int) - method in class gnu.crypto.sasl.SaslInputStream
Reads up to len bytes of data from the underlying source input stream into an array of bytes.
readMPI() - method in class gnu.crypto.key.IncomingMessage
Decodes an MPI from the current message's contents.
readPrivateKey() - method in class gnu.crypto.key.IncomingMessage
readPublicKey() - method in class gnu.crypto.key.IncomingMessage
readString() - method in class gnu.crypto.key.IncomingMessage
receive() - method in class gnu.crypto.tool.SaslConnection
reconnect() - method in class gnu.crypto.tool.SaslConnection
Registry - interface gnu.crypto.Registry
A placeholder for names and literals used throughout this library.
remove(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.EnvelopeEntry
Removes the specified entry.
remove(gnu.crypto.keyring.Entry) - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
remove(String) - method in class gnu.crypto.keyring.BaseKeyring
Removes an entry with the designated alias from this keyring.
remove(String) - method in class gnu.crypto.keyring.EnvelopeEntry
Removes all primitive entries that have the specified alias.
remove(String) - method in class gnu.crypto.keyring.IKeyring
Removes an entry with the designated alias from this keyring.
remove(String) - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
remove(String) - method in class gnu.crypto.keyring.Properties
Removes a key and its value from this object.
REPRODUCIBLE_PRNG - static field in class gnu.crypto.Properties
reset() - method in class gnu.crypto.assembly.Assembly
Resets the Assembly for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.cipher.BaseCipher
reset() - method in class gnu.crypto.hash.BaseHash
reset() - method in class gnu.crypto.key.BaseKeyAgreementParty
Resets this instance for re-use with another set of attributes.
reset() - method in class gnu.crypto.keyring.BaseKeyring
Resets this keyring, clearing all sensitive data.
reset() - method in class gnu.crypto.mac.BaseMac
reset() - method in class gnu.crypto.mode.BaseMode
reset() - method in class gnu.crypto.pad.BasePad
Resets the scheme instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.assembly.Cascade
Resets the chain for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.sasl.ClientMechanism
Resets the mechanism instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.mac.HMac
reset() - method in class gnu.crypto.cipher.IBlockCipher
Resets the algorithm instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.key.IKeyAgreementParty
Resets this instance for re-use with another set of attributes.
reset() - method in class gnu.crypto.keyring.IKeyring
Resets this keyring, clearing all sensitive data.
reset() - method in class gnu.crypto.mac.IMac
Resets the algorithm instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.hash.IMessageDigest
Resets the current context of this instance clearing any eventually cached intermediary values.
reset() - method in class gnu.crypto.pad.IPad
Resets the scheme instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.assembly.LoopbackTransformer
Resets the Transformer for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.keyring.MeteredInputStream
reset() - method in class gnu.crypto.sasl.ServerMechanism
Resets the mechanism instance for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.assembly.Stage
Resets the stage for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.mac.TMMH16
reset() - method in class gnu.crypto.assembly.Transformer
Resets the Transformer for re-initialisation and use with other characteristics.
reset() - method in class gnu.crypto.mac.UHash32
Resets the algorithm instance for re-initialisation and use with other characteristics.
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.UMac32
reset() - method in class gnu.crypto.exp.ust.UST
Reset this instance and prepare for processing a new message.
resetContext() - method in class gnu.crypto.hash.BaseHash
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.Haval
resetContext() - method in class gnu.crypto.hash.MD2
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.MD4
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.MD5
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.RipeMD128
resetContext() - method in class gnu.crypto.hash.RipeMD160
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.Sha160
resetContext() - method in class gnu.crypto.hash.Sha256
resetContext() - method in class gnu.crypto.hash.Sha384
Resets the instance for future re-use.
resetContext() - method in class gnu.crypto.hash.Sha512
resetContext() - method in class gnu.crypto.hash.Tiger
resetContext() - method in class gnu.crypto.hash.Whirlpool
Resets the instance for future re-use.
resetDelegate() - method in class gnu.crypto.assembly.CascadeStage
resetDelegate() - method in class gnu.crypto.assembly.CascadeTransformer
resetDelegate() - method in class gnu.crypto.assembly.DeflateTransformer
resetDelegate() - method in class gnu.crypto.assembly.LoopbackTransformer
resetDelegate() - method in class gnu.crypto.assembly.ModeStage
resetDelegate() - method in class gnu.crypto.assembly.PaddingTransformer
resetDelegate() - method in class gnu.crypto.assembly.Stage
resetDelegate() - method in class gnu.crypto.assembly.Transformer
resetMechanism() - method in class gnu.crypto.sasl.anonymous.AnonymousClient
resetMechanism() - method in class gnu.crypto.sasl.anonymous.AnonymousServer
resetMechanism() - method in class gnu.crypto.sasl.ClientMechanism
resetMechanism() - method in class gnu.crypto.sasl.crammd5.CramMD5Client
resetMechanism() - method in class gnu.crypto.sasl.crammd5.CramMD5Server
resetMechanism() - method in class gnu.crypto.sasl.plain.PlainClient
resetMechanism() - method in class gnu.crypto.sasl.plain.PlainServer
resetMechanism() - method in class gnu.crypto.sasl.ServerMechanism
resetMechanism() - method in class gnu.crypto.sasl.srp.SRPClient
resetMechanism() - method in class gnu.crypto.sasl.srp.SRPServer
restoreSession(byte[]) - method in class gnu.crypto.sasl.srp.ServerStore
Updates the mapping between the designated session identifier and the designated server's SASL Security Context.
restoreSession(String) - method in class gnu.crypto.sasl.srp.ClientStore
Returns an SRP client's security context record mapped by that client's unique identifier.
REUSE_FALSE - static field in class gnu.crypto.Registry
REUSE_TRUE - static field in class gnu.crypto.Registry
reverse(gnu.crypto.assembly.Direction) - static method in class gnu.crypto.assembly.Direction
REVERSED - static field in class gnu.crypto.assembly.Direction
RFC2631 - class gnu.crypto.key.dh.RFC2631
An implementation of the Diffie-Hellman parameter generation as defined in RFC-2631.

Reference:

  1. Diffie-Hellman Key Agreement Method
    Eric Rescorla.
RFC2631(int,int,SecureRandom) - constructor for class gnu.crypto.key.dh.RFC2631
Rijndael - class gnu.crypto.cipher.Rijndael
Rijndael --pronounced Reindaal-- is the AES.
Rijndael() - constructor for class gnu.crypto.cipher.Rijndael
Trivial 0-arguments constructor.
RIJNDAEL_CIPHER - static field in class gnu.crypto.Registry
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
RipeMD128 - class gnu.crypto.hash.RipeMD128
RIPEMD-128 is a 128-bit message digest.

References:

  1. RIPEMD160: A Strengthened Version of RIPEMD.
    Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
RipeMD128() - constructor for class gnu.crypto.hash.RipeMD128
Trivial 0-arguments constructor.
RIPEMD128_HASH - static field in class gnu.crypto.Registry
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.

References:

  1. RIPEMD160: A Strengthened Version of RIPEMD.
    Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
RipeMD160() - constructor for class gnu.crypto.hash.RipeMD160
Trivial 0-arguments constructor.
RIPEMD160_HASH - static field in class gnu.crypto.Registry
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
RIPEMD_128_HASH - static field in class gnu.crypto.Registry
RIPEMD-128 is synonymous to RIPEMD128.
RIPEMD_160_HASH - static field in class gnu.crypto.Registry
RIPEMD-160 is synonymous to RIPEMD160.
rnd - field in class gnu.crypto.key.BaseKeyAgreementParty
The optional SecureRandom instance to use.
RSA - class gnu.crypto.sig.rsa.RSA
Utility methods related to the RSA algorithm.

References:

  1. RSA-PSS Signature Scheme with Appendix, part B.
    Primitive specification and supporting documentation.
    Jakob Jonsson and Burt Kaliski.
  2. Public-Key Cryptography Standards (PKCS) #1:
    RSA Cryptography Specifications Version 2.1.
    Jakob Jonsson and Burt Kaliski.
  3. Remote timing attacks are practical
    D.
RSA_KPG - static field in class gnu.crypto.Registry
RSA_PARAMETERS - static field in class gnu.crypto.key.rsa.RSAKeyPairGenerator
Property name of an optional RSAKeyGenParameterSpec instance to use for this generator's n, and e values.
RSA_PKCS1_V1_5_SIG - static field in class gnu.crypto.Registry
RSA_PSS_SIG - static field in class gnu.crypto.Registry
RSAKeyPairGenerator - class gnu.crypto.key.rsa.RSAKeyPairGenerator
A key-pair generator for asymetric keys to use in conjunction with the RSA scheme.

Reference:

  1. RSA-PSS Signature Scheme with Appendix, part B.
The implementation of a java.security.KeyPairGenerator adapter class to wrap gnu.crypto RSA keypair generator instances.

In case the client does not explicitly initialize the KeyPairGenerator (via a call to an initialize() method), the GNU Crypto provider uses a default modulus size (keysize) of 1024 bits.

RSAKeyPairGeneratorSpi() - constructor for class gnu.crypto.jce.sig.RSAKeyPairGeneratorSpi
RSAKeyPairRawCodec - class gnu.crypto.key.rsa.RSAKeyPairRawCodec
An object that implements the IKeyPairCodec interface for the Raw format to use with RSA keypairs.
RSAPKCS1V1_5Signature - class gnu.crypto.sig.rsa.RSAPKCS1V1_5Signature
The RSA-PKCS1-V1.5 signature scheme is a digital signature scheme with appendix (SSA) combining the RSA algorithm with the EMSA-PKCS1-v1_5 encoding method.

References:

  1. RSA-PSS Signature Scheme with Appendix, part B.
    Primitive specification and supporting documentation.
    Jakob Jonsson and Burt Kaliski.
  2. Public-Key Cryptography Standards (PKCS) #1:
    RSA Cryptography Specifications Version 2.1.
    Jakob Jonsson and Burt Kaliski.
RSAPKCS1V1_5Signature() - constructor for class gnu.crypto.sig.rsa.RSAPKCS1V1_5Signature
Default 0-arguments constructor.
RSAPKCS1V1_5Signature(String) - constructor for class gnu.crypto.sig.rsa.RSAPKCS1V1_5Signature
Constructs an instance of this object using the designated message digest algorithm as its underlying hash function.
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.

The inventors of RSA are Ronald L.

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.
An object that implements the ISignatureCodec operations for the Raw format to use with RSA-PSS signatures.
run() - method in class gnu.crypto.tool.SaslC
run() - method in class gnu.crypto.tool.SaslS

S

SALT - static field in class gnu.crypto.prng.IPBE
Property name for the salt in a PBE algorithm.
SALT_FIELD - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the GECOS field in the plain password file.
SASL_ANONYMOUS_MECHANISM - static field in class gnu.crypto.Registry
SASL_AUTH_INFO_PROVIDER_PKGS - static field in class gnu.crypto.Registry
Name of authentication information provider packages.
SASL_AUTHORISATION_ID - static field in class gnu.crypto.Registry
SASL authorization ID.
SASL_BUFFER_MAX_LIMIT - static field in class gnu.crypto.Registry
The size limit, in bytes, of a SASL Buffer.
SASL_CALLBACK_HANDLER - static field in class gnu.crypto.Registry
SASL Callback handler.
SASL_CHANNEL_BINDING - static field in class gnu.crypto.Registry
SASL channel binding.
SASL_CRAM_MD5_MECHANISM - static field in class gnu.crypto.Registry
SASL_FOUR_BYTE_MAX_LIMIT - static field in class gnu.crypto.Registry
The size limit, in bytes, of a SASL EOS (Extended Octet Sequence) element.
SASL_HMAC_MD5_IALG - static field in class gnu.crypto.Registry
SASL_HMAC_SHA_IALG - static field in class gnu.crypto.Registry
SASL_ONE_BYTE_MAX_LIMIT - static field in class gnu.crypto.Registry
The size limit, in bytes, of a SASL OS (Octet Sequence) element.
SASL_PASSWORD - static field in class gnu.crypto.Registry
Name of password property.
SASL_PLAIN_MECHANISM - static field in class gnu.crypto.Registry
SASL_PREFIX - static field in class gnu.crypto.Registry
SASL_PROTOCOL - static field in class gnu.crypto.Registry
SASL protocol.
SASL_SERVER_NAME - static field in class gnu.crypto.Registry
SASL Server name.
SASL_SRP_MECHANISM - static field in class gnu.crypto.Registry
SASL_TWO_BYTE_MAX_LIMIT - static field in class gnu.crypto.Registry
The size limit, in bytes, of both a SASL MPI (Multi-Precision Integer) element and a SASL Text element.
SASL_USERNAME - static field in class gnu.crypto.Registry
Name of username property.
SaslC - class gnu.crypto.tool.SaslC
A basic client-side test class to exercise SASL mechanisms.

The main() method accepts two arguments: the first is the number of threads, and the second is the port number on which the (local) server is listening.

SaslConnection - class gnu.crypto.tool.SaslConnection
A sample client-side protocol driver.
SaslConnection(String,URL) - constructor for class gnu.crypto.tool.SaslConnection
A checked exception, thrown when an exception occurs while decoding a SASL buffer and/or a SASL data element from/to a buffer.
SaslEncodingException() - constructor for class gnu.crypto.sasl.SaslEncodingException
Constructs a SaslEncodingException with no detail message.
SaslEncodingException(String) - constructor for class gnu.crypto.sasl.SaslEncodingException
Constructs a SaslEncodingException with the specified detail message.
SaslInputStream - class gnu.crypto.sasl.SaslInputStream
An input stream that uses either a SaslClient or a SaslServer to process the data through these entities' security layer filter(s).
SaslInputStream(SaslClient,InputStream) - constructor for class gnu.crypto.sasl.SaslInputStream
SaslInputStream(SaslServer,InputStream) - constructor for class gnu.crypto.sasl.SaslInputStream
SaslOutputStream - class gnu.crypto.sasl.SaslOutputStream
An output stream that uses either a SaslClient or a SaslServer to process the data through these entities' security layer filter(s).
SaslOutputStream(SaslClient,OutputStream) - constructor for class gnu.crypto.sasl.SaslOutputStream
SaslOutputStream(SaslServer,OutputStream) - constructor for class gnu.crypto.sasl.SaslOutputStream
SaslS - class gnu.crypto.tool.SaslS
A basic server-side test class to exercise SASL mechanisms that exchange their response/challenge in SASL Buffers.
SaslS(ServerSocket) - constructor for class gnu.crypto.tool.SaslS
SaslUtil - class gnu.crypto.sasl.SaslUtil
Utility methods for SASL-related classes.
savePasswd() - method in class gnu.crypto.sasl.srp.PasswordFile
schemeName - field 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 java.security.SecureRandom adapter class to wrap gnu.crypto prng instances based on Message Digest algorithms.

This class defines the Service Provider Interface (SPI) for the java.security.SecureRandom class, which provides the functionality of a cryptographically strong pseudo-random number generator.

All the abstract methods in the SecureRandomSpi class are implemented by this class and all its sub-classes.

SecureRandomAdapter(String) - constructor for class gnu.crypto.jce.prng.SecureRandomAdapter
Trivial protected constructor.
SecurityContext - class gnu.crypto.sasl.srp.SecurityContext
A package-private placeholder for an SRP security context.
SEEED - static field in class gnu.crypto.prng.MDGenerator
Property name of seed material.
SEGMENT_INDEX - static field in class gnu.crypto.prng.ICMGenerator
Property name of ICM's segment index.
SEGMENT_INDEX_LENGTH - static field in class gnu.crypto.prng.ICMGenerator
Property name of ICM's segment index length.
selfTest() - method in class gnu.crypto.cipher.Anubis
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.hash.BaseHash
selfTest() - method in class gnu.crypto.mac.BaseMac
selfTest() - method in class gnu.crypto.mode.BaseMode
selfTest() - method in class gnu.crypto.pad.BasePad
A basic symmetric pad/unpad test.
selfTest() - method in class gnu.crypto.cipher.Blowfish
selfTest() - method in class gnu.crypto.assembly.Cascade
Conducts a simple correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes of underlying block cipher(s) wrapped by Mode leafs.
selfTest() - method in class gnu.crypto.assembly.CascadeStage
selfTest() - method in class gnu.crypto.cipher.Cast5
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.hash.Haval
selfTest() - method in class gnu.crypto.mac.HMac
selfTest() - method in class 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.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 class gnu.crypto.mac.IMac
A basic test.
selfTest() - method in class gnu.crypto.hash.IMessageDigest
A basic test.
selfTest() - method in class gnu.crypto.pad.IPad
A basic symmetric pad/unpad test.
selfTest() - method in class gnu.crypto.cipher.Khazad
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.hash.MD2
A basic test.
selfTest() - method in class gnu.crypto.hash.MD4
A basic test.
selfTest() - method in class gnu.crypto.hash.MD5
A basic test.
selfTest() - method in class gnu.crypto.assembly.ModeStage
Conducts a simple correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes of underlying block cipher(s) wrapped by Mode leafs.
selfTest() - method in class gnu.crypto.cipher.NullCipher
selfTest() - method in class gnu.crypto.pad.PKCS1_V1_5
selfTest() - method in class gnu.crypto.cipher.Rijndael
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.hash.RipeMD128
selfTest() - method in class gnu.crypto.hash.RipeMD160
A basic test.
selfTest() - method in class gnu.crypto.cipher.Serpent
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.hash.Sha160
selfTest() - method in class gnu.crypto.hash.Sha256
selfTest() - method in class gnu.crypto.hash.Sha384
selfTest() - method in class gnu.crypto.hash.Sha512
selfTest() - method in class gnu.crypto.cipher.Square
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.assembly.Stage
Conducts a simple correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes of underlying block cipher(s) wrapped by Mode leafs.
selfTest() - method in class gnu.crypto.hash.Tiger
selfTest() - method in class gnu.crypto.mac.TMMH16
selfTest() - method in class gnu.crypto.cipher.Twofish
selfTest() - method in class gnu.crypto.mac.UHash32
A basic test.
selfTest() - method in class gnu.crypto.mac.UMac32
selfTest() - method in class gnu.crypto.exp.ust.UST
selfTest() - method in class gnu.crypto.hash.Whirlpool
A basic test.
SEMIWEAK_KEYS - static field in class gnu.crypto.cipher.DES
Semi-weak keys (parity adjusted): Some pairs of keys encrypt plain text to identical cipher text.
send(byte[]) - method in class gnu.crypto.tool.SaslConnection
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.
PBES2.HMacHaval.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Serpent
PBES2.HMacMD2.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Serpent
PBES2.HMacMD4.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Serpent
PBES2.HMacMD5.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Serpent
PBES2.HMacSHA1.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Serpent
PBES2.HMacTiger.Serpent - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Serpent
Serpent() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Serpent
Serpent() - constructor for class gnu.crypto.cipher.Serpent
Trivial zero-argument constructor.
SERPENT_CIPHER - static field in class gnu.crypto.Registry
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
SERVER_AUTH_FALSE - static field in class gnu.crypto.Registry
Server does not need to, or cannot, authenticate to the client.
SERVER_AUTH_TRUE - static field in class gnu.crypto.Registry
Server must authenticate to the client.
SERVER_EVIDENCE - static field in class gnu.crypto.sasl.srp.SRPRegistry
The server's evidence: M2.
SERVER_PUBLIC_KEY - static field in class gnu.crypto.sasl.srp.SRPRegistry
The server's public ephemeral exponent: B.
ServerFactory - class gnu.crypto.sasl.ServerFactory
The implementation of the SaslServerFactory.
ServerMechanism - class gnu.crypto.sasl.ServerMechanism
A base class to facilitate implementing SASL server-side mechanisms.
ServerMechanism(String) - constructor for class gnu.crypto.sasl.ServerMechanism
serverName - field in class gnu.crypto.sasl.ClientMechanism
Name of server to authenticate to.
serverName - field in class gnu.crypto.sasl.ServerMechanism
Name of server to authenticate to.
ServerStore - class gnu.crypto.sasl.srp.ServerStore
The server-side implementation of the SRP security context store.
setCheckForWeakKeys(boolean) - static method in class gnu.crypto.Properties
A convenience method to set the global property for checking for weak and semi-weak cipher keys.
setDoRSABlinding(boolean) - static method in class gnu.crypto.Properties
A convenience method to set the global property fo adding a blinding operation when executing the RSA decryption primitive.
setEOS(byte[]) - method in class gnu.crypto.sasl.OutputBuffer
Encodes a SASL EOS to the current buffer.
setMac(gnu.crypto.mac.IMac) - method in class gnu.crypto.mac.MacInputStream
Sets the MAC this stream is updating, which must have already been initialized.
setMac(gnu.crypto.mac.IMac) - method in class gnu.crypto.mac.MacOutputStream
Sets the MAC this stream is updating, which must have already been initialized.
setMasked(boolean) - method in class gnu.crypto.keyring.MaskableEnvelopeEntry
Sets the masked state to the specified value.
setMode(gnu.crypto.assembly.Operation) - method in class gnu.crypto.assembly.Transformer
Sets the operational mode of this Transformer.
setMPI(BigInteger) - method in class gnu.crypto.sasl.OutputBuffer
Encodes a SASL MPI to the current buffer.
setOS(byte[]) - method in class gnu.crypto.sasl.OutputBuffer
Encodes a SASL OS to the current buffer.
setProperty(String,String) - static method in class gnu.crypto.Properties
Sets the value of a designated library global configuration property, to a string representation of what should be a legal value.
setReproducible(boolean) - static method in class gnu.crypto.Properties
A convenience method to set the global property for reproducibility of the default PRNG bit stream output.
setScalar(int,int) - method in class gnu.crypto.sasl.OutputBuffer
Encodes a SASL scalar quantity, count-octet long, to the current buffer.
setText(String) - method in class gnu.crypto.sasl.OutputBuffer
Encodes a SASL Text to the current buffer.
setup() - method in class gnu.crypto.mode.BaseMode
The initialisation phase of the concrete mode implementation.
setup() - method in class gnu.crypto.pad.BasePad
If any additional checks or resource setup must be done by the subclass, then this is the hook for it.
setup() - method in class gnu.crypto.mode.CBC
setup() - method in class gnu.crypto.mode.CFB
The initialisation phase of the concrete mode implementation.
setup() - method in class gnu.crypto.mode.CTR
setup() - method in class gnu.crypto.mode.ECB
setup() - method in class gnu.crypto.mode.ICM
setup() - method in class gnu.crypto.mode.OFB
The initialisation phase of the concrete mode implementation.
setup() - method in class gnu.crypto.pad.PKCS1_V1_5
setup() - method in class gnu.crypto.pad.PKCS7
setup() - method in class gnu.crypto.pad.TBC
If any additional checks or resource setup must be done by the subclass, then this is the hook for it.
setup(Map) - method in class gnu.crypto.prng.ARCFour
setup(Map) - method in class gnu.crypto.prng.BasePRNG
setup(Map) - method in class gnu.crypto.key.dss.DSSKeyPairGenerator
Configures this instance.
setup(Map) - method in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
setup(Map) - method in class gnu.crypto.prng.ICMGenerator
setup(Map) - method in class gnu.crypto.key.IKeyPairGenerator
[Re]-initialises this instance for use with a given set of attributes.

setup(Map) - method in class gnu.crypto.prng.MDGenerator
setup(Map) - method in class gnu.crypto.prng.PBKDF2
setup(Map) - method in class gnu.crypto.key.rsa.RSAKeyPairGenerator
Configures this instance.
setup(Map) - method in class gnu.crypto.key.srp6.SRPKeyPairGenerator
[Re]-initialises this instance for use with a given set of attributes.

setup(Map) - method in class gnu.crypto.prng.UMacGenerator
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.RSAPKCS1V1_5Signature
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.RSAPKCS1V1_5Signature
setupForVerification(PublicKey) - method in class gnu.crypto.sig.rsa.RSAPSSSignature
setupSign(Map) - method in class gnu.crypto.sig.BaseSignature
setupSign(Map) - method in class gnu.crypto.sig.ISignature
Initialises this instance for signature generation.
setupVerify(Map) - method in class gnu.crypto.sig.BaseSignature
setupVerify(Map) - method in class gnu.crypto.sig.ISignature
Initialises this instance for signature verification.
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() - constructor for class gnu.crypto.hash.Sha160
Trivial 0-arguments constructor.
SHA160_HASH - static field in class gnu.crypto.Registry
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
SHA1_HASH - static field in class gnu.crypto.Registry
SHA1 is synonymous to SHA-160.
Sha256 - class gnu.crypto.hash.Sha256
Implementation of SHA2-1 [SHA-256] per the IETF Draft Specification.

References:

  1. Descriptions of SHA-256, SHA-384, and SHA-512,
  2. http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf
Sha256() - constructor for class gnu.crypto.hash.Sha256
Trivial 0-arguments constructor.
SHA256_HASH - static field in class gnu.crypto.Registry
Sha256RandomSpi - class gnu.crypto.jce.prng.Sha256RandomSpi
The implementation of the SHA-256 based SecureRandom Service Provider Interface (SPI) adapter.
Sha256RandomSpi() - constructor for class gnu.crypto.jce.prng.Sha256RandomSpi
Sha256Spi - class gnu.crypto.jce.hash.Sha256Spi
The implementation of the SHA-2-1 (256-bit) Service Provider Interface (SPI) adapter.
Sha256Spi() - constructor for class gnu.crypto.jce.hash.Sha256Spi
Sha384 - class gnu.crypto.hash.Sha384
Implementation of SHA2-2 [SHA-384] per the IETF Draft Specification.

References:

  1. Descriptions of SHA-256, SHA-384, and SHA-512,
  2. http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf
Sha384() - constructor for class gnu.crypto.hash.Sha384
Trivial 0-arguments constructor.
SHA384_HASH - static field in class gnu.crypto.Registry
Sha384RandomSpi - class gnu.crypto.jce.prng.Sha384RandomSpi
The implementation of the SHA-384 based SecureRandom Service Provider Interface (SPI) adapter.
Sha384RandomSpi() - constructor for class gnu.crypto.jce.prng.Sha384RandomSpi
Sha384Spi - class gnu.crypto.jce.hash.Sha384Spi
The implementation of the SHA-2-2 (384-bit) Service Provider Interface (SPI) adapter.
Sha384Spi() - constructor for class gnu.crypto.jce.hash.Sha384Spi
Sha512 - class gnu.crypto.hash.Sha512
Implementation of SHA2-3 [SHA-512] per the IETF Draft Specification.

References:

  1. Descriptions of SHA-256, SHA-384, and SHA-512,
  2. http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf
Sha512() - constructor for class gnu.crypto.hash.Sha512
Trivial 0-arguments constructor.
SHA512_HASH - static field in class gnu.crypto.Registry
Sha512RandomSpi - class gnu.crypto.jce.prng.Sha512RandomSpi
The implementation of the SHA-512 based SecureRandom Service Provider Interface (SPI) adapter.
Sha512RandomSpi() - constructor for class gnu.crypto.jce.prng.Sha512RandomSpi
Sha512Spi - class gnu.crypto.jce.hash.Sha512Spi
The implementation of the SHA-2-3 (512-bit) Service Provider Interface (SPI) adapter.
Sha512Spi() - constructor for class gnu.crypto.jce.hash.Sha512Spi
SHA_1_HASH - static field in class gnu.crypto.Registry
SHA-1 is synonymous to SHA-160.
SHA_HASH - static field in class gnu.crypto.Registry
SHA is synonymous to SHA-160.
SHARED_MODULUS - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
SHARED_MODULUS - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Property name of the modulus (N) of an SRP key.
SHARED_MODULUS - static field in class gnu.crypto.sasl.srp.SRPRegistry
The public shared modulus: n.
SHELL_FIELD - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the SHELL field in the plain password file.
SHELL_FIELD - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of the SHELL field in the plain password file.
sign() - method in class gnu.crypto.sig.BaseSignature
sign() - method in class gnu.crypto.sig.ISignature
Terminates a signature generation phase by digesting and processing the context of the underlying message digest algorithm instance.
sign(DSAPrivateKey,byte[]) - static method in class gnu.crypto.sig.dss.DSSSignature
sign(DSAPrivateKey,byte[],gnu.crypto.prng.IRandom) - static method in class gnu.crypto.sig.dss.DSSSignature
sign(DSAPrivateKey,byte[],Random) - static method in class gnu.crypto.sig.dss.DSSSignature
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 java.security.Signature adapter class to wrap gnu.crypto signature instances.

This class defines the Service Provider Interface (SPI) for the java.security.Signature class, which provides the functionality of a digital signature algorithm.

Trivial protected constructor.

SignatureFactory - class gnu.crypto.sig.SignatureFactory
A Factory to instantiate signature-with-appendix handlers.
SIGNER_KEY - static field in class gnu.crypto.sig.ISignature
Property name of the signer's private key.
A simple CallbackHandler for test purposes.
size() - method in class gnu.crypto.keyring.BaseKeyring
Returns the number of entries in this keyring.
size() - method in class gnu.crypto.assembly.Cascade
Returns the current number of stages in this chain.
size() - method in class gnu.crypto.keyring.IKeyring
Returns the number of entries in this keyring.
skip(long) - method in class gnu.crypto.keyring.MeteredInputStream
SMTPClient - class gnu.crypto.tool.SMTPClient
SMTPClient(String,String,int) - constructor for class gnu.crypto.tool.SMTPClient
source - field in class gnu.crypto.jce.params.DERReader
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
Property name of an optional SecureRandom instance to use.
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.dh.ElGamalKeyAgreement
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.dh.GnuDHKeyPairGenerator
Property name of an optional SecureRandom instance to use.
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.sig.ISignature
Property name of an optional java.security.SecureRandom, java.util.Random, or IRandom instance to use.
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.rsa.RSAKeyPairGenerator
Property name of an optional SecureRandom instance to use.
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
SOURCE_OF_RANDOMNESS - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
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.

References:

  1. The block cipher Square.
    Joan Daemen, Lars Knudsen and Vincent Rijmen.
PBES2.HMacHaval.Square - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Square
PBES2.HMacMD2.Square - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Square
PBES2.HMacMD4.Square - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Square
PBES2.HMacMD5.Square - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Square
PBES2.HMacSHA1.Square - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Square
PBES2.HMacSHA256.Square - class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Square
PBES2.HMacSHA384.Square - class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Square
PBES2.HMacSHA512.Square - class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Square
PBES2.HMacTiger.Square - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Square
Square() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Square
Square() - constructor for class gnu.crypto.cipher.Square
Trivial 0-arguments constructor.
SQUARE_CIPHER - static field in class gnu.crypto.Registry
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
SRP - class gnu.crypto.sasl.srp.SRP
A Factory class that returns SRP Singletons that know all SRP-related mathematical computations and protocol-related operations for both the client- and server-sides.
srp - field in class gnu.crypto.key.srp6.SRP6KeyAgreement
SRP6_KA - static field in class gnu.crypto.Registry
SRP6Host - class gnu.crypto.key.srp6.SRP6Host
The implementation of the Host in the SRP-6 key agreement protocol.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRP6KeyAgreement - class gnu.crypto.key.srp6.SRP6KeyAgreement
The Secure Remote Password (SRP) key agreement protocol, also known as SRP-6, is designed by Thomas J.
SRP6KeyAgreement() - constructor for class gnu.crypto.key.srp6.SRP6KeyAgreement
SRP6SaslClient - class gnu.crypto.key.srp6.SRP6SaslClient
A variation of the SRP-6 protocol as used in the SASL-SRP mechanism, for the User (client side).

In this alternative, the exchange goes as follows:

    C -> S:  I                      (identifies self)
    S -> C:  N, g, s, B = 3v + g^b  (sends salt, b = random number)
    C -> S:  A = g^a                (a = random number)
 

All elements are computed the same way as in the standard version.

Reference:

  1. Secure Remote Password Authentication Mechanism
    K.
SRP6SaslServer - class gnu.crypto.key.srp6.SRP6SaslServer
A variation of the SRP-6 protocol as used in the SASL-SRP mechanism, for the Host (server side).

In this alternative, the exchange goes as follows:

    C -> S:  I                      (identifies self)
    S -> C:  N, g, s, B = 3v + g^b  (sends salt, b = random number)
    C -> S:  A = g^a                (a = random number)
 

All elements are computed the same way as in the standard version.

Reference:

  1. Secure Remote Password Authentication Mechanism
    K.
SRP6TLSClient - class gnu.crypto.key.srp6.SRP6TLSClient
A variation of the SRP6 key agreement protocol, for the client-side as proposed in Using SRP for TLS Authentication.
SRP6TLSServer - class gnu.crypto.key.srp6.SRP6TLSServer
A variation of the SRP6 key agreement protocol, for the server-side as proposed in Using SRP for TLS Authentication.
SRP6User - class gnu.crypto.key.srp6.SRP6User
The implementation of the User in the SRP-6 protocol.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRP_ALGORITHMS - static field in class gnu.crypto.sasl.srp.SRPRegistry
Available hash algorithms for all SRP calculations.
SRP_CONFIDENTIALITY - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of SRP confidentiality protection property.
SRP_DEFAULT_DIGEST_NAME - static field in class gnu.crypto.sasl.srp.SRPRegistry
The name of the default message digest algorithm to use when no name is explicitely given.
SRP_DIGEST_NAME - static field in class gnu.crypto.sasl.srp.SRPRegistry
The property name of the message digest algorithm name to use in a given SRP incarnation.
SRP_HASH - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of underlying hash algorithm for use with all SRP calculations.
SRP_INTEGRITY_PROTECTION - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of SRP integrity protection property.
SRP_KPG - static field in class gnu.crypto.Registry
SRP_MANDATORY - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of SRP mandatory service property.
SRP_REPLAY_DETECTION - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of SRP replay detection property.
SRP_SASL_KA - static field in class gnu.crypto.Registry
SRP_TLS_KA - static field in class gnu.crypto.Registry
SRPAlgorithm - class gnu.crypto.key.srp6.SRPAlgorithm
Utilities for use with SRP-6 based methods and protocols.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRPAuthInfoProvider - class gnu.crypto.sasl.srp.SRPAuthInfoProvider
The SRP mechanism authentication information provider implementation.
SRPClient - class gnu.crypto.sasl.srp.SRPClient
The SASL-SRP client-side mechanism.
SRPClient() - constructor for class gnu.crypto.sasl.srp.SRPClient
SRPKey - class gnu.crypto.key.srp6.SRPKey
An abstract representation of a base SRP ephemeral key.

This object encapsulates the two numbers:

  • N: A large safe prime (N = 2q+1, where q is prime).
  • g: A generator modulo N.

Note that in SRP, all arithmetic is done modulo N.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRPKey(BigInteger,BigInteger) - constructor for class gnu.crypto.key.srp6.SRPKey
SRPKeyPairGenerator - class gnu.crypto.key.srp6.SRPKeyPairGenerator
Reference:
  1. SRP Protocol Design
    Thomas J.
SRPKeyPairRawCodec - class gnu.crypto.key.srp6.SRPKeyPairRawCodec
An object that implements the IKeyPairCodec operations for the Raw format to use with SRP keypairs.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRPPrivateKey - class gnu.crypto.key.srp6.SRPPrivateKey
A representation of an SRP ephemeral private key.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRPPrivateKey(BigInteger,BigInteger,BigInteger) - constructor for class gnu.crypto.key.srp6.SRPPrivateKey
Public constructor for use from outside this package.
Public constructor for use from outside this package.
SRPPrivateKey(BigInteger[]) - constructor for class gnu.crypto.key.srp6.SRPPrivateKey
Default constructor.
SRPPublicKey - class gnu.crypto.key.srp6.SRPPublicKey
A representation of an SRP ephemeral public key.

Reference:

  1. SRP Protocol Design
    Thomas J.
SRPPublicKey(BigInteger,BigInteger,BigInteger) - constructor for class gnu.crypto.key.srp6.SRPPublicKey
Public constructor for use from outside this package.
SRPPublicKey(BigInteger[]) - constructor for class gnu.crypto.key.srp6.SRPPublicKey
Default constructor.
SRPRegistry - interface gnu.crypto.sasl.srp.SRPRegistry
A list of key names designating the values exchanged between the server and client in an SRP communication authentication phase.
SRPServer - class gnu.crypto.sasl.srp.SRPServer
The SASL-SRP server-side mechanism.
SRPServer() - constructor for class gnu.crypto.sasl.srp.SRPServer
Stage - class gnu.crypto.assembly.Stage
A Stage in a Cascade Cipher.

Each stage may be either an implementation of a Block Cipher Mode of Operation (IMode) or another Cascade Cipher (Cascade).

Stage(gnu.crypto.assembly.Direction) - constructor for class gnu.crypto.assembly.Stage
stageKeys - field in class gnu.crypto.assembly.Cascade
The ordered list of Stage UIDs to their attribute maps.
stages - field in class gnu.crypto.assembly.Cascade
The map of Stages chained in this cascade.
stages() - method in class gnu.crypto.assembly.Cascade
Returns an Iterator over the stages contained in this instance.
state - field in class gnu.crypto.mode.BaseMode
The state indicator of this instance.
state - field in class gnu.crypto.sasl.ClientMechanism
The state of the authentication automaton.
STATE - static field in class gnu.crypto.mode.IMode
Property name of the state in which to operate this mode.
state - field in class gnu.crypto.sasl.ServerMechanism
The state of the authentication automaton.
step - field in class gnu.crypto.key.BaseKeyAgreementParty
The current step index of the protocol exchange.
store(Map) - method in class gnu.crypto.keyring.BaseKeyring
Stores the contents of this keyring to persistent storage as specified by the designated attributes.
store(Map) - method in class gnu.crypto.keyring.IKeyring
Stores the contents of this keyring to persistent storage as specified by the designated attributes.
store(OutputStream,char[]) - method in class gnu.crypto.keyring.BaseKeyring
store(OutputStream,char[]) - method in class gnu.crypto.keyring.GnuPrivateKeyring
store(OutputStream,char[]) - method in class gnu.crypto.keyring.GnuPublicKeyring
StoreEntry - class gnu.crypto.sasl.srp.StoreEntry
A simple timing-related object for use by SRP re-use code.
StoreEntry(int) - constructor for class gnu.crypto.sasl.srp.StoreEntry
streams - field in class gnu.crypto.mac.UHash32
STRENGTH_HIGH - static field in class gnu.crypto.Registry
STRENGTH_LOW - static field in class gnu.crypto.Registry
STRENGTH_MEDIUM - static field in class gnu.crypto.Registry

T

TAG_LENGTH - static field in class gnu.crypto.mac.TMMH16
TAG_LENGTH - static field in class gnu.crypto.exp.ust.UST
Property name of the authentication tag length in bytes.
tagLength - field in class gnu.crypto.jce.spec.TMMHParameterSpec
The tag length.
tail - field in class gnu.crypto.assembly.Transformer
TBC - class gnu.crypto.pad.TBC
The implementation of the Trailing Bit Complement (TBC) padding algorithm.

In this mode, "...the data string is padded at the trailing end with the complement of the trailing bit of the unpadded message: if the trailing bit is 1, then 0 bits are appended, and if the trailing bit is 0, then 1 bits are appended.

TBC() - constructor for class gnu.crypto.pad.TBC
Trivial package-private constructor for use by the Factory class.

TBC_PAD - static field in class gnu.crypto.Registry
Trailing Bit Complement padding scheme.
teardown() - method in class gnu.crypto.mode.BaseMode
The termination phase of the concrete mode implementation.
teardown() - method in class gnu.crypto.mode.CBC
teardown() - method in class gnu.crypto.mode.CFB
The termination phase of the concrete mode implementation.
teardown() - method in class gnu.crypto.mode.CTR
teardown() - method in class gnu.crypto.mode.ECB
teardown() - method in class gnu.crypto.mode.ICM
teardown() - method in class gnu.crypto.mode.OFB
The termination phase of the concrete mode implementation.
testKat(byte[],byte[]) - method in class gnu.crypto.cipher.BaseCipher
testKat(byte[],byte[],byte[]) - method in class gnu.crypto.cipher.BaseCipher
THREE - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
Tiger - class gnu.crypto.hash.Tiger
The Tiger message digest.
Tiger() - constructor for class gnu.crypto.hash.Tiger
Trivial 0-arguments constructor.
TIGER_HASH - static field in class gnu.crypto.Registry
TigerRandomSpi - class gnu.crypto.jce.prng.TigerRandomSpi
The implementation of the Tiger based SecureRandom Service Provider Interface (SPI) adapter.

TigerRandomSpi() - constructor for class gnu.crypto.jce.prng.TigerRandomSpi
TigerSpi - class gnu.crypto.jce.hash.TigerSpi
The implementation of the Tiger Service Provider Interface (SPI) adapter.
TigerSpi() - constructor for class gnu.crypto.jce.hash.TigerSpi
Trivial 0-arguments constructor.
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 field in class 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(gnu.crypto.prng.IRandom,Integer) - constructor for class gnu.crypto.jce.spec.TMMHParameterSpec
Create a new parameter specification with no prefix.
Create a new parameter specification.
toBase64(byte[]) - static method in class gnu.crypto.util.Util
Converts a designated byte array to a Base-64 representation, with the exceptions that (a) leading 0-byte(s) are ignored, and (b) the character '.' (dot) shall be used instead of "+' (plus).

Used by SASL password file manipulation primitives.

toByteArray() - method in class gnu.crypto.key.OutgoingMessage
Returns the encoded form of the current message including the 4-byte length header.
toByteArray(int[]) - method in class gnu.crypto.cipher.DES.Context
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() - method in class gnu.crypto.assembly.Direction
toString() - method in class gnu.crypto.key.GnuSecretKey
toString() - method in class gnu.crypto.key.KeyAgreementException
Returns the string representation of this exception.
toString() - method in class gnu.crypto.assembly.Operation
toString() - method in class gnu.crypto.keyring.Properties
toString() - method in class gnu.crypto.assembly.TransformerException
Returns the string representation of this exception.
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.BaseHash
The block digest transformation per se.
transform(byte[],int) - method in class gnu.crypto.hash.Haval
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.MD4
The block digest transformation per se.
transform(byte[],int) - method in class gnu.crypto.hash.MD5
The block digest transformation per se.
transform(byte[],int) - method in class gnu.crypto.hash.RipeMD128
transform(byte[],int) - method in class gnu.crypto.hash.RipeMD160
The block digest transformation per se.
transform(byte[],int) - method in class gnu.crypto.hash.Sha160
transform(byte[],int) - method in class gnu.crypto.hash.Sha256
transform(byte[],int) - method in class gnu.crypto.hash.Sha384
The block digest transformation per se.
transform(byte[],int) - method in class gnu.crypto.hash.Sha512
transform(byte[],int) - method in class gnu.crypto.hash.Tiger
transform(byte[],int) - method in class gnu.crypto.hash.Whirlpool
The block digest transformation per se.
Transformer - class gnu.crypto.assembly.Transformer
A Transformer is an abstract representation of a two-way transformation that can be chained together with other instances of this type.
Transformer() - constructor for class gnu.crypto.assembly.Transformer
Trivial protected constructor.
TransformerException - class gnu.crypto.assembly.TransformerException
TransformerException() - constructor for class gnu.crypto.assembly.TransformerException
TransformerException(String) - constructor for class gnu.crypto.assembly.TransformerException
TransformerException(String,Throwable) - constructor for class gnu.crypto.assembly.TransformerException
TransformerException(Throwable) - constructor for class gnu.crypto.assembly.TransformerException
trim(BigInteger) - static method in class gnu.crypto.util.Util
Treats the input as the MSB representation of a number, and discards leading zero elements.
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.
PBES2.HMacMD2.TripleDES - class gnu.crypto.jce.cipher.PBES2.HMacMD2.TripleDES
PBES2.HMacMD4.TripleDES - class gnu.crypto.jce.cipher.PBES2.HMacMD4.TripleDES
PBES2.HMacMD5.TripleDES - class gnu.crypto.jce.cipher.PBES2.HMacMD5.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.TripleDES
TripleDES() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.TripleDES
TripleDES() - constructor for class gnu.crypto.cipher.TripleDES
Default 0-arguments constructor.
TRIPLEDES_CIPHER - static field in class gnu.crypto.Registry
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 field in class gnu.crypto.mac.IMac
Property name of the desired truncated output size in bytes.
truncatedSize - field in class gnu.crypto.mac.BaseMac
The length of the truncated output in bytes.
TWO - static field in class gnu.crypto.key.BaseKeyAgreementParty
TWO - static field in class gnu.crypto.mac.UHash32
twoBytesToLength(byte[]) - static method in class gnu.crypto.key.IncomingMessage
Converts two octets into the number that they represent.
twoBytesToLength(byte[]) - static method in class gnu.crypto.sasl.InputBuffer
Converts two octets into the number that they represent.
Twofish - class gnu.crypto.cipher.Twofish
Twofish is a balanced 128-bit Feistel cipher, consisting of 16 rounds.
PBES2.HMacHaval.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacHaval.Twofish
PBES2.HMacMD2.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacMD2.Twofish
PBES2.HMacMD4.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacMD4.Twofish
PBES2.HMacMD5.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacMD5.Twofish
PBES2.HMacSHA1.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Twofish
PBES2.HMacTiger.Twofish - class gnu.crypto.jce.cipher.PBES2.HMacTiger.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacHaval.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD2.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD4.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacMD5.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD128.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacRipeMD160.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA1.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA256.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA384.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacSHA512.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacTiger.Twofish
Twofish() - constructor for class gnu.crypto.jce.cipher.PBES2.HMacWhirlpool.Twofish
Twofish() - constructor for class gnu.crypto.cipher.Twofish
Trivial 0-arguments constructor.
TWOFISH_CIPHER - static field in class gnu.crypto.Registry
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
TYPE - static field in class gnu.crypto.keyring.AuthenticatedEntry
TYPE - static field in class gnu.crypto.keyring.BinaryDataEntry
TYPE - static field in class gnu.crypto.keyring.CertificateEntry
TYPE - static field in class gnu.crypto.keyring.CertPathEntry
TYPE - static field in class gnu.crypto.keyring.CompressedEntry
TYPE - static field in class gnu.crypto.keyring.EncryptedEntry
type - field in class gnu.crypto.keyring.Entry
This entry's type identifier.
TYPE - static field in class gnu.crypto.keyring.PasswordAuthenticatedEntry
TYPE - static field in class gnu.crypto.keyring.PasswordEncryptedEntry
TYPE - static field in class gnu.crypto.keyring.PrivateKeyEntry
TYPE - static field in class gnu.crypto.keyring.PublicKeyEntry

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 field in class gnu.crypto.Registry
Message Authentication Code using Universal Hashing (Ted Krovetz).
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
UID_FIELD - static field in class gnu.crypto.sasl.crammd5.CramMD5Registry
Name of the UID field in the plain password file.
UID_FIELD - static field in class gnu.crypto.sasl.plain.PlainRegistry
Name of the UID field in the plain password file.
UMac32 - class gnu.crypto.mac.UMac32
The implementation of the UMAC (Universal Message Authentication Code).

The UMAC algorithms described are parameterized.

UMAC32 - static field in class 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
UMAC_PRNG - static field in class gnu.crypto.Registry
PRNG based on UMAC's Key Derivation Function.
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 java.security.SecureRandom.
underlyingHash - field in class gnu.crypto.mac.BaseMac
Reference to the underlying hash algorithm instance.
UNIVERSAL - static field in class gnu.crypto.jce.params.DERReader
UNIVERSAL - static field in class gnu.crypto.jce.params.DERWriter
unpad(byte[],int,int) - method in class gnu.crypto.pad.BasePad
Returns the number of bytes to discard from a designated input buffer.
unpad(byte[],int,int) - method in class gnu.crypto.pad.IPad
Returns the number of bytes to discard from a designated input buffer.
unpad(byte[],int,int) - method in class gnu.crypto.pad.PKCS1_V1_5
unpad(byte[],int,int) - method in class gnu.crypto.pad.PKCS7
unpad(byte[],int,int) - method in class gnu.crypto.pad.TBC
Returns the number of bytes to discard from a designated input buffer.
unwrap(byte[],int,int) - method in class gnu.crypto.sasl.ClientMechanism
unwrap(byte[],int,int) - method in class gnu.crypto.sasl.ServerMechanism
update(byte) - method in class gnu.crypto.assembly.Assembly
Convenience method that calls the method with same name and three arguments, using a byte array of length 1 whose contents are the designated byte.
update(byte) - method in class gnu.crypto.hash.BaseHash
update(byte) - method in class gnu.crypto.mac.BaseMac
update(byte) - method in class gnu.crypto.sig.BaseSignature
update(byte) - method in class gnu.crypto.mac.IMac
Continues a MAC operation using the input byte.
update(byte) - method in class gnu.crypto.hash.IMessageDigest
Continues a message digest operation using the input byte.
update(byte) - method in class gnu.crypto.sig.ISignature
Digests one byte of a message for signing or verification purposes.
update(byte) - method in class gnu.crypto.mac.TMMH16
update(byte) - method in class gnu.crypto.assembly.Transformer
Convenience method that calls the method with same name and three arguments, using a byte array of length 1 whose contents are the designated byte.
update(byte) - method in class gnu.crypto.mac.UHash32
Continues a MAC operation using the input byte.
update(byte) - method in class gnu.crypto.mac.UHash32.L1Hash32
update(byte) - method in class gnu.crypto.mac.UMac32
update(byte,gnu.crypto.prng.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.
update(byte[]) - method in class gnu.crypto.assembly.Assembly
Convenience method that calls the method with same name and three arguments.
update(byte[]) - method in class gnu.crypto.sasl.srp.IALG
update(byte[]) - method in class gnu.crypto.assembly.Transformer
Convenience method that calls the same method with three arguments.
update(byte[],int,byte[],int) - method in class gnu.crypto.mode.BaseMode
update(byte[],int,byte[],int) - method in class gnu.crypto.assembly.Cascade
Processes exactly one block of plaintext (if initialised in the Direction.FORWARD state) or ciphertext (if initialised in the Direction.REVERSED state).
update(byte[],int,byte[],int) - method in class gnu.crypto.mode.IMode
A convenience method.
update(byte[],int,byte[],int) - method in class gnu.crypto.assembly.Stage
Processes exactly one block of plaintext (if initialised in the Direction.FORWARD state) or ciphertext (if initialised in the Direction.REVERSED state).
update(byte[],int,int) - method in class gnu.crypto.assembly.Assembly
Processes a designated number of bytes from a given byte array.
update(byte[],int,int) - method in class gnu.crypto.hash.BaseHash
update(byte[],int,int) - method in class gnu.crypto.mac.BaseMac
update(byte[],int,int) - method in class gnu.crypto.sig.BaseSignature
update(byte[],int,int) - method in class gnu.crypto.sasl.srp.IALG
update(byte[],int,int) - method in class 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.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.sig.ISignature
Digests a sequence of bytes from a message for signing or verification purposes.
update(byte[],int,int) - method in class gnu.crypto.assembly.LoopbackTransformer
Processes a designated number of bytes from a given byte array.
update(byte[],int,int) - method in class gnu.crypto.mac.TMMH16
update(byte[],int,int) - method in class gnu.crypto.assembly.Transformer
Processes a designated number of bytes from a given byte array.
update(byte[],int,int) - method in class gnu.crypto.mac.UHash32
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.UHash32.L2Hash32
update(byte[],int,int) - method in class gnu.crypto.mac.UMac32
Similar to the same method with three arguments, but uses the designated random number generator to compute needed keying material.
update(Map) - method in class gnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
update(Map) - method in class gnu.crypto.sasl.IAuthInfoProvider
Updates the credentials of a designated user.
update(Map) - method in class gnu.crypto.sasl.plain.PlainAuthInfoProvider
Updates the credentials of a designated user.
update(Map) - method in class gnu.crypto.sasl.srp.SRPAuthInfoProvider
Updates the credentials of a designated user.
updateDelegate(byte[],int,byte[],int) - method in class gnu.crypto.assembly.CascadeStage
updateDelegate(byte[],int,byte[],int) - method in class gnu.crypto.assembly.ModeStage
updateDelegate(byte[],int,byte[],int) - method in class gnu.crypto.assembly.Stage
updateDelegate(byte[],int,int) - method in class gnu.crypto.assembly.CascadeTransformer
updateDelegate(byte[],int,int) - method in class gnu.crypto.assembly.DeflateTransformer
updateDelegate(byte[],int,int) - method in class gnu.crypto.assembly.LoopbackTransformer
updateDelegate(byte[],int,int) - method in class gnu.crypto.assembly.PaddingTransformer
updateDelegate(byte[],int,int) - method in class gnu.crypto.assembly.Transformer
UPPER_RANGE - static field in class gnu.crypto.mac.UHash32
USAGE - static field in class gnu.crypto.keyring.GnuPrivateKeyring
USAGE - static field in class gnu.crypto.keyring.GnuPublicKeyring
USE_DEFAULTS - static field in class gnu.crypto.key.dss.DSSKeyPairGenerator
Property name of the Boolean indicating wether or not to use defaults.
USE_DEFAULTS - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Property name of the Boolean indicating wether or not to use defaults.
USE_WITH_PKCS5_V2 - static field in class gnu.crypto.mac.HMac
USER_IDENTITY - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
USER_NAME - static field in class gnu.crypto.sasl.srp.SRPRegistry
The client's username.
USER_PASSWORD - static field in class gnu.crypto.key.srp6.SRP6KeyAgreement
USER_ROLE - static field in class gnu.crypto.sasl.srp.SRPRegistry
The client's authorization ID.
USER_SALT - static field in class gnu.crypto.sasl.srp.SRPRegistry
The user's salt.
USER_VERIFIER - static field in class gnu.crypto.key.srp6.SRPKeyPairGenerator
Property name of the user's verifier (v) for a Server SRP key.
USER_VERIFIER_FIELD - static field in class gnu.crypto.sasl.srp.SRPRegistry
Name of the GID field in the plain password file.
A checked exception thrown to indicate that a designated user is already known to the the authentication layer.
UserAlreadyExistsException() - constructor for class gnu.crypto.sasl.UserAlreadyExistsException
Constructs a UserAlreadyExistsException with no detail message.
UserAlreadyExistsException(String) - constructor for class gnu.crypto.sasl.UserAlreadyExistsException
Constructs a UserAlreadyExistsException with the specified detail message.
UST - class gnu.crypto.exp.ust.UST
The Universal Security Transform (UST) is a cryptographic transform for providing confidentiality, message authentication, and replay protection.
Util - class gnu.crypto.util.Util
A collection of utility methods used throughout this project.
uValue(BigInteger,BigInteger) - method in class gnu.crypto.key.srp6.SRP6KeyAgreement

V

validEmailAddress(String) - static method in class gnu.crypto.sasl.SaslUtil
valueOf(byte[]) - static method in class gnu.crypto.key.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.key.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.key.dh.GnuDHPrivateKey
A class method that takes the output of the encodePrivateKey() method of a DH keypair codec object (an instance implementing IKeyPairCodec for DH keys, and re-constructs an instance of this object.
valueOf(byte[]) - static method in class gnu.crypto.key.dh.GnuDHPublicKey
A class method that takes the output of the encodePublicKey() method of a DH 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.key.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.
valueOf(byte[]) - static method in class gnu.crypto.key.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.key.srp6.SRPPrivateKey
A class method that takes the output of the encodePrivateKey() method of an SRP 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.key.srp6.SRPPublicKey
A class method that takes the output of the encodePublicKey() method of an SRP keypair codec object (an instance implementing IKeyPairCodec for SRP keys, and re-constructs an instance of this object.
VERIFIER_KEY - static field in class gnu.crypto.sig.ISignature
Property name of the verifier's public key.
verify(byte[]) - method in class gnu.crypto.keyring.AuthenticatedEntry
Verifies this entry's payload.
verify(char[]) - method in class gnu.crypto.keyring.PasswordAuthenticatedEntry
verify(DSAPublicKey,byte[],BigInteger[]) - static method in class gnu.crypto.sig.dss.DSSSignature
verify(Object) - method in class gnu.crypto.sig.BaseSignature
verify(Object) - method in class 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.RSAPKCS1V1_5Signature
verifySignature(Object) - method in class gnu.crypto.sig.rsa.RSAPSSSignature

W

WEAK_KEYS - static field in class gnu.crypto.cipher.DES
Weak keys (parity adjusted): If all the bits in each half are either 0 or 1, then the key used for any cycle of the algorithm is the same as all other cycles.
WeakKeyException - class gnu.crypto.cipher.WeakKeyException
Checked exception thrown to indicate that a weak key has been generated and or specified instead of a valid non-weak value.
WeakKeyException() - constructor for class gnu.crypto.cipher.WeakKeyException
WeakKeyException(String) - constructor for class gnu.crypto.cipher.WeakKeyException
Whirlpool - class gnu.crypto.hash.Whirlpool
Whirlpool, a new 512-bit hashing function operating on messages less than 2 ** 256 bits in length.
Whirlpool() - constructor for class gnu.crypto.hash.Whirlpool
Trivial 0-arguments constructor.
WHIRLPOOL_HASH - static field in class gnu.crypto.Registry
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
wired - field in class gnu.crypto.assembly.Cascade
The current operational direction of this instance.
wired - field in class gnu.crypto.assembly.Stage
wired - field in class gnu.crypto.assembly.Transformer
work() - method in class gnu.crypto.tool.SMTPClient
wrap() - method in class gnu.crypto.key.OutgoingMessage
Returns the encoded form of the current message excluding the 4-byte length header.
wrap() - method in class gnu.crypto.sasl.OutputBuffer
Returns the encoded form of the current buffer excluding the 4-byte length header.
wrap(byte[],int,int) - method in class gnu.crypto.sasl.ClientMechanism
wrap(byte[],int,int) - method in class gnu.crypto.sasl.ServerMechanism
write(byte[],int,int) - method in class gnu.crypto.mac.MacOutputStream
write(byte[],int,int) - method in class gnu.crypto.sasl.SaslOutputStream
When writing octets to the resulting stream, if a security layer has been negotiated, each piece of data written (by a single invocation of write()) will be encapsulated as a SASL buffer, as defined in RFC 2222, and then written to the underlying dest output stream.
write(int) - method in class gnu.crypto.mac.MacOutputStream
write(int) - method in class gnu.crypto.sasl.SaslOutputStream
When writing octets to the resulting stream, if a security layer has been negotiated, each piece of data written (by a single invocation of write()) will be encapsulated as a SASL buffer, as defined in RFC 2222, and then written to the underlying dest output stream.
writeBigInteger(BigInteger) - method in class gnu.crypto.jce.params.DERWriter
writeMPI(BigInteger) - method in class gnu.crypto.key.OutgoingMessage
Encodes an MPI into the message.
writePrivateKey(PrivateKey) - method in class gnu.crypto.key.OutgoingMessage
Encodes a private key into the message.
writePublicKey(PublicKey) - method in class gnu.crypto.key.OutgoingMessage
Encodes a public key into the message.
writeString(String) - method in class gnu.crypto.key.OutgoingMessage
Encodes a string into the message.
A checked exception that indicates that a padding algorithm did not find the expected padding bytes when unpadding some data.

X

xor(byte[],byte[]) - method in class gnu.crypto.sasl.srp.SRP
Convenience method to XOR N bytes from two arrays; N being the output size of the SRP message digest algorithm.

Z

ZZ - field in class gnu.crypto.key.dh.DiffieHellmanKeyAgreement
The shared secret key.
ZZ - field in class gnu.crypto.key.dh.ElGamalKeyAgreement
The shared secret key.

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