public class org.bouncycastle.asn1.eac.RSAPublicKey extends org.bouncycastle.asn1.eac.PublicKeyDataObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.eac.RSAPublicKey
super_class: org.bouncycastle.asn1.eac.PublicKeyDataObject
{
private org.bouncycastle.asn1.ASN1ObjectIdentifier usage;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger modulus;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger exponent;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private int valid;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static int modulusValid;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int exponentValid;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
putstatic org.bouncycastle.asn1.eac.RSAPublicKey.modulusValid:I
1: iconst_2
putstatic org.bouncycastle.asn1.eac.RSAPublicKey.exponentValid:I
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.eac.PublicKeyDataObject.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
2: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 3: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.ASN1ObjectIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putfield org.bouncycastle.asn1.eac.RSAPublicKey.usage:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
4: goto 12
5: StackMap locals: org.bouncycastle.asn1.eac.RSAPublicKey org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.eac.UnsignedInteger.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/eac/UnsignedInteger;
astore 3
start local 3 6: aload 3
invokevirtual org.bouncycastle.asn1.eac.UnsignedInteger.getTagNo:()I
tableswitch { // 1 - 2
1: 7
2: 9
default: 11
}
7: StackMap locals: org.bouncycastle.asn1.eac.UnsignedInteger
StackMap stack:
aload 0
aload 3
invokevirtual org.bouncycastle.asn1.eac.RSAPublicKey.setModulus:(Lorg/bouncycastle/asn1/eac/UnsignedInteger;)V
8: goto 12
9: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.bouncycastle.asn1.eac.RSAPublicKey.setExponent:(Lorg/bouncycastle/asn1/eac/UnsignedInteger;)V
10: goto 12
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown DERTaggedObject :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.bouncycastle.asn1.eac.UnsignedInteger.getTagNo:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "-> not an Iso7816RSAPublicKeyStructure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
13: aload 0
getfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
iconst_3
if_icmpeq 15
14: new java.lang.IllegalArgumentException
dup
ldc "missing argument -> not an Iso7816RSAPublicKeyStructure"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
0 16 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
3 16 2 en Ljava/util/Enumeration;
6 12 3 val Lorg/bouncycastle/asn1/eac/UnsignedInteger;
MethodParameters:
Name Flags
seq
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, java.math.BigInteger, java.math.BigInteger);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.bouncycastle.asn1.eac.PublicKeyDataObject.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
2: aload 0
aload 1
putfield org.bouncycastle.asn1.eac.RSAPublicKey.usage:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
aload 2
putfield org.bouncycastle.asn1.eac.RSAPublicKey.modulus:Ljava/math/BigInteger;
4: aload 0
aload 3
putfield org.bouncycastle.asn1.eac.RSAPublicKey.exponent:Ljava/math/BigInteger;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
0 6 1 usage Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 6 2 modulus Ljava/math/BigInteger;
0 6 3 exponent Ljava/math/BigInteger;
MethodParameters:
Name Flags
usage
modulus
exponent
public org.bouncycastle.asn1.ASN1ObjectIdentifier getUsage();
descriptor: ()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.eac.RSAPublicKey.usage:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
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.eac.RSAPublicKey.modulus:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/eac/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.eac.RSAPublicKey.exponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
private void setModulus(org.bouncycastle.asn1.eac.UnsignedInteger);
descriptor: (Lorg/bouncycastle/asn1/eac/UnsignedInteger;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
getstatic org.bouncycastle.asn1.eac.RSAPublicKey.modulusValid:I
iand
ifne 4
1: aload 0
dup
getfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
getstatic org.bouncycastle.asn1.eac.RSAPublicKey.modulusValid:I
ior
putfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
2: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.eac.UnsignedInteger.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.eac.RSAPublicKey.modulus:Ljava/math/BigInteger;
3: goto 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Modulus already set"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
0 6 1 modulus Lorg/bouncycastle/asn1/eac/UnsignedInteger;
MethodParameters:
Name Flags
modulus
private void setExponent(org.bouncycastle.asn1.eac.UnsignedInteger);
descriptor: (Lorg/bouncycastle/asn1/eac/UnsignedInteger;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
getstatic org.bouncycastle.asn1.eac.RSAPublicKey.exponentValid:I
iand
ifne 4
1: aload 0
dup
getfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
getstatic org.bouncycastle.asn1.eac.RSAPublicKey.exponentValid:I
ior
putfield org.bouncycastle.asn1.eac.RSAPublicKey.valid:I
2: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.eac.UnsignedInteger.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.eac.RSAPublicKey.exponent:Ljava/math/BigInteger;
3: goto 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Exponent already set"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
0 6 1 exponent Lorg/bouncycastle/asn1/eac/UnsignedInteger;
MethodParameters:
Name Flags
exponent
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
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
aload 0
getfield org.bouncycastle.asn1.eac.RSAPublicKey.usage:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 1
new org.bouncycastle.asn1.eac.UnsignedInteger
dup
iconst_1
aload 0
invokevirtual org.bouncycastle.asn1.eac.RSAPublicKey.getModulus:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.eac.UnsignedInteger.<init>:(ILjava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
new org.bouncycastle.asn1.eac.UnsignedInteger
dup
iconst_2
aload 0
invokevirtual org.bouncycastle.asn1.eac.RSAPublicKey.getPublicExponent:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.eac.UnsignedInteger.<init>:(ILjava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: 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 5 0 this Lorg/bouncycastle/asn1/eac/RSAPublicKey;
1 5 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "RSAPublicKey.java"