Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg
Class BCPGObject

java.lang.Object
  |
  +--org.bouncycastle.bcpg.BCPGObject
All Implemented Interfaces:
org.bouncycastle.util.Encodable
Direct Known Subclasses:
DSAPublicBCPGKey, DSASecretBCPGKey, ECPublicBCPGKey, ECSecretBCPGKey, EdSecretBCPGKey, ElGamalPublicBCPGKey, ElGamalSecretBCPGKey, MPInteger, OctetArrayBCPGKey, RSAPublicBCPGKey, RSASecretBCPGKey, S2K

public abstract class BCPGObject
extends java.lang.Object
implements org.bouncycastle.util.Encodable

Base class for a PGP object.


Constructor Summary
BCPGObject()
           
 
Method Summary
abstract  void encode(BCPGOutputStream out)
           
 byte[] getEncoded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCPGObject

public BCPGObject()
Method Detail

getEncoded

public byte[] getEncoded()
                  throws java.io.IOException
Specified by:
getEncoded in interface org.bouncycastle.util.Encodable

encode

public abstract void encode(BCPGOutputStream out)
                     throws java.io.IOException

Bouncy Castle Cryptography Library 1.79