public class org.bouncycastle.crypto.params.DHParameters implements org.bouncycastle.crypto.CipherParameters
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.params.DHParameters
super_class: java.lang.Object
{
private static final int DEFAULT_MINIMUM_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 160
private java.math.BigInteger g;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger p;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger q;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger j;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private int m;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int l;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.DHValidationParameters validation;
descriptor: Lorg/bouncycastle/crypto/params/DHValidationParameters;
flags: (0x0002) ACC_PRIVATE
private static int getDefaultMParam(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 2
1: sipush 160
ireturn
2: StackMap locals:
StackMap stack:
iload 0
sipush 160
if_icmpge 3
iload 0
goto 4
StackMap locals:
StackMap stack:
3: sipush 160
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 lParam I
MethodParameters:
Name Flags
lParam
public void <init>(java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_0
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 2 1 p Ljava/math/BigInteger;
0 2 2 g Ljava/math/BigInteger;
MethodParameters:
Name Flags
p
g
public void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 2 1 p Ljava/math/BigInteger;
0 2 2 g Ljava/math/BigInteger;
0 2 3 q Ljava/math/BigInteger;
MethodParameters:
Name Flags
p
g
q
public void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, int);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokestatic org.bouncycastle.crypto.params.DHParameters.getDefaultMParam:(I)I
iload 4
aconst_null
aconst_null
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;IILjava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 2 1 p Ljava/math/BigInteger;
0 2 2 g Ljava/math/BigInteger;
0 2 3 q Ljava/math/BigInteger;
0 2 4 l I
MethodParameters:
Name Flags
p
g
q
l
public void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, int, int);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iload 4
iload 5
aconst_null
aconst_null
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;IILjava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
1: return
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 2 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 2 1 p Ljava/math/BigInteger;
0 2 2 g Ljava/math/BigInteger;
0 2 3 q Ljava/math/BigInteger;
0 2 4 m I
0 2 5 l I
MethodParameters:
Name Flags
p
g
q
m
l
public void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, org.bouncycastle.crypto.params.DHValidationParameters);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
sipush 160
iconst_0
aload 4
aload 5
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;IILjava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
1: return
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 2 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 2 1 p Ljava/math/BigInteger;
0 2 2 g Ljava/math/BigInteger;
0 2 3 q Ljava/math/BigInteger;
0 2 4 j Ljava/math/BigInteger;
0 2 5 validation Lorg/bouncycastle/crypto/params/DHValidationParameters;
MethodParameters:
Name Flags
p
g
q
j
validation
public void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, int, int, java.math.BigInteger, org.bouncycastle.crypto.params.DHValidationParameters);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;IILjava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 5
ifeq 6
2: iload 5
aload 1
invokevirtual java.math.BigInteger.bitLength:()I
if_icmplt 4
3: new java.lang.IllegalArgumentException
dup
ldc "when l value specified, it must be less than bitlength(p)"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.bouncycastle.crypto.params.DHParameters java.math.BigInteger java.math.BigInteger java.math.BigInteger int int java.math.BigInteger org.bouncycastle.crypto.params.DHValidationParameters
StackMap stack:
iload 5
iload 4
if_icmpge 6
5: new java.lang.IllegalArgumentException
dup
ldc "when l value specified, it may not be less than m value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.bouncycastle.crypto.params.DHParameters.g:Ljava/math/BigInteger;
7: aload 0
aload 1
putfield org.bouncycastle.crypto.params.DHParameters.p:Ljava/math/BigInteger;
8: aload 0
aload 3
putfield org.bouncycastle.crypto.params.DHParameters.q:Ljava/math/BigInteger;
9: aload 0
iload 4
putfield org.bouncycastle.crypto.params.DHParameters.m:I
10: aload 0
iload 5
putfield org.bouncycastle.crypto.params.DHParameters.l:I
11: aload 0
aload 6
putfield org.bouncycastle.crypto.params.DHParameters.j:Ljava/math/BigInteger;
12: aload 0
aload 7
putfield org.bouncycastle.crypto.params.DHParameters.validation:Lorg/bouncycastle/crypto/params/DHValidationParameters;
13: return
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 14 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 14 1 p Ljava/math/BigInteger;
0 14 2 g Ljava/math/BigInteger;
0 14 3 q Ljava/math/BigInteger;
0 14 4 m I
0 14 5 l I
0 14 6 j Ljava/math/BigInteger;
0 14 7 validation Lorg/bouncycastle/crypto/params/DHValidationParameters;
MethodParameters:
Name Flags
p
g
q
m
l
j
validation
public java.math.BigInteger getP();
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.DHParameters.p:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public java.math.BigInteger getG();
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.DHParameters.g:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public java.math.BigInteger getQ();
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.DHParameters.q:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public java.math.BigInteger getJ();
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.DHParameters.j:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public int getM();
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.DHParameters.m:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public int getL();
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.DHParameters.l:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public org.bouncycastle.crypto.params.DHValidationParameters getValidationParameters();
descriptor: ()Lorg/bouncycastle/crypto/params/DHValidationParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.params.DHParameters.validation:Lorg/bouncycastle/crypto/params/DHValidationParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/params/DHParameters;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.crypto.params.DHParameters
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.crypto.params.DHParameters
astore 2
start local 2 3: aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
ifnull 6
4: aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifne 8
5: iconst_0
ireturn
6: StackMap locals: org.bouncycastle.crypto.params.DHParameters
StackMap stack:
aload 2
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
ifnull 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.bouncycastle.crypto.params.DHParameters.getP:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.crypto.params.DHParameters.p:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifeq 9
aload 2
invokevirtual org.bouncycastle.crypto.params.DHParameters.getG:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.crypto.params.DHParameters.g:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/crypto/params/DHParameters;
0 10 1 obj Ljava/lang/Object;
3 10 2 pm Lorg/bouncycastle/crypto/params/DHParameters;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getP:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getG:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
ixor
aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
ifnull 1
aload 0
invokevirtual org.bouncycastle.crypto.params.DHParameters.getQ:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: org.bouncycastle.crypto.params.DHParameters
StackMap stack: int int
2: ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/crypto/params/DHParameters;
}
SourceFile: "DHParameters.java"