Represents an OpenPGP key pair.

The KeyPairInformation..::..SubKey type exposes the following members.

Constructors

  NameDescription
Public methodKeyPairInformation..::..SubKey
Sub key info constructor

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAlgorithm
Returns the name of the key encryption asymmetric algorithm.
Public propertyCreationTime
Returns when was the key created.
Public propertyEncryptionKey
Returns true if this key can be used for encryption, otherwise false.
Public propertyFingerprint
Returns key fingerprint.
Public propertyKeyID
Returns the Key ID
Public propertyKeyIDHex
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.)
Public propertyKeySize
Returns key size in bits.
Public propertyRevoked
Returns is this Key revoked (not usable any more).
Public propertySigningKey
Returns true if this key can be used for siging, otherwise false.
Public propertyUserId
Returns the first User Id associated with this key.
Public propertyUserIds
Returns User Id's associated with this key.
Public propertyValidDays
Returns key validity period in days.

See Also