public class org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA extends org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA
super_class: org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameterGenerator$DSA;
protected void engineInit(int, java.security.SecureRandom);
descriptor: (ILjava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
sipush 512
if_icmplt 1
iload 1
sipush 1024
if_icmpgt 1
iload 1
bipush 64
irem
ifeq 2
1: StackMap locals:
StackMap stack:
new java.security.InvalidParameterException
dup
ldc "strength must be from 512 - 1024 and a multiple of 64"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.strength:I
3: aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.random:Ljava/security/SecureRandom;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameterGenerator$DSA;
0 5 1 strength I
0 5 2 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
strength
random
protected void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.security.InvalidAlgorithmParameterException
dup
ldc "No supported AlgorithmParameterSpec for DSA parameter generation."
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameterGenerator$DSA;
0 1 1 genParamSpec Ljava/security/spec/AlgorithmParameterSpec;
0 1 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
genParamSpec
random
protected java.security.AlgorithmParameters engineGenerateParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=1
start local 0 0: new org.bouncycastle.crypto.generators.DSAParametersGenerator
dup
invokespecial org.bouncycastle.crypto.generators.DSAParametersGenerator.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.random:Ljava/security/SecureRandom;
ifnull 4
2: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.strength:I
bipush 20
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.random:Ljava/security/SecureRandom;
invokevirtual org.bouncycastle.crypto.generators.DSAParametersGenerator.init:(IILjava/security/SecureRandom;)V
3: goto 5
4: StackMap locals: org.bouncycastle.crypto.generators.DSAParametersGenerator
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA.strength:I
bipush 20
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
invokevirtual org.bouncycastle.crypto.generators.DSAParametersGenerator.init:(IILjava/security/SecureRandom;)V
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bouncycastle.crypto.generators.DSAParametersGenerator.generateParameters:()Lorg/bouncycastle/crypto/params/DSAParameters;
astore 2
start local 2 6: ldc "DSA"
getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/AlgorithmParameters;
astore 3
start local 3 7: aload 3
new java.security.spec.DSAParameterSpec
dup
aload 2
invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.crypto.params.DSAParameters.getG:()Ljava/math/BigInteger;
invokespecial java.security.spec.DSAParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
8: goto 11
end local 3 9: StackMap locals: org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA org.bouncycastle.crypto.generators.DSAParametersGenerator org.bouncycastle.crypto.params.DSAParameters
StackMap stack: java.lang.Exception
astore 4
start local 4 10: new java.lang.RuntimeException
dup
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 4 start local 3 11: StackMap locals: java.security.AlgorithmParameters
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameterGenerator$DSA;
1 12 1 pGen Lorg/bouncycastle/crypto/generators/DSAParametersGenerator;
6 12 2 p Lorg/bouncycastle/crypto/params/DSAParameters;
7 9 3 params Ljava/security/AlgorithmParameters;
11 12 3 params Ljava/security/AlgorithmParameters;
10 11 4 e Ljava/lang/Exception;
Exception table:
from to target type
6 8 9 Class java.lang.Exception
}
SourceFile: "JDKAlgorithmParameterGenerator.java"
NestHost: org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator
InnerClasses:
public DSA = org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator$DSA of org.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator