Top Description Interfaces Classes Enums
module bcpg

Package org.bouncycastle.bcpg


Low level classes for dealing with OpenPGP objects.

These classes deal with things at a raw OpenPGP packet level. For the most part you are probably better off looking at the org.bouncycastle.openpgp package for what you want.

Interface Summary

Modifier and TypeInterface and Description
public interface
AEADAlgorithmTags

AEAD Algorithm IDs.

public interface
BCPGHeaderObject

Implemented by packets written as headers followed by a stream of data.

public interface
BCPGKey

base interface for a PGP key

public interface
CompressionAlgorithmTags

Basic tags for compression algorithms.

public interface
HashAlgorithmTags

Basic tags for hash algorithms.

public interface
PacketTags

Basic PGP packet tag types.

public interface
PublicKeyAlgorithmTags

Public Key Algorithm IDs.

public interface
SignatureSubpacketTags

Basic PGP signature sub-packet tag types.

public interface
SymmetricKeyAlgorithmTags

Basic tags for symmetric key algorithms.

public interface
UserAttributeSubpacketTags

Basic PGP user attribute sub-packet tag types.

public interface
UserDataPacket

Superclass for user identities (UserIDPacket, UserAttributePacket).

Class Summary

Modifier and TypeClass and Description
public class
AEADEncDataPacket

Packet representing non-standard, LibrePGP OCB (AEAD) encrypted data.

public class
public class
public class
ArmoredInputStream

reader for Base64 armored objects - read the headers and then start returning bytes when the data is reached.

public class
ArmoredOutputStream

Output stream that writes data in ASCII Armored format.

public class
BCPGInputStream

Stream reader for PGP objects

public abstract class
BCPGObject

Base class for a PGP object.

public class
BCPGOutputStream

Basic output stream.

public class
CompressedDataPacket

A generic compressed data object.

public abstract class
ContainedPacket

Basic type for a PGP packet.

public class
public class
DSAPublicBCPGKey

base class for a DSA Public Key.

public class
DSASecretBCPGKey

base class for a DSA Secret Key.

public class
ECDHPublicBCPGKey

Base class for an ECDH Public Key.

public class
ECDSAPublicBCPGKey

Base class for an ECDSA Public Key.

public abstract class
ECPublicBCPGKey

Base class for an EC Public Key.

public class
ECSecretBCPGKey

Base class for an EC Secret Key.

public class
public class
public class
public class
public class
EdDSAPublicBCPGKey

Base class for an EdDSA Public Key.

public class
EdSecretBCPGKey

Base class for an Edwards Curve (EdDSA) Secret Key.

public class
ElGamalPublicBCPGKey

base class for an ElGamal Public Key.

public class
ElGamalSecretBCPGKey

base class for an ElGamal Secret Key.

public class
ExperimentalPacket

basic packet for an experimental packet.

public class
public class
public class
public class
InputStreamPacket

A block of data associated with other packets in a PGP object stream.

public class
KeyIdentifier

Utility class for matching key-ids / fingerprints.

public class
LiteralDataPacket

Generic literal data packet.

public class
MarkerPacket

Basic type for a marker packet

public class
ModDetectionCodePacket

basic packet for a modification detection code packet.

public class
MPInteger

a multiple precision integer

public abstract class
OctetArrayBCPGKey

Public/Secret BCPGKey which is encoded as an array of octets rather than an MPI.

public class
OnePassSignaturePacket

One-Pass-Signature packet.

public abstract class
OutputStreamPacket

Deprecated Will be removed
public class
public class
public class
PublicKeyEncSessionPacket

basic packet for a PGP public key

public class
PublicKeyPacket

Base class for OpenPGP public (primary) keys.

public class
PublicKeyUtils

Utility methods related to OpenPGP public key algorithms.

public class
PublicSubkeyPacket

basic packet for a PGP public key

public class
public class
RSAPublicBCPGKey

base class for an RSA Public Key.

public class
RSASecretBCPGKey

base class for an RSA Secret (or Private) Key.

public class
S2K

Parameter specifier for the PGP string-to-key password based key derivation function.

public class
SecretKeyPacket

Base class for OpenPGP secret (primary) keys.

public class
SecretSubkeyPacket

basic packet for a PGP secret key

public class
SignaturePacket

generic signature packet

public class
SignatureSubpacket

Basic type for a PGP Signature sub-packet.

public class
SignatureSubpacketInputStream

reader for signature sub-packets

pack-priv class
public class
SymmetricEncDataPacket

Basic type for a symmetric key encrypted packet

public class
SymmetricEncIntegrityPacket

A symmetric key encrypted packet with an associated integrity check code.

public class
SymmetricKeyEncSessionPacket

Basic type for a symmetric encrypted session key packet

public class
public class
TrustPacket

Basic type for a trust packet

public class
UnknownBCPGKey

Key class for unknown/unsupported OpenPGP key types.

public class
public class
public class
UserAttributePacket

Basic type for a user attribute packet.

public class
UserAttributeSubpacket

Basic type for a user attribute sub-packet.

public class
UserAttributeSubpacketInputStream

reader for user attribute sub-packets

public class
UserIDPacket

Basic type for a user ID packet.

public class
public class
public class
public class

Enum Summary

Modifier and TypeEnum and Description
public enum
PacketFormat

OpenPGP Packet Header Length Format.