Updated Bouncy Castle

pull/213/head
M66B 2 years ago
parent 82253119fc
commit 4a7a467281

@ -482,7 +482,7 @@ dependencies {
def vcard_version = "0.11.3" def vcard_version = "0.11.3"
def relinker_version = "1.4.5" def relinker_version = "1.4.5"
def markwon_version = "4.6.2" def markwon_version = "4.6.2"
def bouncycastle_version = "1.71" def bouncycastle_version = "1.76"
def colorpicker_version = "0.0.15" def colorpicker_version = "0.0.15"
def overscroll_version = "1.1.1" def overscroll_version = "1.1.1"
def appauth_version = "0.11.1" def appauth_version = "0.11.1"

@ -255,9 +255,9 @@ public class Bimi {
for (int i = 0; i != logotypeExtn.size(); i++) { for (int i = 0; i != logotypeExtn.size(); i++) {
ASN1TaggedObject subjectLogo = ASN1TaggedObject.getInstance(logotypeExtn.getObjectAt(i)); ASN1TaggedObject subjectLogo = ASN1TaggedObject.getInstance(logotypeExtn.getObjectAt(i));
if (subjectLogo.getTagNo() == 2) { if (subjectLogo.getTagNo() == 2) {
ASN1TaggedObject logotypeInfo = (ASN1TaggedObject) subjectLogo.getObject(); ASN1TaggedObject logotypeInfo = (ASN1TaggedObject) subjectLogo.getBaseObject();
if (logotypeInfo.getTagNo() == 0) { if (logotypeInfo.getTagNo() == 0) {
ASN1Sequence logotypeData = (ASN1Sequence) logotypeInfo.getObject(); ASN1Sequence logotypeData = (ASN1Sequence) logotypeInfo.getBaseObject();
ASN1Sequence logotypeImage = (ASN1Sequence) logotypeData.getObjectAt(0); ASN1Sequence logotypeImage = (ASN1Sequence) logotypeData.getObjectAt(0);
ASN1Sequence logotypeDetails = (ASN1Sequence) logotypeImage.getObjectAt(0); ASN1Sequence logotypeDetails = (ASN1Sequence) logotypeImage.getObjectAt(0);

Loading…
Cancel
Save