Top Description Interfaces Classes Enums
module bcprov

Package org.bouncycastle.crypto


Base classes for the lightweight API.

Interface Summary

Modifier and TypeInterface and Description
public interface
AlphabetMapper

Base interface for mapping from an alphabet to a set of indexes suitable for use with FPE.

public interface
AsymmetricBlockCipher

base interface that a public/private key block cipher needs to conform to.

public interface
AsymmetricCipherKeyPairGenerator

interface that a public/private key pair generator should conform to.

public interface
BasicAgreement

The basic interface that basic Diffie-Hellman implementations conforms to.

public interface
BlockCipher

Block cipher engines are expected to conform to this interface.

public interface
CharToByteConverter

Interface for a converter that produces a byte encoding for a char array.

public interface
CipherParameters

all parameter classes implement this.

public interface
Committer

General interface fdr classes that produce and validate commitments.

public interface
public interface
public interface
DerivationFunction

base interface for general purpose byte derivation functions.

public interface
DerivationParameters

Parameters for key/byte stream derivation classes

public interface
Digest

interface that a message digest conforms to.

public interface
DigestDerivationFunction

base interface for general purpose Digest based byte derivation functions.

public interface
DSA

interface for classes implementing algorithms modeled similar to the Digital Signature Alorithm.

public interface
DSAExt

An "extended" interface for classes implementing DSA-style algorithms, that provides access to the group order.

public interface
public interface
public interface
public interface
KeyEncapsulation

The basic interface for key encapsulation mechanisms.
public interface
public interface
public interface
Mac

The base interface for implementations of message authentication codes (MACs).

public interface
MacDerivationFunction

base interface for general purpose Mac based byte derivation functions.

public interface
MultiBlockCipher

Base interface for a cipher engine capable of processing multiple blocks at a time.

public interface
public interface
SavableDigest

Extended digest which provides the ability to store state and provide an encoding.

public interface
SecretWithEncapsulation

Interface describing secret with encapsulation details.

public interface
SecureRandomProvider

Source provider for SecureRandom implementations.

public interface
Signer

Generic signer interface for hash based and message recovery signers.

public interface
SignerWithRecovery

Signer with message recovery.

public interface
SkippingCipher

Ciphers producing a key stream which can be reset to particular points in the stream implement this.

public interface
SkippingStreamCipher

General interface for a stream cipher that supports skipping.

public interface
public interface
StreamCipher

the interface stream ciphers conform to.

public interface
public interface
Xof

With FIPS PUB 202 a new kind of message digest was announced which supported extendable output, or variable digest sizes.

Class Summary

Modifier and TypeClass and Description
public class
AsymmetricCipherKeyPair

a holding class for public/private parameter pairs.

public class
BufferedAsymmetricBlockCipher

a buffer wrapper for an asymmetric block cipher, allowing input to be accumulated in a piecemeal fashion until final processing.

public class
BufferedBlockCipher

A wrapper class that allows block ciphers to be used to process data in a piecemeal fashion.

public class
CipherKeyGenerator

The base class for symmetric, or secret, cipher key generators.

public class
Commitment

General holding class for a commitment.

public class
CryptoException

the foundation class for the hard exceptions thrown by the crypto packages.

public class
public class
CryptoServicesPermission

Permissions that need to be configured if a SecurityManager is used.

public class
CryptoServicesRegistrar

Basic registrar class for providing defaults for cryptography services in this module.

public class
DataLengthException

this exception is thrown if a buffer that is meant to have output copied into it turns out to be too short, or if we've been given insufficient input.

public class
DefaultBufferedBlockCipher

A wrapper class that allows block ciphers to be used to process data in a piecemeal fashion.

public abstract class
public class
public class
InvalidCipherTextException

this exception is thrown whenever we find something we don't expect in a message.

public class
KeyGenerationParameters

The base class for parameters to key generators.

public class
MaxBytesExceededException

this exception is thrown whenever a cipher requires a change of key, iv or similar after x amount of bytes enciphered

public class
public abstract class
PBEParametersGenerator

super class for all Password Based Encryption (PBE) parameter generator classes.

public class
RuntimeCryptoException

the foundation class for the exceptions thrown by the crypto packages.

public abstract class
StreamBlockCipher

A parent class for block cipher modes that do not require block aligned data to be processed, but can function in a streaming mode.

Enum Summary

Modifier and TypeEnum and Description
public enum
public enum
PasswordConverter

Standard char[] to byte[] converters for password based derivation algorithms.