The PgpEncryptedDataGenerator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag) | |
![]() | PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag, SecureRandom) | Existing SecureRandom constructor. |
![]() | PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag, Boolean) | |
![]() | PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag, SecureRandom, Boolean) | Base constructor. |
![]() | PgpEncryptedDataGenerator(SymmetricKeyAlgorithmTag, Boolean, SecureRandom) | Creates a cipher stream which will have an integrity packet associated with it. |
Methods
Name | Description | |
---|---|---|
![]() | AddMethod(array<Char>[]()[][]) | Add a PBE encryption method to the encrypted object. |
![]() | AddMethod(PgpPublicKey) | Add a public key encrypted session key to the encrypted object. |
![]() | Close | Close off the encrypted object - this is equivalent to calling Close() on the stream returned by the Open() method. Note: This does not close the underlying output stream, only the stream on top of it created by the Open() method. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Open(Stream, array<Byte>[]()[][]) | Return an output stream which will encrypt the data as it is written to it. The stream will be written out in chunks according to the size of the passed in buffer. The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr. Note: if the buffer is not a power of 2 in length only the largest power of 2 bytes worth of the buffer will be used. |
![]() | Open(Stream, Int64) | Return an output stream which will encrypt the data as it is written to it. The stream created can be closed off by either calling Close() on the stream or Close() on the generator. Closing the returned stream does not close off the Stream parameter outStr. |
![]() | ToString | (Inherited from Object.) |