public class org.bouncycastle.jce.provider.DHUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.jce.provider.DHUtil
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.jce.provider.DHUtil this
         0: .line 19
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.jce.provider.DHUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/jce/provider/DHUtil;

  public static org.bouncycastle.crypto.params.AsymmetricKeyParameter generatePublicKeyParameter(java.security.PublicKey);
    descriptor: (Ljava/security/PublicKey;)Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=2, args_size=1
        start local 0 // java.security.PublicKey key
         0: .line 25
            aload 0 /* key */
            instanceof javax.crypto.interfaces.DHPublicKey
            ifeq 5
         1: .line 27
            aload 0 /* key */
            checkcast javax.crypto.interfaces.DHPublicKey
            astore 1 /* k */
        start local 1 // javax.crypto.interfaces.DHPublicKey k
         2: .line 29
            new org.bouncycastle.crypto.params.DHPublicKeyParameters
            dup
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getY:()Ljava/math/BigInteger;
         3: .line 30
            new org.bouncycastle.crypto.params.DHParameters
            dup
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
            aconst_null
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getL:()I
            invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
         4: .line 29
            invokespecial org.bouncycastle.crypto.params.DHPublicKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHParameters;)V
            areturn
        end local 1 // javax.crypto.interfaces.DHPublicKey k
         5: .line 33
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "can't identify DH public key."
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.security.PublicKey key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0   key  Ljava/security/PublicKey;
            2    5     1     k  Ljavax/crypto/interfaces/DHPublicKey;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   

  public static org.bouncycastle.crypto.params.AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey);
    descriptor: (Ljava/security/PrivateKey;)Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=9, locals=2, args_size=1
        start local 0 // java.security.PrivateKey key
         0: .line 40
            aload 0 /* key */
            instanceof javax.crypto.interfaces.DHPrivateKey
            ifeq 5
         1: .line 42
            aload 0 /* key */
            checkcast javax.crypto.interfaces.DHPrivateKey
            astore 1 /* k */
        start local 1 // javax.crypto.interfaces.DHPrivateKey k
         2: .line 44
            new org.bouncycastle.crypto.params.DHPrivateKeyParameters
            dup
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPrivateKey.getX:()Ljava/math/BigInteger;
         3: .line 45
            new org.bouncycastle.crypto.params.DHParameters
            dup
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPrivateKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPrivateKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
            aconst_null
            aload 1 /* k */
            invokeinterface javax.crypto.interfaces.DHPrivateKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
            invokevirtual javax.crypto.spec.DHParameterSpec.getL:()I
            invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
         4: .line 44
            invokespecial org.bouncycastle.crypto.params.DHPrivateKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHParameters;)V
            areturn
        end local 1 // javax.crypto.interfaces.DHPrivateKey k
         5: .line 48
      StackMap locals:
      StackMap stack:
            new java.security.InvalidKeyException
            dup
            ldc "can't identify DH private key."
            invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // java.security.PrivateKey key
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0   key  Ljava/security/PrivateKey;
            2    5     1     k  Ljavax/crypto/interfaces/DHPrivateKey;
    Exceptions:
      throws java.security.InvalidKeyException
    MethodParameters:
      Name  Flags
      key   
}
SourceFile: "DHUtil.java"