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

flags gmime.types.VerifyFlags

a #GMimeVerifyFlags

istream gmime.stream.Stream

input stream

sigstream gmime.stream.Stream

detached-signature stream

ostream gmime.stream.Stream

output stream for use with encapsulated signature input streams

Return Value

Type: gmime.signature_list.SignatureList

a #GMimeSignatureList object containing the status of each signature or null on error.

Throws