CryptoContext.verify

Verifies the signature. If istream is a clearsigned stream, you should pass null as the sigstream parameter and may wish to provide an ostream argument for GMime to output the original plaintext into. Otherwise sigstream is assumed to be the signature stream and is used to verify the integirity of the istream.

Parameters

flagsa #GMimeVerifyFlags
istreaminput stream
sigstreamdetached-signature stream
ostreamoutput stream for use with encapsulated signature input streams

Returns

a #GMimeSignatureList object containing

the status of each signature or null on error.

Throws

[ErrorWrap]