bp = bp.stepInto(); // Step into the set of signerinfos
bp = bp.stepInto(); // Step into the signerinfo sequence
// make sure the version is 1
BigInteger signerInfoVersion = bp.getIntValue();
if (signerInfoVersion.intValue() != 1) {
throw new CertificateException(SignedContentMessages.PKCS7_SignerInfo_Version_Not_Supported);
}
// PKCS7: version CMSVersion
bp.stepOver(); // Skip the version