The KeyPairInformation type exposes the following members.
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.
| |
| HasPrivateKey |
Returns is there a corresponding private key for this key pair entry in this KeyStore instance
For our recipients this will be false because we have only their public keys in most cases. | |
| KeyId |
Returns the Key ID of this key pair
| |
| KeyIdHex |
Returns a string representing the hexadecimal value of the Key ID.
| |
| KeySize |
Returns key size in bits.
| |
| PrivateRing |
Returns the Private key ring part of this Key Pair.
May be null if only public key is available. | |
| PrivateSubKeys |
Returns an array from all private (secret) sub keys.
| |
| PublicRing |
Public key ring part of this Key Pair
| |
| PublicSubKeys |
Returns an array from all public sub keys.
| |
| 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.
|