Represents an OpenPGP key pair.
The KeyPairInformation..::..SubKey type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| KeyPairInformation..::..SubKey |
Sub key info constructor
|
Methods
| Name | Description | |
|---|---|---|
| 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.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Algorithm |
Returns the name of the key encryption asymmetric algorithm.
| |
| CreationTime |
Returns when was the key created.
| |
| EncryptionKey |
Returns true if this key can be used for encryption, otherwise false.
| |
| Fingerprint |
Returns key fingerprint.
| |
| KeyID |
Returns the Key ID
| |
| KeyIDHex |
Returns a string representing the hexadecimal value of the Key ID.
(only the lower 4 bytes of the real key id which is 8 bytes.) | |
| KeySize |
Returns key size in bits.
| |
| Revoked |
Returns is this Key revoked (not usable any more).
| |
| SigningKey |
Returns true if this key can be used for siging, otherwise false.
| |
| UserId |
Returns the first User Id associated with this key.
| |
| UserIds |
Returns User Id's associated with this key.
| |
| ValidDays |
Returns key validity period in days.
|