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 VerifyStream(
	Stream dataFileStream,
	Stream publicKeyStream
)
Visual Basic (Declaration)
Public Function VerifyStream ( _
	dataFileStream As Stream, _
	publicKeyStream As Stream _
) As Boolean
Visual C++
public:
bool VerifyStream(
	Stream^ dataFileStream, 
	Stream^ publicKeyStream
)

Parameters

dataFileStream
Type: System.IO..::.Stream
Input stream from the File to be verified
publicKeyStream
Type: System.IO..::.Stream
Input stream from the Public key

Return Value

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

Exceptions

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

See Also