DidiSoft.Pgp namespace contains a few classes that provide OpenPGP functionality for .NET Most of the OpenPGP functions (encrypt, decrypt, etc.) are located in the PGPLib class. The functions related to OpenPGP keys are located in the KeyStore class.

Classes

  ClassDescription
Public classKeyPairInformation
Represents an OpenPGP key pair.
Public classKeyPairInformation..::..SubKey
Represents a sub key in a key ring
Public classKeyStore
Represents a file base keys store for OpenPGP keys, which is a physical store where OpenPGP public and private(secret) keys are persisted and managed.

The KeyStore contains both the public and secret key rings combined in one file and protected with password.


It can be used with PGPLib in the methods that require KeyStore parameter, or alone when only key operations are required.
Public classPGPException
Exception indicating that an OpenPGP encryption error has occurred
Public classPGPKeyPair
Represents an OpenPGP key loaded from a key file.

Provides methods for key generation and key export.
Public classPGPLib
Provides OpenPGP encryption and signing methods.
Public classRevocationLib
Provides OpenPGP key revocation methods.

Enumerations

  EnumerationDescription
Public enumerationCompressionAlgorithm
Specifies a compression algorithm.
Public enumerationCypherAlgorithm
Specifies a symmetric encryption (cipher) algorithm.
Public enumerationHashAlgorithm
Specifies a hash algorithm.
Public enumerationKeyAlgorithm
Defines the supported asymmetric encryption algorithms for OpenPGP keys.
Public enumerationTrustLevel
Holds common OpenPGP trust values