C# Class Org.BouncyCastle.Bcpg.OpenPgp.PgpObjectFactory

General class for reading a PGP object stream.

Note: if this class finds a PgpPublicKey or a PgpSecretKey it will create a PgpPublicKeyRing, or a PgpSecretKeyRing for each key found. If all you are trying to do is read a key ring file use either PgpPublicKeyRingBundle or PgpSecretKeyRingBundle.

Afficher le fichier Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Méthodes publiques

Méthode Description
AllPgpObjects ( ) : IList

Return all available objects in a list.

NextPgpObject ( ) : PgpObject

Return the next object in the stream, or null if the end is reached.

PgpObjectFactory ( Stream inputStream ) : System
PgpObjectFactory ( byte bytes ) : System

Private Methods

Méthode Description
NextObject ( ) : object

Method Details

AllPgpObjects() public méthode

Return all available objects in a list.
public AllPgpObjects ( ) : IList
Résultat IList

NextPgpObject() public méthode

Return the next object in the stream, or null if the end is reached.
On a parse error
public NextPgpObject ( ) : PgpObject
Résultat PgpObject

PgpObjectFactory() public méthode

public PgpObjectFactory ( Stream inputStream ) : System
inputStream Stream
Résultat System

PgpObjectFactory() public méthode

public PgpObjectFactory ( byte bytes ) : System
bytes byte
Résultat System