Top Description Constructors Methods
org.bouncycastle.bcpg

public abstract Class BCPGObject

extends Object
implements Encodable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Encodable
Known Direct Subclasses
org.bouncycastle.bcpg.DSAPublicBCPGKey, org.bouncycastle.bcpg.DSASecretBCPGKey, org.bouncycastle.bcpg.ECPublicBCPGKey, org.bouncycastle.bcpg.ECSecretBCPGKey, org.bouncycastle.bcpg.EdSecretBCPGKey, org.bouncycastle.bcpg.ElGamalPublicBCPGKey, org.bouncycastle.bcpg.ElGamalSecretBCPGKey, org.bouncycastle.bcpg.MPInteger, org.bouncycastle.bcpg.RSAPublicBCPGKey, org.bouncycastle.bcpg.RSASecretBCPGKey, org.bouncycastle.bcpg.S2K
Imports
java.io.ByteArrayOutputStream, .IOException, org.bouncycastle.util.Encodable

Base class for a PGP object.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
public byte[]
getEncoded()

Implements org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BCPGObjectback to summary
public BCPGObject()

Method Detail

encodeback to summary
public abstract void encode(BCPGOutputStream out) throws IOException
getEncodedback to summary
public byte[] getEncoded() throws IOException

Implements org.bouncycastle.util.Encodable.getEncoded.

Doc from org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.

Returns:byte[]

a byte array representing the encoding.

Exceptions
IOException:
if an issue arises generation the encoding.