mirror of https://github.com/M66B/FairEmail.git
Catch verifier/digest exceptions
This commit is contained in:
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…
Reference in New Issue