public class org.bouncycastle.asn1.sec.ECPrivateKey extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.sec.ECPrivateKey
super_class: org.bouncycastle.asn1.ASN1Object
{
private org.bouncycastle.asn1.ASN1Sequence seq;
descriptor: Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0002) ACC_PRIVATE
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 3 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
MethodParameters:
Name Flags
seq
public static org.bouncycastle.asn1.sec.ECPrivateKey getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/sec/ECPrivateKey;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.sec.ECPrivateKey
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.sec.ECPrivateKey
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.sec.ECPrivateKey
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.sec.ECPrivateKey.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.math.BigInteger.bitLength:()I
aload 1
invokespecial org.bouncycastle.asn1.sec.ECPrivateKey.<init>:(ILjava/math/BigInteger;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 2 1 key Ljava/math/BigInteger;
MethodParameters:
Name Flags
key
public void <init>(int, java.math.BigInteger);
descriptor: (ILjava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: iload 1
bipush 7
iadd
bipush 8
idiv
aload 2
invokestatic org.bouncycastle.util.BigIntegers.asUnsignedByteArray:(ILjava/math/BigInteger;)[B
astore 3
start local 3 2: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 4
start local 4 3: aload 4
new org.bouncycastle.asn1.ASN1Integer
dup
lconst_1
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 4
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
5: aload 0
new org.bouncycastle.asn1.DERSequence
dup
aload 4
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
putfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 7 1 orderBitLength I
0 7 2 key Ljava/math/BigInteger;
2 7 3 bytes [B
3 7 4 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
MethodParameters:
Name Flags
orderBitLength
key
public void <init>(java.math.BigInteger, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Ljava/math/BigInteger;Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial org.bouncycastle.asn1.sec.ECPrivateKey.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Encodable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 2 1 key Ljava/math/BigInteger;
0 2 2 parameters Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
key
parameters
public void <init>(java.math.BigInteger, org.bouncycastle.asn1.DERBitString, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Ljava/math/BigInteger;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual java.math.BigInteger.bitLength:()I
aload 1
aload 2
aload 3
invokespecial org.bouncycastle.asn1.sec.ECPrivateKey.<init>:(ILjava/math/BigInteger;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Encodable;)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/sec/ECPrivateKey;
0 2 1 key Ljava/math/BigInteger;
0 2 2 publicKey Lorg/bouncycastle/asn1/DERBitString;
0 2 3 parameters Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
key
publicKey
parameters
public void <init>(int, java.math.BigInteger, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (ILjava/math/BigInteger;Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aconst_null
aload 3
invokespecial org.bouncycastle.asn1.sec.ECPrivateKey.<init>:(ILjava/math/BigInteger;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Encodable;)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/sec/ECPrivateKey;
0 2 1 orderBitLength I
0 2 2 key Ljava/math/BigInteger;
0 2 3 parameters Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
orderBitLength
key
parameters
public void <init>(int, java.math.BigInteger, org.bouncycastle.asn1.DERBitString, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (ILjava/math/BigInteger;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: iload 1
bipush 7
iadd
bipush 8
idiv
aload 2
invokestatic org.bouncycastle.util.BigIntegers.asUnsignedByteArray:(ILjava/math/BigInteger;)[B
astore 5
start local 5 2: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 6
start local 6 3: aload 6
new org.bouncycastle.asn1.ASN1Integer
dup
lconst_1
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 6
new org.bouncycastle.asn1.DEROctetString
dup
aload 5
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
5: aload 4
ifnull 7
6: aload 6
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_0
aload 4
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
7: StackMap locals: org.bouncycastle.asn1.sec.ECPrivateKey int java.math.BigInteger org.bouncycastle.asn1.DERBitString org.bouncycastle.asn1.ASN1Encodable byte[] org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 3
ifnull 9
8: aload 6
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_1
aload 3
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
9: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.asn1.DERSequence
dup
aload 6
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
putfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
10: return
end local 6 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 11 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 11 1 orderBitLength I
0 11 2 key Ljava/math/BigInteger;
0 11 3 publicKey Lorg/bouncycastle/asn1/DERBitString;
0 11 4 parameters Lorg/bouncycastle/asn1/ASN1Encodable;
2 11 5 bytes [B
3 11 6 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
MethodParameters:
Name Flags
orderBitLength
key
publicKey
parameters
public java.math.BigInteger getKey();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
astore 1
start local 1 1: new java.math.BigInteger
dup
iconst_1
aload 1
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial java.math.BigInteger.<init>:(I[B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
1 2 1 octs Lorg/bouncycastle/asn1/ASN1OctetString;
public org.bouncycastle.asn1.DERBitString getPublicKey();
descriptor: ()Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.bouncycastle.asn1.sec.ECPrivateKey.getObjectInTag:(I)Lorg/bouncycastle/asn1/ASN1Primitive;
checkcast org.bouncycastle.asn1.DERBitString
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
public org.bouncycastle.asn1.ASN1Primitive getParameters();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.bouncycastle.asn1.sec.ECPrivateKey.getObjectInTag:(I)Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
private org.bouncycastle.asn1.ASN1Primitive getObjectInTag(int);
descriptor: (I)Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 1: goto 7
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Encodable
astore 3
start local 3 3: aload 3
instanceof org.bouncycastle.asn1.ASN1TaggedObject
ifeq 7
4: aload 3
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 4
start local 4 5: aload 4
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
iload 1
if_icmpne 7
6: aload 4
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
0 9 1 tagNo I
1 9 2 e Ljava/util/Enumeration;
3 7 3 obj Lorg/bouncycastle/asn1/ASN1Encodable;
5 7 4 tag Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
tagNo
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.sec.ECPrivateKey.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/sec/ECPrivateKey;
}
SourceFile: "ECPrivateKey.java"