public class org.bouncycastle.asn1.pkcs.RSAPrivateKey extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.pkcs.RSAPrivateKey
super_class: org.bouncycastle.asn1.ASN1Object
{
private java.math.BigInteger version;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger modulus;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger publicExponent;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger privateExponent;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger prime1;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger prime2;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger exponent1;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger exponent2;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger coefficient;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1Sequence otherPrimeInfos;
descriptor: Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.pkcs.RSAPrivateKey getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokestatic org.bouncycastle.asn1.pkcs.RSAPrivateKey.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 1 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
public static org.bouncycastle.asn1.pkcs.RSAPrivateKey getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.pkcs.RSAPrivateKey
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.pkcs.RSAPrivateKey
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.pkcs.RSAPrivateKey
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.pkcs.RSAPrivateKey.<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, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aconst_null
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.otherPrimeInfos:Lorg/bouncycastle/asn1/ASN1Sequence;
2: aload 0
lconst_0
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.version:Ljava/math/BigInteger;
3: aload 0
aload 1
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.modulus:Ljava/math/BigInteger;
4: aload 0
aload 2
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.publicExponent:Ljava/math/BigInteger;
5: aload 0
aload 3
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.privateExponent:Ljava/math/BigInteger;
6: aload 0
aload 4
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.prime1:Ljava/math/BigInteger;
7: aload 0
aload 5
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.prime2:Ljava/math/BigInteger;
8: aload 0
aload 6
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.exponent1:Ljava/math/BigInteger;
9: aload 0
aload 7
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.exponent2:Ljava/math/BigInteger;
10: aload 0
aload 8
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.coefficient:Ljava/math/BigInteger;
11: return
end local 8 end local 7 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 12 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
0 12 1 modulus Ljava/math/BigInteger;
0 12 2 publicExponent Ljava/math/BigInteger;
0 12 3 privateExponent Ljava/math/BigInteger;
0 12 4 prime1 Ljava/math/BigInteger;
0 12 5 prime2 Ljava/math/BigInteger;
0 12 6 exponent1 Ljava/math/BigInteger;
0 12 7 exponent2 Ljava/math/BigInteger;
0 12 8 coefficient Ljava/math/BigInteger;
MethodParameters:
Name Flags
modulus
publicExponent
privateExponent
prime1
prime2
exponent1
exponent2
coefficient
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aconst_null
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.otherPrimeInfos:Lorg/bouncycastle/asn1/ASN1Sequence;
2: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 3: aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
astore 3
start local 3 4: aload 3
invokevirtual java.math.BigInteger.intValue:()I
ifeq 6
aload 3
invokevirtual java.math.BigInteger.intValue:()I
iconst_1
if_icmpeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "wrong version for RSA private key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.bouncycastle.asn1.pkcs.RSAPrivateKey org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration java.math.BigInteger
StackMap stack:
aload 0
aload 3
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.version:Ljava/math/BigInteger;
7: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.modulus:Ljava/math/BigInteger;
8: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.publicExponent:Ljava/math/BigInteger;
9: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.privateExponent:Ljava/math/BigInteger;
10: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.prime1:Ljava/math/BigInteger;
11: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.prime2:Ljava/math/BigInteger;
12: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.exponent1:Ljava/math/BigInteger;
13: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.exponent2:Ljava/math/BigInteger;
14: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Integer
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.coefficient:Ljava/math/BigInteger;
15: aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 17
16: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
putfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.otherPrimeInfos:Lorg/bouncycastle/asn1/ASN1Sequence;
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
0 18 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
3 18 2 e Ljava/util/Enumeration;
4 18 3 v Ljava/math/BigInteger;
MethodParameters:
Name Flags
seq
public java.math.BigInteger getVersion();
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.pkcs.RSAPrivateKey.version:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getModulus();
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.pkcs.RSAPrivateKey.modulus:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getPublicExponent();
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.pkcs.RSAPrivateKey.publicExponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getPrivateExponent();
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.pkcs.RSAPrivateKey.privateExponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getPrime1();
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.pkcs.RSAPrivateKey.prime1:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getPrime2();
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.pkcs.RSAPrivateKey.prime2:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getExponent1();
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.pkcs.RSAPrivateKey.exponent1:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getExponent2();
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.pkcs.RSAPrivateKey.exponent2:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public java.math.BigInteger getCoefficient();
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.pkcs.RSAPrivateKey.coefficient:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.ASN1Integer
dup
aload 0
getfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.version:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getModulus:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getPublicExponent:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
5: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getPrime1:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
6: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getPrime2:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
7: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getExponent1:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
8: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getExponent2:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
9: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKey.getCoefficient:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
10: aload 0
getfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.otherPrimeInfos:Lorg/bouncycastle/asn1/ASN1Sequence;
ifnull 12
11: aload 1
aload 0
getfield org.bouncycastle.asn1.pkcs.RSAPrivateKey.otherPrimeInfos:Lorg/bouncycastle/asn1/ASN1Sequence;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
12: 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 13 0 this Lorg/bouncycastle/asn1/pkcs/RSAPrivateKey;
1 13 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "RSAPrivateKey.java"