public class org.bouncycastle.jce.ECPointUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.ECPointUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bouncycastle.jce.ECPointUtil this
0: .line 13
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.jce.ECPointUtil this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/ECPointUtil;
public static java.security.spec.ECPoint decodePoint(java.security.spec.EllipticCurve, byte[]);
descriptor: (Ljava/security/spec/EllipticCurve;[B)Ljava/security/spec/ECPoint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=4, args_size=2
start local 0 // java.security.spec.EllipticCurve curve
start local 1 // byte[] encoded
0: .line 29
aconst_null
astore 2 /* c */
start local 2 // org.bouncycastle.math.ec.ECCurve c
1: .line 31
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
instanceof java.security.spec.ECFieldFp
ifeq 6
2: .line 33
new org.bouncycastle.math.ec.ECCurve$Fp
dup
3: .line 34
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
checkcast java.security.spec.ECFieldFp
invokevirtual java.security.spec.ECFieldFp.getP:()Ljava/math/BigInteger;
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getA:()Ljava/math/BigInteger;
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getB:()Ljava/math/BigInteger;
4: .line 33
invokespecial org.bouncycastle.math.ec.ECCurve$Fp.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 2 /* c */
5: .line 35
goto 15
6: .line 38
StackMap locals: org.bouncycastle.math.ec.ECCurve
StackMap stack:
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
checkcast java.security.spec.ECFieldF2m
invokevirtual java.security.spec.ECFieldF2m.getMidTermsOfReductionPolynomial:()[I
astore 3 /* k */
start local 3 // int[] k
7: .line 40
aload 3 /* k */
arraylength
iconst_3
if_icmpne 12
8: .line 42
new org.bouncycastle.math.ec.ECCurve$F2m
dup
9: .line 43
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
checkcast java.security.spec.ECFieldF2m
invokevirtual java.security.spec.ECFieldF2m.getM:()I
aload 3 /* k */
iconst_2
iaload
aload 3 /* k */
iconst_1
iaload
aload 3 /* k */
iconst_0
iaload
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getA:()Ljava/math/BigInteger;
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getB:()Ljava/math/BigInteger;
10: .line 42
invokespecial org.bouncycastle.math.ec.ECCurve$F2m.<init>:(IIIILjava/math/BigInteger;Ljava/math/BigInteger;)V
astore 2 /* c */
11: .line 44
goto 15
12: .line 47
StackMap locals: int[]
StackMap stack:
new org.bouncycastle.math.ec.ECCurve$F2m
dup
13: .line 48
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getField:()Ljava/security/spec/ECField;
checkcast java.security.spec.ECFieldF2m
invokevirtual java.security.spec.ECFieldF2m.getM:()I
aload 3 /* k */
iconst_0
iaload
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getA:()Ljava/math/BigInteger;
aload 0 /* curve */
invokevirtual java.security.spec.EllipticCurve.getB:()Ljava/math/BigInteger;
14: .line 47
invokespecial org.bouncycastle.math.ec.ECCurve$F2m.<init>:(IILjava/math/BigInteger;Ljava/math/BigInteger;)V
astore 2 /* c */
end local 3 // int[] k
15: .line 52
StackMap locals:
StackMap stack:
aload 2 /* c */
aload 1 /* encoded */
invokevirtual org.bouncycastle.math.ec.ECCurve.decodePoint:([B)Lorg/bouncycastle/math/ec/ECPoint;
astore 3 /* p */
start local 3 // org.bouncycastle.math.ec.ECPoint p
16: .line 54
new java.security.spec.ECPoint
dup
aload 3 /* p */
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
aload 3 /* p */
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 3 // org.bouncycastle.math.ec.ECPoint p
end local 2 // org.bouncycastle.math.ec.ECCurve c
end local 1 // byte[] encoded
end local 0 // java.security.spec.EllipticCurve curve
LocalVariableTable:
Start End Slot Name Signature
0 17 0 curve Ljava/security/spec/EllipticCurve;
0 17 1 encoded [B
1 17 2 c Lorg/bouncycastle/math/ec/ECCurve;
7 15 3 k [I
16 17 3 p Lorg/bouncycastle/math/ec/ECPoint;
MethodParameters:
Name Flags
curve
encoded
}
SourceFile: "ECPointUtil.java"
InnerClasses:
public F2m = org.bouncycastle.math.ec.ECCurve$F2m of org.bouncycastle.math.ec.ECCurve
public Fp = org.bouncycastle.math.ec.ECCurve$Fp of org.bouncycastle.math.ec.ECCurve