# 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
  Interface | Description
  --- | ---
  BCPGKey | base interface for a PGP key
  CompressionAlgorithmTags | Basic tags for compression algorithms
  HashAlgorithmTags | basic tags for hash algorithms
  PacketTags | Basic PGP packet tag types.
  PublicKeyAlgorithmTags | Public Key Algorithm tag numbers
  SignatureSubpacketTags | Basic PGP signature sub-packet tag types.
  SymmetricKeyAlgorithmTags | Basic tags for symmetric key algorithms
  UserAttributeSubpacketTags | Basic PGP user attribute sub-packet tag types.

- Class Summary
  Class | Description
  --- | ---
  ArmoredInputStream | reader for Base64 armored objects - read the headers and then start returning bytes when the data is reached.
  ArmoredOutputStream | Output stream that writes data in ASCII Armored format.
  BCPGInputStream | Stream reader for PGP objects
  BCPGObject | Base class for a PGP object.
  BCPGOutputStream | Basic output stream.
  CompressedDataPacket | A generic compressed data object.
  ContainedPacket | Basic type for a PGP packet.
  CRC24 |
  DSAPublicBCPGKey | base class for a DSA Public Key.
  DSASecretBCPGKey | base class for a DSA Secret Key.
  ECDHPublicBCPGKey | base class for an ECDH Public Key.
  ECDSAPublicBCPGKey | base class for an ECDSA Public Key.
  ECPublicBCPGKey | base class for an EC Public Key.
  ECSecretBCPGKey | base class for an EC Secret Key.
  EdDSAPublicBCPGKey | base class for an EdDSA Public Key.
  EdSecretBCPGKey | base class for an Edwards Curve Secret Key.
  ElGamalPublicBCPGKey | base class for an ElGamal Public Key.
  ElGamalSecretBCPGKey | base class for an ElGamal Secret Key.
  ExperimentalPacket | basic packet for an experimental packet.
  InputStreamPacket | A block of data associated with other packets in a PGP object stream.
  LiteralDataPacket | Generic literal data packet.
  MarkerPacket | Basic type for a marker packet
  ModDetectionCodePacket | basic packet for a modification detection code packet.
  MPInteger | a multiple precision integer
  OnePassSignaturePacket | generic signature object
  OutputStreamPacket |
  Packet |
  PublicKeyEncSessionPacket | basic packet for a PGP public key
  PublicKeyPacket | basic packet for a PGP public key
  PublicSubkeyPacket | basic packet for a PGP public key
  RSAPublicBCPGKey | base class for an RSA Public Key.
  RSASecretBCPGKey | base class for an RSA Secret (or Private) Key.
  S2K | Parameter specifier for the PGP string-to-key password based key derivation function.
  SecretKeyPacket | basic packet for a PGP secret key
  SecretSubkeyPacket | basic packet for a PGP secret key
  SignaturePacket | generic signature packet
  SignatureSubpacket | Basic type for a PGP Signature sub-packet.
  SignatureSubpacketInputStream | reader for signature sub-packets
  SymmetricEncDataPacket | Basic type for a symmetric key encrypted packet
  SymmetricEncIntegrityPacket | A symmetric key encrypted packet with an associated integrity check code.
  SymmetricKeyEncSessionPacket | Basic type for a symmetric encrypted session key packet
  TrustPacket | Basic type for a trust packet
  UserAttributePacket | Basic type for a user attribute packet.
  UserAttributeSubpacket | Basic type for a user attribute sub-packet.
  UserAttributeSubpacketInputStream | reader for user attribute sub-packets
  UserIDPacket | Basic type for a user ID packet.