public class org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH extends org.bouncycastle.jce.provider.JDKAlgorithmParameters
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH
super_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters
{
javax.crypto.spec.DHParameterSpec currentSpec;
descriptor: Ljavax/crypto/spec/DHParameterSpec;
flags: (0x0000)
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.JDKAlgorithmParameters.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.pkcs.DHParameter
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getL:()I
invokespecial org.bouncycastle.asn1.pkcs.DHParameter.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
astore 1
start local 1 1: aload 1
ldc "DER"
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getEncoded:(Ljava/lang/String;)[B
2: areturn
3: StackMap locals: org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH org.bouncycastle.asn1.pkcs.DHParameter
StackMap stack: java.io.IOException
pop
4: new java.lang.RuntimeException
dup
ldc "Error encoding DHParameters"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
1 5 1 dhP Lorg/bouncycastle/asn1/pkcs/DHParameter;
Exception table:
from to target type
1 2 3 Class java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.isASN1FormatString:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.engineGetEncoded:()[B
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
0 3 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljavax/crypto/spec/DHParameterSpec;
if_acmpne 2
1: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
ldc "unknown parameter spec passed to DH parameters object."
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
0 3 1 paramSpec Ljava/lang/Class;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
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 2
1: new java.security.spec.InvalidParameterSpecException
dup
ldc "DHParameterSpec required to initialise a Diffie-Hellman algorithm parameters object"
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.crypto.spec.DHParameterSpec
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
0 4 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=6, locals=3, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.pkcs.DHParameter
dup
aload 1
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.pkcs.DHParameter.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 2
start local 2 1: aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getL:()Ljava/math/BigInteger;
ifnull 4
2: aload 0
new javax.crypto.spec.DHParameterSpec
dup
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getP:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getG:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getL:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
3: goto 10
4: StackMap locals: org.bouncycastle.asn1.pkcs.DHParameter
StackMap stack:
aload 0
new javax.crypto.spec.DHParameterSpec
dup
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getP:()Ljava/math/BigInteger;
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.DHParameter.getG:()Ljava/math/BigInteger;
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.currentSpec:Ljavax/crypto/spec/DHParameterSpec;
end local 2 5: goto 10
6: StackMap locals: org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH byte[]
StackMap stack: java.lang.ClassCastException
pop
7: new java.io.IOException
dup
ldc "Not a valid DH Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
pop
9: new java.io.IOException
dup
ldc "Not a valid DH Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
0 11 1 params [B
1 5 2 dhP Lorg/bouncycastle/asn1/pkcs/DHParameter;
Exception table:
from to target type
0 5 6 Class java.lang.ClassCastException
0 5 8 Class java.lang.ArrayIndexOutOfBoundsException
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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.isASN1FormatString:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH.engineInit:([B)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unknown parameter format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
0 5 1 params [B
0 5 2 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
params
format
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Diffie-Hellman Parameters"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$DH;
}
SourceFile: "JDKAlgorithmParameters.java"
NestHost: org.bouncycastle.jce.provider.JDKAlgorithmParameters
InnerClasses:
public DH = org.bouncycastle.jce.provider.JDKAlgorithmParameters$DH of org.bouncycastle.jce.provider.JDKAlgorithmParameters