Catch verifier/digest exceptions

pull/172/head
M66B 5 years ago
parent 3d583f39dd
commit 337754d337

@ -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);
} }
} }

Loading…
Cancel
Save