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

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