verifySignature(InputStream signature, InputStream signatureBlock) This method handle all the work with PKCS7, ASN1 encoding, signature verifying,
and certification path building.
This method handle all the work with PKCS7, ASN1 encoding, signature verifying,
and certification path building.
See also PKCS #7: Cryptographic Message Syntax Standard:
http://www.ietf.org/rfc/rfc2315.txt
Parameters: signature - - the input stream of signature file to be verified Parameters: signatureBlock - - the input stream of corresponding signature block file array of certificates used to verify the signature file throws: IOException - - if some errors occurs during reading from the stream throws: GeneralSecurityException - - if signature verification process fails