The PGPLib type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PGPLib |
Creates new instance of the library
|
Methods
| Name | Description | |
|---|---|---|
| ClearSignFile | Overloaded. | |
| ClearSignFileV3 | Overloaded. | |
| ClearSignString | Overloaded. | |
| ClearSignStringV3 | Overloaded. | |
| DecryptAndVerifyFile | Overloaded. | |
| DecryptAndVerifyFilePBE | Overloaded. | |
| DecryptAndVerifyString | Overloaded. | |
| DecryptBytes |
Decrypts OpenPGP encrypted data in the form of byte array with a private key supplied also as byte array.
| |
| DecryptFile | Overloaded. | |
| DecryptFilePBE |
Decrypts a PGP encrypted file that was encrypted with a password (PBE, symmetric key encrypted).
| |
| DecryptStream |
Decrypts an OpenPGP encrypted file with a private key supplied as an input stream.
| |
| DecryptString | Overloaded. | |
| DecryptTo | Overloaded. | |
| EncryptFile | Overloaded. | |
| EncryptFilePBE |
Encrypts a file with a public key and a passphrase. The passphrase can be used to decrypt the file if the corressponding private key is lost. Example GnuPG command: gpg -r [public key user id] -c -e [dataFileName] | |
| EncryptFiles | Overloaded. | |
| EncryptFolder | Overloaded. | |
| EncryptString | Overloaded. | |
| 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.) | |
| SignAndEncryptFile | Overloaded. | |
| SignAndEncryptFilePBE |
Signs and encrypts a file in one pass.
The file is encrypted with an additional password that can be used to decrypt the file afterwards. | |
| SignAndEncryptString | Overloaded. | |
| SignFile | Overloaded. | |
| SignString | Overloaded. | |
| ToString | (Inherited from Object.) | |
| VerifyFile | Overloaded. | |
| VerifyStream | Overloaded. | |
| VerifyString | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| Compression |
Gets/Sets the preferred compression algorithm used by all methods that produce OpenPGP messages (e.g Encrypt, Sign, etc.)
| |
| Cypher |
Gets/Sets the preferred symmetric key algorithm used by all methods that produce encrypted OpenPGP messages (Encrypt, SignAndEncrypt).
Changes to this property have effect on subsequnt | |
| Hash |
Gets/Sets the preferred hashing algorithm used by all methods that produce OpenPGP signatures (all Sign and SigneAndEncrypt methods)
|