public class org.bouncycastle.asn1.x9.X9ECParameters extends org.bouncycastle.asn1.ASN1Encodable implements org.bouncycastle.asn1.x9.X9ObjectIdentifiers
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x9.X9ECParameters
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private static final java.math.BigInteger ONE;
descriptor: Ljava/math/BigInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.bouncycastle.asn1.x9.X9FieldID fieldID;
descriptor: Lorg/bouncycastle/asn1/x9/X9FieldID;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.math.ec.ECCurve curve;
descriptor: Lorg/bouncycastle/math/ec/ECCurve;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.math.ec.ECPoint g;
descriptor: Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger n;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger h;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private byte[] seed;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: lconst_1
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putstatic org.bouncycastle.asn1.x9.X9ECParameters.ONE:Ljava/math/BigInteger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
instanceof org.bouncycastle.asn1.DERInteger
ifeq 3
2: aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERInteger
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
getstatic org.bouncycastle.asn1.x9.X9ECParameters.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals: org.bouncycastle.asn1.x9.X9ECParameters org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "bad version in X9ECParameters"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x9.X9Curve
dup
5: new org.bouncycastle.asn1.x9.X9FieldID
dup
aload 1
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x9.X9FieldID.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
6: aload 1
iconst_2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
7: invokespecial org.bouncycastle.asn1.x9.X9Curve.<init>:(Lorg/bouncycastle/asn1/x9/X9FieldID;Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 2
start local 2 8: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.x9.X9Curve.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
putfield org.bouncycastle.asn1.x9.X9ECParameters.curve:Lorg/bouncycastle/math/ec/ECCurve;
9: aload 0
new org.bouncycastle.asn1.x9.X9ECPoint
dup
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.curve:Lorg/bouncycastle/math/ec/ECCurve;
aload 1
iconst_3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokespecial org.bouncycastle.asn1.x9.X9ECPoint.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/asn1/ASN1OctetString;)V
invokevirtual org.bouncycastle.asn1.x9.X9ECPoint.getPoint:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.asn1.x9.X9ECParameters.g:Lorg/bouncycastle/math/ec/ECPoint;
10: aload 0
aload 1
iconst_4
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERInteger
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.x9.X9ECParameters.n:Ljava/math/BigInteger;
11: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.x9.X9Curve.getSeed:()[B
putfield org.bouncycastle.asn1.x9.X9ECParameters.seed:[B
12: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
bipush 6
if_icmpne 14
13: aload 0
aload 1
iconst_5
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERInteger
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
14: StackMap locals: org.bouncycastle.asn1.x9.X9Curve
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
0 15 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
8 15 2 x9c Lorg/bouncycastle/asn1/x9/X9Curve;
MethodParameters:
Name Flags
seq
public void <init>(org.bouncycastle.math.ec.ECCurve, org.bouncycastle.math.ec.ECPoint, java.math.BigInteger);
descriptor: (Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
getstatic org.bouncycastle.asn1.x9.X9ECParameters.ONE:Ljava/math/BigInteger;
aconst_null
invokespecial org.bouncycastle.asn1.x9.X9ECParameters.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
0 2 1 curve Lorg/bouncycastle/math/ec/ECCurve;
0 2 2 g Lorg/bouncycastle/math/ec/ECPoint;
0 2 3 n Ljava/math/BigInteger;
MethodParameters:
Name Flags
curve
g
n
public void <init>(org.bouncycastle.math.ec.ECCurve, org.bouncycastle.math.ec.ECPoint, java.math.BigInteger, java.math.BigInteger);
descriptor: (Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokespecial org.bouncycastle.asn1.x9.X9ECParameters.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
0 2 1 curve Lorg/bouncycastle/math/ec/ECCurve;
0 2 2 g Lorg/bouncycastle/math/ec/ECPoint;
0 2 3 n Ljava/math/BigInteger;
0 2 4 h Ljava/math/BigInteger;
MethodParameters:
Name Flags
curve
g
n
h
public void <init>(org.bouncycastle.math.ec.ECCurve, org.bouncycastle.math.ec.ECPoint, java.math.BigInteger, java.math.BigInteger, byte[]);
descriptor: (Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.x9.X9ECParameters.curve:Lorg/bouncycastle/math/ec/ECCurve;
2: aload 0
aload 2
putfield org.bouncycastle.asn1.x9.X9ECParameters.g:Lorg/bouncycastle/math/ec/ECPoint;
3: aload 0
aload 3
putfield org.bouncycastle.asn1.x9.X9ECParameters.n:Ljava/math/BigInteger;
4: aload 0
aload 4
putfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
5: aload 0
aload 5
putfield org.bouncycastle.asn1.x9.X9ECParameters.seed:[B
6: aload 1
instanceof org.bouncycastle.math.ec.ECCurve$Fp
ifeq 9
7: aload 0
new org.bouncycastle.asn1.x9.X9FieldID
dup
aload 1
checkcast org.bouncycastle.math.ec.ECCurve$Fp
invokevirtual org.bouncycastle.math.ec.ECCurve$Fp.getQ:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.x9.X9FieldID.<init>:(Ljava/math/BigInteger;)V
putfield org.bouncycastle.asn1.x9.X9ECParameters.fieldID:Lorg/bouncycastle/asn1/x9/X9FieldID;
8: goto 14
9: StackMap locals: org.bouncycastle.asn1.x9.X9ECParameters org.bouncycastle.math.ec.ECCurve org.bouncycastle.math.ec.ECPoint java.math.BigInteger java.math.BigInteger byte[]
StackMap stack:
aload 1
instanceof org.bouncycastle.math.ec.ECCurve$F2m
ifeq 14
10: aload 1
checkcast org.bouncycastle.math.ec.ECCurve$F2m
astore 6
start local 6 11: aload 0
new org.bouncycastle.asn1.x9.X9FieldID
dup
aload 6
invokevirtual org.bouncycastle.math.ec.ECCurve$F2m.getM:()I
aload 6
invokevirtual org.bouncycastle.math.ec.ECCurve$F2m.getK1:()I
12: aload 6
invokevirtual org.bouncycastle.math.ec.ECCurve$F2m.getK2:()I
aload 6
invokevirtual org.bouncycastle.math.ec.ECCurve$F2m.getK3:()I
invokespecial org.bouncycastle.asn1.x9.X9FieldID.<init>:(IIII)V
13: putfield org.bouncycastle.asn1.x9.X9ECParameters.fieldID:Lorg/bouncycastle/asn1/x9/X9FieldID;
end local 6 14: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
0 15 1 curve Lorg/bouncycastle/math/ec/ECCurve;
0 15 2 g Lorg/bouncycastle/math/ec/ECPoint;
0 15 3 n Ljava/math/BigInteger;
0 15 4 h Ljava/math/BigInteger;
0 15 5 seed [B
11 14 6 curveF2m Lorg/bouncycastle/math/ec/ECCurve$F2m;
MethodParameters:
Name Flags
curve
g
n
h
seed
public org.bouncycastle.math.ec.ECCurve getCurve();
descriptor: ()Lorg/bouncycastle/math/ec/ECCurve;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.curve:Lorg/bouncycastle/math/ec/ECCurve;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
public org.bouncycastle.math.ec.ECPoint getG();
descriptor: ()Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.g:Lorg/bouncycastle/math/ec/ECPoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
public java.math.BigInteger getN();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.n:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
public java.math.BigInteger getH();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
ifnonnull 2
1: getstatic org.bouncycastle.asn1.x9.X9ECParameters.ONE:Ljava/math/BigInteger;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
public byte[] getSeed();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.seed:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 1
new org.bouncycastle.asn1.DERInteger
dup
iconst_1
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(I)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
2: aload 1
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.fieldID:Lorg/bouncycastle/asn1/x9/X9FieldID;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: aload 1
new org.bouncycastle.asn1.x9.X9Curve
dup
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.curve:Lorg/bouncycastle/math/ec/ECCurve;
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.seed:[B
invokespecial org.bouncycastle.asn1.x9.X9Curve.<init>:(Lorg/bouncycastle/math/ec/ECCurve;[B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: aload 1
new org.bouncycastle.asn1.x9.X9ECPoint
dup
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.g:Lorg/bouncycastle/math/ec/ECPoint;
invokespecial org.bouncycastle.asn1.x9.X9ECPoint.<init>:(Lorg/bouncycastle/math/ec/ECPoint;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
5: aload 1
new org.bouncycastle.asn1.DERInteger
dup
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.n:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
6: aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
ifnull 8
7: aload 1
new org.bouncycastle.asn1.DERInteger
dup
aload 0
getfield org.bouncycastle.asn1.x9.X9ECParameters.h:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
8: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/x9/X9ECParameters;
1 9 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "X9ECParameters.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