The KeyStore type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| KeyStore | Initializes a new Key Store object. |
Methods
| Name | Description | |
|---|---|---|
| ChangePrivateKeyPassword | Overloaded. | |
| ContainsKey | Overloaded. | |
| DeleteKeyPair | Overloaded. | |
| Equals | (Inherited from Object.) | |
| ExportKeyRing | Overloaded. | |
| ExportPrivateKey | Overloaded. | |
| ExportPrivateKeyAsString | Overloaded. | |
| ExportPublicKey | Overloaded. | |
| ExportPublicKeyAsString | Overloaded. | |
| 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.) | |
| GenerateKeyPair | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKeyIdForKeyIdHex |
Returns the real Key ID (of type long) corresponding to this Hexadecimal Key Id.
| |
| GetKeyIdForUserId |
Returns the real Key ID (of type long) corresponding to this User Id.
| |
| GetKeys |
Returns the key pairs stored in this OpenPGP key store.
| |
| GetKeystoreFileName | Returns this Key store instance file name (absolute or relative path) | |
| GetKeystorePassword | Obsolete. Returns the password of this Key store instance | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ImportKeyRing | Overloaded. | |
| ImportPrivateKey |
Imports Private key into a custom OpenPGP key store. If the key store does not exit, it is created.
| |
| ImportPublicKey |
Imports Public key into a custom OpenPGP key store. If the key store does not exit, it is created.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| onLoadKeys | ||
| Save | Saves the Key Store to disk. | |
| SignPublicKey | Overloaded. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| DSA |
Constant for DSA asymetric algorithm
Used in DH/DSS key generation | |
| ELGAMAL |
Constant for ElGamal asymetric algorithm
Used in DH/DSS key generation | |
| keys | ||
| RSA |
Constant for RSA asymetric algorithm
|
Properties
| Name | Description | |
|---|---|---|
| AutoSave |
Property that indicates should the KeyStore backing file be auto saved
after each operation that changes its state.
| |
| BackupOnSave |
Property that indicates should the old KeyStore backing file be
copied automatically in a file with extension .bak right before the save operation
| |
| FileName |
File name where this KeyStore object is stored.
| |
| HexKeyIds |
Returns array of Hexadecimal string representation of the key Id's for the keys contained in this KeyStore instance.
This hexadecimal value is composed of the lower four bytes of the real key Id (8 bytes) and is the same as the one displayed by PGP (r) and GnuPG. | |
| Password |
Password of this KeyStore
| |
| UserIds |
Returns array of Strings representing all user Id's contained in this KeyStore instance.
|