Catch verifier/digest exceptions

This commit is contained in:
M66B 2020-01-23 20:15:58 +01:00
parent 3d583f39dd
commit 337754d337
1 changed files with 1 additions and 2 deletions

View File

@ -124,7 +124,6 @@ import org.bouncycastle.cms.CMSProcessable;
import org.bouncycastle.cms.CMSProcessableFile; import org.bouncycastle.cms.CMSProcessableFile;
import org.bouncycastle.cms.CMSSignedData; import org.bouncycastle.cms.CMSSignedData;
import org.bouncycastle.cms.CMSTypedData; import org.bouncycastle.cms.CMSTypedData;
import org.bouncycastle.cms.CMSVerifierCertificateNotValidException;
import org.bouncycastle.cms.KeyTransRecipientId; import org.bouncycastle.cms.KeyTransRecipientId;
import org.bouncycastle.cms.RecipientInformation; import org.bouncycastle.cms.RecipientInformation;
import org.bouncycastle.cms.SignerInformation; import org.bouncycastle.cms.SignerInformation;
@ -4819,7 +4818,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
result = cert; result = cert;
break; break;
} }
} catch (CMSVerifierCertificateNotValidException ex) { } catch (CMSException ex) {
Log.w(ex); Log.w(ex);
} }
} }