public final class com.sun.crypto.provider.DHParameters extends java.security.AlgorithmParametersSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.DHParameters
super_class: java.security.AlgorithmParametersSpi
{
private java.math.BigInteger p;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger g;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private int l;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.AlgorithmParametersSpi.<init>:()V
1: aload 0
getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
2: aload 0
getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
3: aload 0
iconst_0
putfield com.sun.crypto.provider.DHParameters.l:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/DHParameters;
protected void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.DHParameterSpec
ifne 4
1: new java.security.spec.InvalidParameterSpecException
dup
2: ldc "Inappropriate parameter specification"
3: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.crypto.spec.DHParameterSpec
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
5: aload 0
aload 1
checkcast javax.crypto.spec.DHParameterSpec
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
6: aload 0
aload 1
checkcast javax.crypto.spec.DHParameterSpec
invokevirtual javax.crypto.spec.DHParameterSpec.getL:()I
putfield com.sun.crypto.provider.DHParameters.l:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/DHParameters;
0 8 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 1: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 3
2: new java.io.IOException
dup
ldc "DH params parsing error"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.reset:()V
4: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
5: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
6: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 8
7: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield com.sun.crypto.provider.DHParameters.l:I
8: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 14
9: new java.io.IOException
dup
10: ldc "DH parameter parsing error: Extra data"
11: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 12: StackMap locals: com.sun.crypto.provider.DHParameters byte[]
StackMap stack: java.lang.NumberFormatException
pop
13: new java.io.IOException
dup
ldc "Private-value length too big"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/crypto/provider/DHParameters;
0 15 1 params [B
1 12 2 encodedParams Lsun/security/util/DerValue;
Exception table:
from to target type
0 12 12 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
params
protected void engineInit(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.crypto.provider.DHParameters.engineInit:([B)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/DHParameters;
0 2 1 params [B
0 2 2 decodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
params
decodingMethod
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljavax/crypto/spec/DHParameterSpec;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: aload 1
new javax.crypto.spec.DHParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
aload 0
getfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
aload 0
getfield com.sun.crypto.provider.DHParameters.l:I
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.spec.AlgorithmParameterSpec
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
3: ldc "Inappropriate parameter Specification"
4: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/DHParameters;
0 5 1 paramSpec Ljava/lang/Class<TT;>;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
Signature: <T::Ljava/security/spec/AlgorithmParameterSpec;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
paramSpec
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
getfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
3: aload 2
aload 0
getfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
4: aload 0
getfield com.sun.crypto.provider.DHParameters.l:I
ifle 6
5: aload 2
aload 0
getfield com.sun.crypto.provider.DHParameters.l:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
6: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
7: aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/DHParameters;
1 8 1 out Lsun/security/util/DerOutputStream;
2 8 2 bytes Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.crypto.provider.DHParameters.engineGetEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DHParameters;
0 1 1 encodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodingMethod
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuffer
dup
new java.lang.StringBuilder
dup
ldc "SunJCE Diffie-Hellman Parameters:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "p:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield com.sun.crypto.provider.DHParameters.p:Ljava/math/BigInteger;
invokestatic sun.security.util.Debug.toHexString:(Ljava/math/BigInteger;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "g:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield com.sun.crypto.provider.DHParameters.g:Ljava/math/BigInteger;
invokestatic sun.security.util.Debug.toHexString:(Ljava/math/BigInteger;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
7: astore 2
start local 2 8: aload 0
getfield com.sun.crypto.provider.DHParameters.l:I
ifeq 10
9: aload 2
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "l:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.crypto.provider.DHParameters.l:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: StackMap locals: java.lang.String java.lang.StringBuffer
StackMap stack:
aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/DHParameters;
1 11 1 LINE_SEP Ljava/lang/String;
8 11 2 strbuf Ljava/lang/StringBuffer;
}
SourceFile: "DHParameters.java"