verify
Description:
public virtual SignatureList? verify (VerifyFlags flags, Stream istream, Stream? sigstream, Stream? ostream) throws Error
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:
this | |
flags | |
istream |
input stream |
sigstream |
detached-signature stream |
ostream |
output stream for use with encapsulated signature input streams |
Returns:
a SignatureList object containing the status of each signature or null on error. |