public class org.bouncycastle.crypto.params.RSAKeyGenerationParameters extends org.bouncycastle.crypto.KeyGenerationParameters
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.params.RSAKeyGenerationParameters
super_class: org.bouncycastle.crypto.KeyGenerationParameters
{
private java.math.BigInteger publicExponent;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private int certainty;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.math.BigInteger, java.security.SecureRandom, int, int);
descriptor: (Ljava/math/BigInteger;Ljava/security/SecureRandom;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
iload 3
invokespecial org.bouncycastle.crypto.KeyGenerationParameters.<init>:(Ljava/security/SecureRandom;I)V
1: iload 3
bipush 12
if_icmpge 3
2: new java.lang.IllegalArgumentException
dup
ldc "key strength too small"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.crypto.params.RSAKeyGenerationParameters java.math.BigInteger java.security.SecureRandom int int
StackMap stack:
aload 1
iconst_0
invokevirtual java.math.BigInteger.testBit:(I)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
ldc "public exponent cannot be even"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.crypto.params.RSAKeyGenerationParameters.publicExponent:Ljava/math/BigInteger;
6: aload 0
iload 4
putfield org.bouncycastle.crypto.params.RSAKeyGenerationParameters.certainty:I
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
0 8 1 publicExponent Ljava/math/BigInteger;
0 8 2 random Ljava/security/SecureRandom;
0 8 3 strength I
0 8 4 certainty I
MethodParameters:
Name Flags
publicExponent
random
strength
certainty
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.crypto.params.RSAKeyGenerationParameters.publicExponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
public int getCertainty();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.params.RSAKeyGenerationParameters.certainty:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
}
SourceFile: "RSAKeyGenerationParameters.java"