Class to verify files with GnuPG
More...
string NoteFly.GPGVerifyWrapper.FindGPGexecutables |
( |
string |
gpginstallpath | ) |
|
|
private |
- Parameters
-
gpginstallpath | The installation directory |
- Returns
- The full path to the gpg executable, empty string if gpg executable not found.
void NoteFly.GPGVerifyWrapper.GetGPGNoteFlyPublicKey |
( |
| ) |
|
|
private |
string NoteFly.GPGVerifyWrapper.GetGPGPath |
( |
| ) |
|
- Returns
- The full path to GnuPG process
string NoteFly.GPGVerifyWrapper.GetProgramFilesx86 |
( |
| ) |
|
|
private |
- Returns
- The path to the Program files folder.
bool NoteFly.GPGVerifyWrapper.IsGPGNoteFlyPublicKeyAdded |
( |
| ) |
|
|
private |
- Returns
- True if notefly public key is added.
void NoteFly.GPGVerifyWrapper.StandardErrorReader |
( |
| ) |
|
|
private |
void NoteFly.GPGVerifyWrapper.StandardOutputReader |
( |
| ) |
|
|
private |
int NoteFly.GPGVerifyWrapper.StartGPGReadingThreads |
( |
| ) |
|
|
private |
- Returns
- GPG process exit code
bool NoteFly.GPGVerifyWrapper.VerifyDownload |
( |
string |
file, |
|
|
string |
sigfile |
|
) |
| |
- Parameters
-
file | The path to the local file that was downloaded |
sigfile | The path to the signature file. |
- Returns
- True if user allows install, signature valid.
string NoteFly.GPGVerifyWrapper.gpgerror |
|
private |
string NoteFly.GPGVerifyWrapper.gpgoutput |
|
private |
Process NoteFly.GPGVerifyWrapper.gpgproc |
|
private |
const string NoteFly.GPGVerifyWrapper.GPGSIGNATUREEXTENSION = ".sig" |