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 AEADAlgorithmTags AEAD Algorithm IDs.BCPGHeaderObject Implemented by packets written as headers followed by a stream of data.BCPGKey base interface for a PGP keyCompressionAlgorithmTags Basic tags for compression algorithms.HashAlgorithmTags Basic tags for hash algorithms.PacketTags Basic PGP packet tag types.PublicKeyAlgorithmTags Public Key Algorithm IDs.SignatureSubpacketTags Basic PGP signature sub-packet tag types.SymmetricKeyAlgorithmTags Basic tags for symmetric key algorithms.UserAttributeSubpacketTags Basic PGP user attribute sub-packet tag types.UserDataPacket Superclass for user identities (UserIDPacket
,UserAttributePacket
). -
Class Summary Class Description AEADEncDataPacket Packet representing non-standard, LibrePGP OCB (AEAD) encrypted data.AEADUtils ArmoredInputStream reader for Base64 armored objects - read the headers and then start returning bytes when the data is reached.ArmoredInputStream.Builder ArmoredOutputStream Output stream that writes data in ASCII Armored format.ArmoredOutputStream.Builder BCPGInputStream Stream reader for PGP objectsBCPGObject 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.Ed25519PublicBCPGKey Public key of typePublicKeyAlgorithmTags.Ed25519
.Ed25519SecretBCPGKey Secret key of typePublicKeyAlgorithmTags.Ed25519
.Ed448PublicBCPGKey Public key of typePublicKeyAlgorithmTags.Ed448
.Ed448SecretBCPGKey Secret key of typePublicKeyAlgorithmTags.Ed448
.EdDSAPublicBCPGKey Base class for an EdDSA Public Key.EdSecretBCPGKey Base class for an Edwards Curve (EdDSA) 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.FastCRC24 FingerprintUtil HashUtils InputStreamPacket A block of data associated with other packets in a PGP object stream.KeyIdentifier Utility class for matching key-ids / fingerprints.LiteralDataPacket Generic literal data packet.MarkerPacket Basic type for a marker packetModDetectionCodePacket basic packet for a modification detection code packet.MPInteger a multiple precision integerOctetArrayBCPGKey Public/Secret BCPGKey which is encoded as an array of octets rather than an MPI.OnePassSignaturePacket One-Pass-Signature packet.OutputStreamPacket Deprecated. Will be removedPacket PaddingPacket PublicKeyEncSessionPacket basic packet for a PGP public keyPublicKeyPacket Base class for OpenPGP public (primary) keys.PublicSubkeyPacket basic packet for a PGP public keyReservedPacket 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.S2K.Argon2Params Parameters for Argon2 S2K.S2K.GNUDummyParams Parameters for theS2K.GNU_DUMMY_S2K
method.SecretKeyPacket Base class for OpenPGP secret (primary) keys.SecretSubkeyPacket basic packet for a PGP secret keySignaturePacket generic signature packetSignatureSubpacket Basic type for a PGP Signature sub-packet.SignatureSubpacketInputStream reader for signature sub-packetsSymmetricEncDataPacket Basic type for a symmetric key encrypted packetSymmetricEncIntegrityPacket A symmetric key encrypted packet with an associated integrity check code.SymmetricKeyEncSessionPacket Basic type for a symmetric encrypted session key packetSymmetricKeyUtils TrustPacket Basic type for a trust packetUnknownBCPGKey Key class for unknown/unsupported OpenPGP key types.UnknownPacket UserAttributePacket Basic type for a user attribute packet.UserAttributeSubpacket Basic type for a user attribute sub-packet.UserAttributeSubpacketInputStream reader for user attribute sub-packetsUserIDPacket Basic type for a user ID packet.X25519PublicBCPGKey Public key of typePublicKeyAlgorithmTags.X25519
.X25519SecretBCPGKey Secret key of typePublicKeyAlgorithmTags.X25519
.X448PublicBCPGKey Public key of typePublicKeyAlgorithmTags.X448
.X448SecretBCPGKey Secret key of typePublicKeyAlgorithmTags.X448
. -
Enum Summary Enum Description PacketFormat OpenPGP Packet Header Length Format. -
Exception Summary Exception Description ArmoredInputException UnsupportedPacketVersionException