Initializes a new Key Store object.
Namespace: DidiSoft.PgpAssembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547
Syntax
| C# |
|---|
public static KeyStore OpenFile( string keystoreFileName, string keystorePassword ) |
| Visual Basic |
|---|
Public Shared Function OpenFile ( _ keystoreFileName As String, _ keystorePassword As String _ ) As KeyStore |
| Visual C++ |
|---|
public: static KeyStore^ OpenFile( String^ keystoreFileName, String^ keystorePassword ) |
Parameters
- keystoreFileName
- Type: System..::..String
File name of the Key store (absolute or relative path)
- keystorePassword
- Type: System..::..String
Password for the PGP Key store.
Return Value
initialized KeyStore object
Remarks
Initializes a new Key Store object.
NOTE: The Key store file may not exist, it will be created on first key manipulation operation.
NOTE: The Key store file may not exist, it will be created on first key manipulation operation.
Exceptions
| Exception | Condition |
|---|---|
| System.IO..::..IOException |