public class org.bouncycastle.crypto.signers.GOST3410Signer implements org.bouncycastle.crypto.DSA
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.crypto.signers.GOST3410Signer
  super_class: java.lang.Object
{
  org.bouncycastle.crypto.params.GOST3410KeyParameters key;
    descriptor: Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
    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.GOST3410Signer this
         0: .line 13
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.crypto.signers.GOST3410Signer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/signers/GOST3410Signer;

  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.GOST3410Signer this
        start local 1 // boolean forSigning
        start local 2 // org.bouncycastle.crypto.CipherParameters param
         0: .line 24
            iload 1 /* forSigning */
            ifeq 9
         1: .line 26
            aload 2 /* param */
            instanceof org.bouncycastle.crypto.params.ParametersWithRandom
            ifeq 6
         2: .line 28
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.ParametersWithRandom
            astore 3 /* rParam */
        start local 3 // org.bouncycastle.crypto.params.ParametersWithRandom rParam
         3: .line 30
            aload 0 /* this */
            aload 3 /* rParam */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getRandom:()Ljava/security/SecureRandom;
            putfield org.bouncycastle.crypto.signers.GOST3410Signer.random:Ljava/security/SecureRandom;
         4: .line 31
            aload 0 /* this */
            aload 3 /* rParam */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
            checkcast org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
            putfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
        end local 3 // org.bouncycastle.crypto.params.ParametersWithRandom rParam
         5: .line 32
            goto 10
         6: .line 35
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield org.bouncycastle.crypto.signers.GOST3410Signer.random:Ljava/security/SecureRandom;
         7: .line 36
            aload 0 /* this */
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
            putfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
         8: .line 38
            goto 10
         9: .line 41
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* param */
            checkcast org.bouncycastle.crypto.params.GOST3410PublicKeyParameters
            putfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
        10: .line 43
      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.GOST3410Signer this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   11     0        this  Lorg/bouncycastle/crypto/signers/GOST3410Signer;
            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=5, locals=9, args_size=2
        start local 0 // org.bouncycastle.crypto.signers.GOST3410Signer this
        start local 1 // byte[] message
         0: .line 55
            aload 1 /* message */
            arraylength
            newarray 8
            astore 2 /* mRev */
        start local 2 // byte[] mRev
         1: .line 56
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 5
         3: .line 58
      StackMap locals: byte[] int
      StackMap stack:
            aload 2 /* mRev */
            iload 3 /* i */
            aload 1 /* message */
            aload 2 /* mRev */
            arraylength
            iconst_1
            isub
            iload 3 /* i */
            isub
            baload
            bastore
         4: .line 56
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 3 /* i */
            aload 2 /* mRev */
            arraylength
            if_icmpne 3
        end local 3 // int i
         6: .line 61
            new java.math.BigInteger
            dup
            iconst_1
            aload 2 /* mRev */
            invokespecial java.math.BigInteger.<init>:(I[B)V
            astore 3 /* m */
        start local 3 // java.math.BigInteger m
         7: .line 62
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
            invokevirtual org.bouncycastle.crypto.params.GOST3410KeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/GOST3410Parameters;
            astore 4 /* params */
        start local 4 // org.bouncycastle.crypto.params.GOST3410Parameters params
         8: .line 67
      StackMap locals: org.bouncycastle.crypto.signers.GOST3410Signer byte[] byte[] java.math.BigInteger org.bouncycastle.crypto.params.GOST3410Parameters
      StackMap stack:
            new java.math.BigInteger
            dup
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.GOST3410Signer.random:Ljava/security/SecureRandom;
            invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
            astore 5 /* k */
        start local 5 // java.math.BigInteger k
         9: .line 69
            aload 5 /* k */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
        10: .line 65
            ifge 8
        11: .line 71
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getA:()Ljava/math/BigInteger;
            aload 5 /* k */
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.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
        12: .line 73
            aload 5 /* k */
            aload 3 /* m */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
        13: .line 74
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
            checkcast org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
            invokevirtual org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters.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;
        14: .line 75
            aload 4 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
        15: .line 73
            astore 7 /* s */
        start local 7 // java.math.BigInteger s
        16: .line 77
            iconst_2
            anewarray java.math.BigInteger
            astore 8 /* res */
        start local 8 // java.math.BigInteger[] res
        17: .line 79
            aload 8 /* res */
            iconst_0
            aload 6 /* r */
            aastore
        18: .line 80
            aload 8 /* res */
            iconst_1
            aload 7 /* s */
            aastore
        19: .line 82
            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 // java.math.BigInteger k
        end local 4 // org.bouncycastle.crypto.params.GOST3410Parameters params
        end local 3 // java.math.BigInteger m
        end local 2 // byte[] mRev
        end local 1 // byte[] message
        end local 0 // org.bouncycastle.crypto.signers.GOST3410Signer this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   20     0     this  Lorg/bouncycastle/crypto/signers/GOST3410Signer;
            0   20     1  message  [B
            1   20     2     mRev  [B
            2    6     3        i  I
            7   20     3        m  Ljava/math/BigInteger;
            8   20     4   params  Lorg/bouncycastle/crypto/params/GOST3410Parameters;
            9   20     5        k  Ljava/math/BigInteger;
           12   20     6        r  Ljava/math/BigInteger;
           16   20     7        s  Ljava/math/BigInteger;
           17   20     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=5, locals=12, args_size=4
        start local 0 // org.bouncycastle.crypto.signers.GOST3410Signer this
        start local 1 // byte[] message
        start local 2 // java.math.BigInteger r
        start local 3 // java.math.BigInteger s
         0: .line 95
            aload 1 /* message */
            arraylength
            newarray 8
            astore 4 /* mRev */
        start local 4 // byte[] mRev
         1: .line 96
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         2: goto 5
         3: .line 98
      StackMap locals: byte[] int
      StackMap stack:
            aload 4 /* mRev */
            iload 5 /* i */
            aload 1 /* message */
            aload 4 /* mRev */
            arraylength
            iconst_1
            isub
            iload 5 /* i */
            isub
            baload
            bastore
         4: .line 96
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 5 /* i */
            aload 4 /* mRev */
            arraylength
            if_icmpne 3
        end local 5 // int i
         6: .line 101
            new java.math.BigInteger
            dup
            iconst_1
            aload 4 /* mRev */
            invokespecial java.math.BigInteger.<init>:(I[B)V
            astore 5 /* m */
        start local 5 // java.math.BigInteger m
         7: .line 102
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
            invokevirtual org.bouncycastle.crypto.params.GOST3410KeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/GOST3410Parameters;
            astore 6 /* params */
        start local 6 // org.bouncycastle.crypto.params.GOST3410Parameters params
         8: .line 103
            lconst_0
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            astore 7 /* zero */
        start local 7 // java.math.BigInteger zero
         9: .line 105
            aload 7 /* zero */
            aload 2 /* r */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 10
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            aload 2 /* r */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifgt 11
        10: .line 107
      StackMap locals: org.bouncycastle.crypto.signers.GOST3410Signer byte[] java.math.BigInteger java.math.BigInteger byte[] java.math.BigInteger org.bouncycastle.crypto.params.GOST3410Parameters java.math.BigInteger
      StackMap stack:
            iconst_0
            ireturn
        11: .line 110
      StackMap locals:
      StackMap stack:
            aload 7 /* zero */
            aload 3 /* s */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 12
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            aload 3 /* s */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifgt 13
        12: .line 112
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        13: .line 115
      StackMap locals:
      StackMap stack:
            aload 5 /* m */
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            new java.math.BigInteger
            dup
            ldc "2"
            invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 8 /* v */
        start local 8 // java.math.BigInteger v
        14: .line 117
            aload 3 /* s */
            aload 8 /* v */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 9 /* z1 */
        start local 9 // java.math.BigInteger z1
        15: .line 118
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            aload 2 /* r */
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 8 /* v */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 10 /* z2 */
        start local 10 // java.math.BigInteger z2
        16: .line 120
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getA:()Ljava/math/BigInteger;
            aload 9 /* z1 */
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 9 /* z1 */
        17: .line 121
            aload 0 /* this */
            getfield org.bouncycastle.crypto.signers.GOST3410Signer.key:Lorg/bouncycastle/crypto/params/GOST3410KeyParameters;
            checkcast org.bouncycastle.crypto.params.GOST3410PublicKeyParameters
            invokevirtual org.bouncycastle.crypto.params.GOST3410PublicKeyParameters.getY:()Ljava/math/BigInteger;
            aload 10 /* z2 */
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 10 /* z2 */
        18: .line 123
            aload 9 /* z1 */
            aload 10 /* z2 */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getP:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 6 /* params */
            invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 11 /* u */
        start local 11 // java.math.BigInteger u
        19: .line 125
            aload 11 /* u */
            aload 2 /* r */
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 11 // java.math.BigInteger u
        end local 10 // java.math.BigInteger z2
        end local 9 // java.math.BigInteger z1
        end local 8 // java.math.BigInteger v
        end local 7 // java.math.BigInteger zero
        end local 6 // org.bouncycastle.crypto.params.GOST3410Parameters params
        end local 5 // java.math.BigInteger m
        end local 4 // byte[] mRev
        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.GOST3410Signer this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   20     0     this  Lorg/bouncycastle/crypto/signers/GOST3410Signer;
            0   20     1  message  [B
            0   20     2        r  Ljava/math/BigInteger;
            0   20     3        s  Ljava/math/BigInteger;
            1   20     4     mRev  [B
            2    6     5        i  I
            7   20     5        m  Ljava/math/BigInteger;
            8   20     6   params  Lorg/bouncycastle/crypto/params/GOST3410Parameters;
            9   20     7     zero  Ljava/math/BigInteger;
           14   20     8        v  Ljava/math/BigInteger;
           15   20     9       z1  Ljava/math/BigInteger;
           16   20    10       z2  Ljava/math/BigInteger;
           19   20    11        u  Ljava/math/BigInteger;
    MethodParameters:
         Name  Flags
      message  
      r        
      s        
}
SourceFile: "GOST3410Signer.java"