Verifies the passed in stream as being correctly signed.

Namespace:  DidiSoft
Assembly:  PGPLib (in PGPLib.dll) Version: 1.6.3.19546

Syntax

C#
public bool VerifyFile(
	string dataFileName,
	KeyStore keyStore,
	string outputFileName
)
Visual Basic (Declaration)
Public Function VerifyFile ( _
	dataFileName As String, _
	keyStore As KeyStore, _
	outputFileName As String _
) As Boolean
Visual C++
public:
bool VerifyFile(
	String^ dataFileName, 
	KeyStore^ keyStore, 
	String^ outputFileName
)

Parameters

dataFileName
Type: System..::.String
File name to be encrypted (absolute or relative path)
keyStore
Type: DidiSoft..::.KeyStore
Key store instance containing the Public key for verification
outputFileName
Type: System..::.String
File name of the Output decrypted file (absolute or relative path). Optional parameter.
If empty the name stored in the PGP decrypted file is used.

Return Value

true if signed correctly, false if not signed with this public key

Exceptions

ExceptionCondition
System.IO..::.IOExceptionif a problem has reading input file or public key file

See Also