public class org.bouncycastle.asn1.pkcs.RSAPublicKey extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.pkcs.RSAPublicKey
super_class: org.bouncycastle.asn1.ASN1Object
{
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
public static org.bouncycastle.asn1.pkcs.RSAPublicKey getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
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.RSAPublicKey.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
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.RSAPublicKey getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
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.RSAPublicKey
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.pkcs.RSAPublicKey
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.pkcs.RSAPublicKey
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.pkcs.RSAPublicKey.<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);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.pkcs.RSAPublicKey.modulus:Ljava/math/BigInteger;
2: aload 0
aload 2
putfield org.bouncycastle.asn1.pkcs.RSAPublicKey.publicExponent:Ljava/math/BigInteger;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
0 4 1 modulus Ljava/math/BigInteger;
0 4 2 publicExponent Ljava/math/BigInteger;
MethodParameters:
Name Flags
modulus
publicExponent
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmpeq 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad sequence size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.bouncycastle.asn1.pkcs.RSAPublicKey org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 6: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getPositiveValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPublicKey.modulus:Ljava/math/BigInteger;
7: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getPositiveValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.pkcs.RSAPublicKey.publicExponent:Ljava/math/BigInteger;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
0 9 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
6 9 2 e Ljava/util/Enumeration;
MethodParameters:
Name Flags
seq
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.RSAPublicKey.modulus:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
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.RSAPublicKey.publicExponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
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
invokevirtual org.bouncycastle.asn1.pkcs.RSAPublicKey.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
2: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual org.bouncycastle.asn1.pkcs.RSAPublicKey.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
3: 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 4 0 this Lorg/bouncycastle/asn1/pkcs/RSAPublicKey;
1 4 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "RSAPublicKey.java"