VerifyStream Method
Verifies an enveloping or enveloped signature contained in a stream.
Syntax
public void VerifyStream(System.IO.Stream sourceStream, System.IO.Stream destStream);
Public Sub VerifyStream(ByVal SourceStream As System.IO.Stream, ByVal DestStream As System.IO.Stream)
Remarks
Use this method to verify an enveloping or enveloped signature and extract the original data into a stream.
The outcome of the validation is stored in SignatureValidationResult property.
Provide the public verification key via the Key property before commencing the validation.