public class org.bouncycastle.crypto.signers.DSASigner implements org.bouncycastle.crypto.DSA
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.crypto.signers.DSASigner
  super_class: java.lang.Object
{
  org.bouncycastle.crypto.params.DSAKeyParameters key;
    descriptor: Lorg/bouncycastle/crypto/params/DSAKeyParameters;
    flags: (0x0000) 

  java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0000) 

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.signers.DSASigner this
         0: .line 18
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.crypto.signers.DSASigner this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/signers/DSASigner;

  public void init(boolean, org.bouncycastle.crypto.CipherParameters);
    descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.bouncycastle.crypto.signers.DSASigner this
        start local 1 // boolean forSigning
        start local 2 // org.bouncycastle.crypto.CipherParameters param
         0: .line 29
            iload 1 /* forSigning */
            ifeq 9
         1: .line 31
            aload 2 /* param */
            instanceof org.bouncycastle.crypto.params.ParametersWithRandom
            ifeq 6
         2: .line 33
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.ParametersWithRandom
            astore 3 /* rParam */
        start local 3 // org.bouncycastle.crypto.params.ParametersWithRandom rParam
         3: .line 35
            aload 0 /* this */
            aload 3 /* rParam */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getRandom:()Ljava/security/SecureRandom;
            putfield org.bouncycastle.crypto.signers.DSASigner.random:Ljava/security/SecureRandom;
         4: .line 36
            aload 0 /* this */
            aload 3 /* rParam */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
            checkcast org.bouncycastle.crypto.params.DSAPrivateKeyParameters
            putfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
        end local 3 // org.bouncycastle.crypto.params.ParametersWithRandom rParam
         5: .line 37
            goto 10
         6: .line 40
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield org.bouncycastle.crypto.signers.DSASigner.random:Ljava/security/SecureRandom;
         7: .line 41
            aload 0 /* this */
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.DSAPrivateKeyParameters
            putfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
         8: .line 43
            goto 10
         9: .line 46
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.DSAPublicKeyParameters
            putfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
        10: .line 48
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.bouncycastle.crypto.CipherParameters param
        end local 1 // boolean forSigning
        end local 0 // org.bouncycastle.crypto.signers.DSASigner this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   11     0        this  Lorg/bouncycastle/crypto/signers/DSASigner;
            0   11     1  forSigning  Z
            0   11     2       param  Lorg/bouncycastle/crypto/CipherParameters;
            3    5     3      rParam  Lorg/bouncycastle/crypto/params/ParametersWithRandom;
    MethodParameters:
            Name  Flags
      forSigning  
      param       

  public java.math.BigInteger[] generateSignature(byte[]);
    descriptor: ([B)[Ljava/math/BigInteger;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // org.bouncycastle.crypto.signers.DSASigner this
        start local 1 // byte[] message
         0: .line 60
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
            invokevirtual org.bouncycastle.crypto.params.DSAKeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/DSAParameters;
            astore 2 /* params */
        start local 2 // org.bouncycastle.crypto.params.DSAParameters params
         1: .line 61
            aload 0 /* this */
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            aload 1 /* message */
            invokevirtual org.bouncycastle.crypto.signers.DSASigner.calculateE:(Ljava/math/BigInteger;[B)Ljava/math/BigInteger;
            astore 3 /* m */
        start local 3 // java.math.BigInteger m
         2: .line 63
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.bitLength:()I
            istore 5 /* qBitLength */
        start local 5 // int qBitLength
         3: .line 67
      StackMap locals: org.bouncycastle.crypto.signers.DSASigner byte[] org.bouncycastle.crypto.params.DSAParameters java.math.BigInteger top int
      StackMap stack:
            new java.math.BigInteger
            dup
            iload 5 /* qBitLength */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.DSASigner.random:Ljava/security/SecureRandom;
            invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
            astore 4 /* k */
        start local 4 // java.math.BigInteger k
         4: .line 69
            aload 4 /* k */
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
         5: .line 65
            ifge 3
         6: .line 71
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getG:()Ljava/math/BigInteger;
            aload 4 /* k */
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 6 /* r */
        start local 6 // java.math.BigInteger r
         7: .line 73
            aload 4 /* k */
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
         8: .line 74
            aload 3 /* m */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
            checkcast org.bouncycastle.crypto.params.DSAPrivateKeyParameters
            invokevirtual org.bouncycastle.crypto.params.DSAPrivateKeyParameters.getX:()Ljava/math/BigInteger;
            aload 6 /* r */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
         9: .line 73
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 4 /* k */
        10: .line 76
            aload 4 /* k */
            aload 2 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 7 /* s */
        start local 7 // java.math.BigInteger s
        11: .line 78
            iconst_2
            anewarray java.math.BigInteger
            astore 8 /* res */
        start local 8 // java.math.BigInteger[] res
        12: .line 80
            aload 8 /* res */
            iconst_0
            aload 6 /* r */
            aastore
        13: .line 81
            aload 8 /* res */
            iconst_1
            aload 7 /* s */
            aastore
        14: .line 83
            aload 8 /* res */
            areturn
        end local 8 // java.math.BigInteger[] res
        end local 7 // java.math.BigInteger s
        end local 6 // java.math.BigInteger r
        end local 5 // int qBitLength
        end local 4 // java.math.BigInteger k
        end local 3 // java.math.BigInteger m
        end local 2 // org.bouncycastle.crypto.params.DSAParameters params
        end local 1 // byte[] message
        end local 0 // org.bouncycastle.crypto.signers.DSASigner this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   15     0        this  Lorg/bouncycastle/crypto/signers/DSASigner;
            0   15     1     message  [B
            1   15     2      params  Lorg/bouncycastle/crypto/params/DSAParameters;
            2   15     3           m  Ljava/math/BigInteger;
            4   15     4           k  Ljava/math/BigInteger;
            3   15     5  qBitLength  I
            7   15     6           r  Ljava/math/BigInteger;
           11   15     7           s  Ljava/math/BigInteger;
           12   15     8         res  [Ljava/math/BigInteger;
    MethodParameters:
         Name  Flags
      message  

  public boolean verifySignature(byte[], java.math.BigInteger, java.math.BigInteger);
    descriptor: ([BLjava/math/BigInteger;Ljava/math/BigInteger;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=11, args_size=4
        start local 0 // org.bouncycastle.crypto.signers.DSASigner this
        start local 1 // byte[] message
        start local 2 // java.math.BigInteger r
        start local 3 // java.math.BigInteger s
         0: .line 96
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
            invokevirtual org.bouncycastle.crypto.params.DSAKeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/DSAParameters;
            astore 4 /* params */
        start local 4 // org.bouncycastle.crypto.params.DSAParameters params
         1: .line 97
            aload 0 /* this */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            aload 1 /* message */
            invokevirtual org.bouncycastle.crypto.signers.DSASigner.calculateE:(Ljava/math/BigInteger;[B)Ljava/math/BigInteger;
            astore 5 /* m */
        start local 5 // java.math.BigInteger m
         2: .line 98
            lconst_0
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            astore 6 /* zero */
        start local 6 // java.math.BigInteger zero
         3: .line 100
            aload 6 /* zero */
            aload 2 /* r */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 4
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            aload 2 /* r */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifgt 5
         4: .line 102
      StackMap locals: org.bouncycastle.crypto.params.DSAParameters java.math.BigInteger java.math.BigInteger
      StackMap stack:
            iconst_0
            ireturn
         5: .line 105
      StackMap locals:
      StackMap stack:
            aload 6 /* zero */
            aload 3 /* s */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 6
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            aload 3 /* s */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifgt 7
         6: .line 107
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
         7: .line 110
      StackMap locals:
      StackMap stack:
            aload 3 /* s */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 7 /* w */
        start local 7 // java.math.BigInteger w
         8: .line 112
            aload 5 /* m */
            aload 7 /* w */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 8 /* u1 */
        start local 8 // java.math.BigInteger u1
         9: .line 113
            aload 2 /* r */
            aload 7 /* w */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 9 /* u2 */
        start local 9 // java.math.BigInteger u2
        10: .line 115
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getG:()Ljava/math/BigInteger;
            aload 8 /* u1 */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 8 /* u1 */
        11: .line 116
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.DSASigner.key:Lorg/bouncycastle/crypto/params/DSAKeyParameters;
            checkcast org.bouncycastle.crypto.params.DSAPublicKeyParameters
            invokevirtual org.bouncycastle.crypto.params.DSAPublicKeyParameters.getY:()Ljava/math/BigInteger;
            aload 9 /* u2 */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 9 /* u2 */
        12: .line 118
            aload 8 /* u1 */
            aload 9 /* u2 */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 10 /* v */
        start local 10 // java.math.BigInteger v
        13: .line 120
            aload 10 /* v */
            aload 2 /* r */
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 10 // java.math.BigInteger v
        end local 9 // java.math.BigInteger u2
        end local 8 // java.math.BigInteger u1
        end local 7 // java.math.BigInteger w
        end local 6 // java.math.BigInteger zero
        end local 5 // java.math.BigInteger m
        end local 4 // org.bouncycastle.crypto.params.DSAParameters params
        end local 3 // java.math.BigInteger s
        end local 2 // java.math.BigInteger r
        end local 1 // byte[] message
        end local 0 // org.bouncycastle.crypto.signers.DSASigner this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lorg/bouncycastle/crypto/signers/DSASigner;
            0   14     1  message  [B
            0   14     2        r  Ljava/math/BigInteger;
            0   14     3        s  Ljava/math/BigInteger;
            1   14     4   params  Lorg/bouncycastle/crypto/params/DSAParameters;
            2   14     5        m  Ljava/math/BigInteger;
            3   14     6     zero  Ljava/math/BigInteger;
            8   14     7        w  Ljava/math/BigInteger;
            9   14     8       u1  Ljava/math/BigInteger;
           10   14     9       u2  Ljava/math/BigInteger;
           13   14    10        v  Ljava/math/BigInteger;
    MethodParameters:
         Name  Flags
      message  
      r        
      s        

  private java.math.BigInteger calculateE(java.math.BigInteger, byte[]);
    descriptor: (Ljava/math/BigInteger;[B)Ljava/math/BigInteger;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // org.bouncycastle.crypto.signers.DSASigner this
        start local 1 // java.math.BigInteger n
        start local 2 // byte[] message
         0: .line 125
            aload 1 /* n */
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 2 /* message */
            arraylength
            bipush 8
            imul
            if_icmplt 2
         1: .line 127
            new java.math.BigInteger
            dup
            iconst_1
            aload 2 /* message */
            invokespecial java.math.BigInteger.<init>:(I[B)V
            areturn
         2: .line 131
      StackMap locals:
      StackMap stack:
            aload 1 /* n */
            invokevirtual java.math.BigInteger.bitLength:()I
            bipush 8
            idiv
            newarray 8
            astore 3 /* trunc */
        start local 3 // byte[] trunc
         3: .line 133
            aload 2 /* message */
            iconst_0
            aload 3 /* trunc */
            iconst_0
            aload 3 /* trunc */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 135
            new java.math.BigInteger
            dup
            iconst_1
            aload 3 /* trunc */
            invokespecial java.math.BigInteger.<init>:(I[B)V
            areturn
        end local 3 // byte[] trunc
        end local 2 // byte[] message
        end local 1 // java.math.BigInteger n
        end local 0 // org.bouncycastle.crypto.signers.DSASigner this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/bouncycastle/crypto/signers/DSASigner;
            0    5     1        n  Ljava/math/BigInteger;
            0    5     2  message  [B
            3    5     3    trunc  [B
    MethodParameters:
         Name  Flags
      n        
      message  
}
SourceFile: "DSASigner.java"