The PGPLib type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ClearSignFile(FileInfo, FileInfo, String, HashAlgorithm, FileInfo) |
OpenPGP clear signs a file.
| |
| ClearSignFile(String, String, String, String, String) |
OpenPGP clear signs a file.
| |
| ClearSignFile(String, KeyStore, Int64, String, HashAlgorithm, String) |
OpenPGP clear signs a file with a private key located in aKeyStore.
| |
| ClearSignFile(String, KeyStore, String, String, HashAlgorithm, String) |
OpenPGP clear signs a file with a private key located in aKeyStore.
| |
| ClearSignFileV3(FileInfo, FileInfo, String, HashAlgorithm, FileInfo) |
OpenPGP clear signs a file, using OpenPGP version 3 signature format (old format)
| |
| ClearSignFileV3(String, String, String, String, String) |
OpenPGP clear signs a file, using OpenPGP version 3 signature format (old format)
Use when needed compatibility with PGP 2.x and PGP 5.x systems. GPG equivalent command: gpg --force-v3-sigs --output outputFileName --clearsign inputFileName | |
| ClearSignString(String, FileInfo, String, HashAlgorithm) |
OpenPGP clear signs a String message.
GPG equivalent command: gpg --clearsign | |
| ClearSignString(String, String, String, HashAlgorithm) |
OpenPGP clear signs a String message.
GPG equivalent command: gpg --clearsign | |
| ClearSignString(String, KeyStore, Int64, String, HashAlgorithm) |
OpenPGP clear signs a String message with a private key located in an KeyStore object.
GPG equivalent command: gpg --clearsign | |
| ClearSignString(String, KeyStore, String, String, HashAlgorithm) |
OpenPGP clear signs a String message with a private key located in aKeyStore object.
| |
| ClearSignStringV3(String, FileInfo, String, HashAlgorithm) |
OpenPGP clear signs a String message, using OpenPGP version 3 signature format (old format used by PGP 2.6)
| |
| ClearSignStringV3(String, String, String, HashAlgorithm) |
OpenPGP clear signs a String message, using OpenPGP version 3 signature format (old format)
GPG equivalent command: gpg --clearsign --force-v3-sigs | |
| DecryptAndVerifyFile(String, KeyStore, String, String) |
Decrypts and verifies a PGP encrypted and signed file
| |
| DecryptAndVerifyFile(String, String, String, String, String) |
Decrypts and verifies a PGP encrypted and signed file
| |
| DecryptAndVerifyFilePBE(String, KeyStore, String, String) |
Decrypts and verifies the signature of a PGP encrypted and signed file
| |
| DecryptAndVerifyFilePBE(String, String, String, String) |
Decrypts and verifies a PGP password based encrypted (PBE) and signed file
| |
| DecryptAndVerifyString(String, KeyStore, String, String%) |
Decrypts and verifies PGP encrypted and signed string message
| |
| DecryptAndVerifyString(String, FileInfo, String, FileInfo, String%) |
Decrypts and verifies PGP encrypted and signed string message
| |
| DecryptBytes |
Decrypts OpenPGP encrypted data in the form of byte array with a private key supplied also as byte array.
| |
| DecryptFile(FileInfo, FileInfo, String, FileInfo) |
Decrypts an PGP encrypted file using Private key file.
| |
| DecryptFile(String, KeyStore, String, String) |
Decrypts a PGP encrypted file using Private key located inKeyStore.
| |
| DecryptFile(String, Stream, String, String) |
Decrypts an OpenPGP encrypted file with a private key supplied as an input stream.
| |
| DecryptFile(String, String, String, String) |
Decrypts a PGP encrypted file using Private key file.
| |
| DecryptFileInFolder(String, KeyStore, String, String) |
Decrypts a PGP encrypted file that may contain multiple files to a specified directory.
| |
| DecryptFileInFolder(String, String, String, String) |
Decrypts a PGP encrypted file that may contain multiple files to a specified directory.
| |
| DecryptFilePBE |
Decrypts a PGP conventional password encrypted file (also known as PBE, symmetric key encrypted).
| |
| DecryptFilePBEInFolder |
Decrypts a PGP conventional password encrypted file that may contain multiple files to a specified directory.
| |
| DecryptPBETo |
Decrypts a PGP conventional password encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptStream(Stream, KeyStore, String, Stream) |
Decrypts an OpenPGP encrypted data stream with a private key located in a KeyStore.
| |
| DecryptStream(Stream, Stream, String, Stream) |
Decrypts an OpenPGP encrypted data stream with a private key supplied as an input stream.
| |
| DecryptStreamInFolder(Stream, KeyStore, String, String) |
Decrypts a PGP encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptStreamInFolder(Stream, Stream, String, String) |
Decrypts a PGP encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptStreamPBEInFolder |
Decrypts a PGP conventional password encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptString(String, KeyStore, String) |
Decrypts OpenPGP encrypted string message
| |
| DecryptString(String, FileInfo, String) |
Decrypts a PGP encrypted message.
| |
| DecryptString(String, Stream, String) |
Decrypts a PGP encrypted message.
| |
| DecryptString(String, String, String) |
Decrypts a PGP encrypted message.
| |
| DecryptTo(Stream, KeyStore, String, String) |
Decrypts a PGP encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptTo(Stream, Stream, String, String) |
Decrypts a PGP encrypted stream that may contain multiple files to a specified directory.
| |
| DecryptTo(String, KeyStore, String, String) |
Decrypts a PGP encrypted file that may contain multiple files to a specified directory.
| |
| DecryptTo(String, String, String, String) |
Decrypts a PGP encrypted file that may contain multiple files to a specified directory.
| |
| DetachedSignFile(String, String, String, String, Boolean) |
Creates an OpenPGP detached signature for a file.
| |
| DetachedSignFile(String, KeyStore, Int64, String, String, Boolean) |
Creates an OpenPGP detached signature for a file.
| |
| DetachedSignFile(String, KeyStore, String, String, String, Boolean) |
Creates an OpenPGP detached signature for a file.
| |
| DetachedSignStream(Stream, Stream, String, Stream, Boolean) |
Creates an OpenPGP detached signature for a given data stream contents.
| |
| DetachedSignStream(Stream, KeyStore, Int64, String, Stream, Boolean) |
Creates an OpenPGP detached signature for a given data stream contents.
| |
| DetachedSignStream(Stream, KeyStore, String, String, Stream, Boolean) |
Creates an OpenPGP detached signature for a given data stream contents.
| |
| DetachedSignString |
Creates an OpenPGP detached signature for a string message.
| |
| DetachedVerifyStream |
Verifies that an OpenPGP detached signature is signed from a trusted sender.
| |
| DetachedVerifyString |
Verifies that an OpenPGP detached signature is signed from a trusted sender.
| |
| EncryptFile(FileInfo, FileInfo, FileInfo) |
OpenPGP encrypts given file using the first available public OpenPGP key from a key ring file
| |
| EncryptFile(String, String, String) |
OpenPGP encrypts given file using the first available public PGP key from a key ring file
| |
| EncryptFile(FileInfo, FileInfo, FileInfo, Boolean) |
OpenPGP encrypts given file using the first available public OpenPGP key from a key ring file
| |
| EncryptFile(String, String, String, Boolean) |
OpenPGP encrypts given file using the first available public PGP key from a key ring file
| |
| EncryptFile(FileInfo, FileInfo, FileInfo, Boolean, Boolean) |
PGP Encrypts given file using the first available Public PGP key from a Key ring file
| |
| EncryptFile(String, array<array<Byte>[]()[][]>[]()[][], String, Boolean, Boolean) |
PGP Encrypts a file for miltiple recipients.
| |
| EncryptFile(String, Stream, String, Boolean, Boolean) |
PGP Encrypts given file using the first available Public key from a Key ring input stream
| |
| EncryptFile(String, array<Stream>[]()[][], String, Boolean, Boolean) |
PGP Encrypts a file for miltiple recipients.
| |
| EncryptFile(String, String, String, Boolean, Boolean) |
OpenPGP Encrypts given file using the first available public PGP key from a Key ring file
| |
| EncryptFile(String, array<String>[]()[][], String, Boolean, Boolean) |
PGP Encrypts a file for miltiple recipients.
| |
| EncryptFile(String, KeyStore, Int64, String, Boolean, Boolean) |
PGP Encrypts given file using Public key from a KeyStore | |
| EncryptFile(String, KeyStore, String, String, Boolean, Boolean) |
PGP Encrypts given file using Public key from a Key store.
If more than one key exists with the specified userId, the first one is used. | |
| EncryptFile(String, String, String, String, Boolean, Boolean) | Obsolete.
PGP Encrypts given file using the first available Public PGP key from a Key ring file
and a passphrase that can be used to decrypt the file if the private key is lost.
| |
| EncryptFilePBE(FileInfo, String, FileInfo, Boolean) |
Encrypts a file only with a passphrase. The same passphrase is used to decrypt the file. Equivalent GnuPG command: gpg -c -e [dataFileName] | |
| EncryptFilePBE(String, String, String, Boolean) |
Encrypts a file only with a passphrase. The same passphrase is used to decrypt the file. Equivalent GnuPG command: gpg -c -e [dataFileName] | |
| EncryptFilePBE(FileInfo, String, FileInfo, Boolean, Boolean) |
Encrypts a file only with a passphrase. The same passphrase is used to decrypt the file. Equivalent GnuPG command: gpg -c -e [dataFileName] | |
| EncryptFilePBE(String, String, String, Boolean, Boolean) |
Encrypts a file only with a passphrase. The same passphrase is used to decrypt the file. Equivalent GnuPG command: gpg -c -e [dataFileName] | |
| EncryptFilePBE(String, Stream, String, String, Boolean, Boolean) |
Encrypts a file with a public key and a passphrase. The passphrase can be used to decrypt the file if the corresponding private key is lost. Example GnuPG command: gpg -r [public key user id] -c -e [dataFileName] | |
| EncryptFilePBE(String, String, String, String, Boolean, Boolean) |
Encrypts a file with a public key and a passphrase. The passphrase can be used to decrypt the file if the corresponding private key is lost. Example GnuPG command: gpg -r [public key user id] -c -e [dataFileName] | |
| EncryptFiles(array<FileInfo>[]()[][], array<FileInfo>[]()[][], FileInfo, Boolean, Boolean) |
Encrypts multiple files into a single OpenPGP archive, using one ore more recipient public keys.
| |
| EncryptFiles(array<String>[]()[][], array<String>[]()[][], String, Boolean, Boolean) |
Encrypts multiple files into a single OpenPGP archive, using one ore more recipient public keys.
| |
| EncryptFiles(array<String>[]()[][], KeyStore, array<Int64>[]()[][], String, Boolean, Boolean) |
Encrypts multiple files into a single OpenPGP archive, using one ore more recipient public keys.
| |
| EncryptFiles(array<String>[]()[][], KeyStore, array<String>[]()[][], String, Boolean, Boolean) |
Encrypts multiple files into a single OpenPGP archive, using one ore more recipient public keys.
| |
| EncryptFolder(FileInfo, FileInfo, FileInfo, Boolean) |
OpenPGP Encrypts given folder with its subfolders and files into a PGP Zip archive
| |
| EncryptFolder(String, String, String, Boolean) |
OpenPGP Encrypts given folder with its subfolders and files into a PGP Zip archive
| |
| EncryptFolder(FileInfo, FileInfo, FileInfo, Boolean, Boolean) |
OpenPGP Encrypts given folder with its subfolders and files into a PGP Zip archive
| |
| EncryptFolder(String, String, String, Boolean, Boolean) |
OpenPGP Encrypts given folder with its subfolders and files into a PGP Zip archive
| |
| EncryptFolderPBE |
Encrypts a whole folder with it's contents only with a passphrase. The same passphrase is used to decrypt the file. | |
| EncryptStream(Stream, FileInfo, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, Stream, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, KeyStore, Int64, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, KeyStore, String, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, Stream, Stream, Boolean, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, String, FileInfo, Stream, Boolean) |
OpenPGP encrypts a data stream with an OpenPGP public key
| |
| EncryptStream(Stream, String, Stream, Stream, Boolean) |
OpenPGP encrypts a data stream with an OpenPGP public key located in a stream
| |
| EncryptStream(Stream, String, KeyStore, Int64, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, String, KeyStore, String, Stream, Boolean) |
OpenPGP encrypts given data stream using the first available public OpenPGP key from a key file
| |
| EncryptStream(Stream, String, Stream, Stream, Boolean, Boolean) |
OpenPGP encrypts a data stream with an OpenPGP public key located in a stream
| |
| EncryptStreamPBE(Stream, Stream, String, Stream, Boolean, Boolean) |
Encrypts a stream with a public key and a passphrase. The passphrase can be used to decrypt the file if the corresponding private key is lost. Example GnuPG command: gpg -r [public key user id] -c -e [dataFileName] | |
| EncryptStreamPBE(Stream, String, Stream, String, Stream, Boolean, Boolean) |
Encrypts a stream with a public key and a passphrase. The passphrase can be used to decrypt the file if the corresponding private key is lost. Example GnuPG command: gpg -r [public key user id] -c -e [dataFileName] | |
| EncryptString(String, FileInfo) |
Encrypts a String message in OpenPGP ASCII armored format.
| |
| EncryptString(String, array<FileInfo>[]()[][]) |
Encrypts a String message in OpenPGP ASCII armored format for multiple recipients.
| |
| EncryptString(String, String) |
PGP Encrypts given String in OpenPGP ASCII armored format.
| |
| EncryptString(String, KeyStore, Int64) |
Encrypts given String in ASCII format.
| |
| EncryptString(String, KeyStore, String) |
Encrypts given String in ASCII format.
| |
| 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(FileInfo, FileInfo, String, FileInfo, FileInfo, Boolean, Boolean) |
OpenPGP Signs and encrypts given file with supplied public and private key
| |
| SignAndEncryptFile(String, String, String, String, String, Boolean, Boolean) |
Signs and encrypts a file in one pass.
| |
| SignAndEncryptFile(String, KeyStore, Int64, String, Int64, String, Boolean, Boolean) |
OpenPGP signs and encrypts given file with public and private key located in a KeyStore | |
| SignAndEncryptFile(String, KeyStore, Int64, String, array<Int64>[]()[][], String, Boolean, Boolean) |
OpenPGP signs and encrypts given file with public and private key located in a KeyStore | |
| SignAndEncryptFile(String, KeyStore, String, String, String, String, Boolean, Boolean) |
OpenPGP Signs and encrypts given file with public and private key located in a KeyStore | |
| SignAndEncryptFile(String, KeyStore, String, String, array<String>[]()[][], String, Boolean, Boolean) |
OpenPGP Signs and encrypts given file with public and private key located in a KeyStore | |
| SignAndEncryptFile(String, String, Stream, String, Stream, Stream, Boolean, Boolean) |
OpenPGP signs and encrypts given file with supplied public (encryption) and private (signing) keys
| |
| SignAndEncryptFile(String, String, Stream, String, array<Stream>[]()[][], Stream, Boolean, Boolean) |
OpenPGP signs and encrypts given file in one pass for multiple recipients
| |
| 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. | |
| SignAndEncryptFileV3(FileInfo, FileInfo, String, FileInfo, FileInfo, Boolean) |
OpenPGP Signs and encrypts given file backward compatibile with PGP 6.5 and below
| |
| SignAndEncryptFileV3(String, String, String, String, String, Boolean) |
Signs and encrypts a file in one pass, backward compatibile with PGP 6.5 and below
| |
| SignAndEncryptFileV3(String, KeyStore, Int64, String, Int64, String, Boolean) |
OpenPGP signs and encrypts given file backward compatible with PGP 6.5 and below, with public and private key located in a KeyStore | |
| SignAndEncryptFileV3(String, KeyStore, String, String, String, String, Boolean) |
OpenPGP Signs and encrypts given file backward compatible with PGP 6.5 and below, with public and private key located in a KeyStore | |
| SignAndEncryptFileV3(String, String, Stream, String, Stream, Stream, Boolean) |
OpenPGP signs and encrypts given file backward compatibile with PGP 6.5 and below
| |
| SignAndEncryptString(String, FileInfo, String, FileInfo) |
OpenPGP signs and encrypts a String message in one pass
| |
| SignAndEncryptString(String, KeyStore, Int64, String, Int64) |
OpenPGP signs and encrypts given String message in one pass with keys located in a KeyStore | |
| SignAndEncryptString(String, KeyStore, String, String, String) |
OpenPGP Signs and encrypts given String message in one pass with keys located in a KeyStore | |
| SignAndEncryptStringV3(String, FileInfo, String, FileInfo) |
OpenPGP signs and encrypts a String message in one pass, backward compatible with PGP 6.5 and below
| |
| SignAndEncryptStringV3(String, KeyStore, Int64, String, Int64) |
OpenPGP signs and encrypts given String message in one pass backward compatible with PGP 6.5 and below, with keys located in a KeyStore | |
| SignAndEncryptStringV3(String, KeyStore, String, String, String) |
OpenPGP signs and encrypts given String message in one pass backward compatible with PGP 6.5 and below, with keys located in a KeyStore | |
| SignFile(FileInfo, FileInfo, String, FileInfo, Boolean) |
OpenPGP digitaly signs a file.
| |
| SignFile(String, Stream, String, Stream, Boolean) |
OpenPGP digitaly signs a file.
| |
| SignFile(String, String, String, String, Boolean) |
OpenPGP digitaly signs a file.
| |
| SignFile(String, KeyStore, Int64, String, String, Boolean) |
OpenPGP digitaly signs a file with a private key located in a KeyStore.
| |
| SignFile(String, KeyStore, String, String, String, Boolean) |
OpenPGP digitaly signs a file with a private key located in a KeyStore.
| |
| SignFileV3(FileInfo, FileInfo, String, FileInfo, Boolean) |
OpenPGP digitaly signs a file using OpenPGP version 3 signatures format (compatible with PGP 6.5 systems).
| |
| SignFileV3(String, Stream, String, Stream, Boolean) |
OpenPGP digitaly signs a file using OpenPGP version 3 signatures format (compatible with PGP 6.5 systems).
| |
| SignFileV3(String, String, String, String, Boolean) |
OpenPGP digitaly signs a file using OpenPGP version 3 signatures format (compatible with PGP 6.5 systems).
| |
| SignFileV3(String, KeyStore, Int64, String, String, Boolean) |
OpenPGP digitaly signs a file using version 3 signature format (compatible with PGP 6.5 and below).
| |
| SignFileV3(String, KeyStore, String, String, String, Boolean) |
OpenPGP digitaly signs a file using version 3 signature format (compatible with PGP 6.5 and below).
| |
| SignString(String, FileInfo, String) |
OpenPGP digitaly signs a string message.
| |
| SignString(String, Stream, String) |
OpenPGP digitaly signs a string message.
| |
| SignString(String, KeyStore, Int64, String) |
OpenPGP signs a string message.
| |
| SignString(String, KeyStore, String, String) |
OpenPGP signs a string message.
| |
| SignStringV3(String, Stream, String) |
OpenPGP digitaly signs a string message.
| |
| SignStringV3(String, KeyStore, Int64, String) |
OpenPGP signs a string message.
| |
| SignStringV3(String, KeyStore, String, String) |
OpenPGP signs a string message.
| |
| ToString | (Inherited from Object.) | |
| VerifyFile(String, String) |
Verifies that the incoming stream is signed from a trusted sender.
| |
| VerifyFile(String, KeyStore, String) |
Verifies that the incoming stream is signed from a trusted sender.
| |
| VerifyFile(String, String, String) |
Verifies that the incoming stream is OpenPGP signed from a trusted sender.
| |
| VerifyStream(Stream, Stream) |
Verifies that the incoming stream is signed from a trusted sender.
| |
| VerifyStream(Stream, KeyStore, Stream) |
Verifies that the incoming stream is signed from a trusted sender.
| |
| VerifyStream(Stream, Stream, Stream) |
Verifies that the incoming stream is signed from a trusted sender.
| |
| VerifyString(String, Stream) |
Verifies that the incoming string is signed from a trusted sender.
| |
| VerifyString(String, KeyStore, String%) |
Verifies that the incoming string is signed from a trusted sender.
The sender public key must be already imported in theKeyStore parameter. | |
| VerifyString(String, FileInfo, String%) |
Verifies that the incoming string is signed from a trusted sender.
|