what-the-bank/sources/org/bouncycastle/jce/ECNamedCurveTable.java

52 lines
2.6 KiB
Java

package org.bouncycastle.jce;
import java.util.Enumeration;
/* loaded from: classes6.dex */
public class ECNamedCurveTable {
/* JADX WARN: Code restructure failed: missing block: B:11:0x0011, code lost:
r0 = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(r8);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static org.bouncycastle.jce.spec.ECNamedCurveParameterSpec getParameterSpec(java.lang.String r8) {
/*
org.bouncycastle.asn1.x9.X9ECParameters r0 = org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(r8)
if (r0 != 0) goto L20
org.bouncycastle.asn1.ASN1ObjectIdentifier r1 = new org.bouncycastle.asn1.ASN1ObjectIdentifier // Catch: java.lang.IllegalArgumentException -> Lf
r1.<init>(r8) // Catch: java.lang.IllegalArgumentException -> Lf
org.bouncycastle.asn1.x9.X9ECParameters r0 = org.bouncycastle.crypto.ec.CustomNamedCurves.getByOID(r1) // Catch: java.lang.IllegalArgumentException -> Lf
Lf:
if (r0 != 0) goto L20
org.bouncycastle.asn1.x9.X9ECParameters r0 = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(r8)
if (r0 != 0) goto L20
org.bouncycastle.asn1.ASN1ObjectIdentifier r1 = new org.bouncycastle.asn1.ASN1ObjectIdentifier // Catch: java.lang.IllegalArgumentException -> L20
r1.<init>(r8) // Catch: java.lang.IllegalArgumentException -> L20
org.bouncycastle.asn1.x9.X9ECParameters r0 = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByOID(r1) // Catch: java.lang.IllegalArgumentException -> L20
L20:
if (r0 != 0) goto L24
r8 = 0
return r8
L24:
org.bouncycastle.jce.spec.ECNamedCurveParameterSpec r7 = new org.bouncycastle.jce.spec.ECNamedCurveParameterSpec
org.bouncycastle.math.ec.ECCurve r2 = r0.getCurve()
org.bouncycastle.math.ec.ECPoint r3 = r0.getG()
java.math.BigInteger r4 = r0.getN()
java.math.BigInteger r5 = r0.getH()
byte[] r6 = r0.getSeed()
r0 = r7
r1 = r8
r0.<init>(r1, r2, r3, r4, r5, r6)
return r7
*/
throw new UnsupportedOperationException("Method not decompiled: org.bouncycastle.jce.ECNamedCurveTable.getParameterSpec(java.lang.String):org.bouncycastle.jce.spec.ECNamedCurveParameterSpec");
}
public static Enumeration getNames() {
return org.bouncycastle.asn1.x9.ECNamedCurveTable.getNames();
}
}