abstract class sun.security.provider.DSA extends java.security.SignatureSpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.provider.DSA
super_class: java.security.SignatureSpi
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int BLINDING_BITS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final java.math.BigInteger BLINDING_CONSTANT;
descriptor: Ljava/math/BigInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.security.interfaces.DSAParams params;
descriptor: Ljava/security/interfaces/DSAParams;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger presetP;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger presetQ;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger presetG;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger presetY;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger presetX;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom signingRandom;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private final java.security.MessageDigest md;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 128
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
1: putstatic sun.security.provider.DSA.BLINDING_CONSTANT:Ljava/math/BigInteger;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.security.SignatureSpi.<init>:()V
1: aload 0
aload 1
putfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/DSA;
0 3 1 md Ljava/security/MessageDigest;
MethodParameters:
Name Flags
md
private static void checkKey(java.security.interfaces.DSAParams, int, java.lang.String);
descriptor: (Ljava/security/interfaces/DSAParams;ILjava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface java.security.interfaces.DSAParams.getQ:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.bitLength:()I
istore 3
start local 3 1: iload 3
iload 1
if_icmple 5
2: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "The security strength of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " digest algorithm is not sufficient for this key size"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 params Ljava/security/interfaces/DSAParams;
0 6 1 digestLen I
0 6 2 mdAlgo Ljava/lang/String;
1 6 3 valueN I
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
params
digestLen
mdAlgo
protected void engineInitSign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.DSAPrivateKey
ifne 4
1: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "not a DSA private key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.interfaces.DSAPrivateKey
5: astore 2
start local 2 6: aload 2
invokeinterface java.security.interfaces.DSAPrivateKey.getParams:()Ljava/security/interfaces/DSAParams;
astore 3
start local 3 7: aload 3
ifnonnull 9
8: new java.security.InvalidKeyException
dup
ldc "DSA private key lacks parameters"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.security.interfaces.DSAPrivateKey java.security.interfaces.DSAParams
StackMap stack:
aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
ldc "NullDigest20"
if_acmpeq 11
10: aload 3
aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getDigestLength:()I
bipush 8
imul
aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.provider.DSA.checkKey:(Ljava/security/interfaces/DSAParams;ILjava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.security.provider.DSA.params:Ljava/security/interfaces/DSAParams;
12: aload 0
aload 2
invokeinterface java.security.interfaces.DSAPrivateKey.getX:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetX:Ljava/math/BigInteger;
13: aload 0
aconst_null
putfield sun.security.provider.DSA.presetY:Ljava/math/BigInteger;
14: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getP:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
15: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getQ:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
16: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getG:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
17: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/provider/DSA;
0 19 1 privateKey Ljava/security/PrivateKey;
6 19 2 priv Ljava/security/interfaces/DSAPrivateKey;
7 19 3 params Ljava/security/interfaces/DSAParams;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
protected void engineInitVerify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.DSAPublicKey
ifne 4
1: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "not a DSA public key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.interfaces.DSAPublicKey
5: astore 2
start local 2 6: aload 2
invokeinterface java.security.interfaces.DSAPublicKey.getParams:()Ljava/security/interfaces/DSAParams;
astore 3
start local 3 7: aload 3
ifnonnull 9
8: new java.security.InvalidKeyException
dup
ldc "DSA public key lacks parameters"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.security.interfaces.DSAPublicKey java.security.interfaces.DSAParams
StackMap stack:
aload 0
aload 3
putfield sun.security.provider.DSA.params:Ljava/security/interfaces/DSAParams;
10: aload 0
aload 2
invokeinterface java.security.interfaces.DSAPublicKey.getY:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetY:Ljava/math/BigInteger;
11: aload 0
aconst_null
putfield sun.security.provider.DSA.presetX:Ljava/math/BigInteger;
12: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getP:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
13: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getQ:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
14: aload 0
aload 3
invokeinterface java.security.interfaces.DSAParams.getG:()Ljava/math/BigInteger;
putfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
15: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/provider/DSA;
0 17 1 publicKey Ljava/security/PublicKey;
6 17 2 pub Ljava/security/interfaces/DSAPublicKey;
7 17 3 params Ljava/security/interfaces/DSAParams;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
publicKey
protected void engineUpdate(byte);
descriptor: (B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/DSA;
0 2 1 b B
MethodParameters:
Name Flags
b
protected void engineUpdate(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/DSA;
0 2 1 data [B
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
data
off
len
protected void engineUpdate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/DSA;
0 2 1 b Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
b
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
invokevirtual sun.security.provider.DSA.generateK:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 1
start local 1 1: aload 0
aload 0
getfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
aload 1
invokevirtual sun.security.provider.DSA.generateR:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 2
start local 2 2: aload 0
aload 0
getfield sun.security.provider.DSA.presetX:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
aload 2
aload 1
invokevirtual sun.security.provider.DSA.generateS:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 3
start local 3 3: new sun.security.util.DerOutputStream
dup
bipush 100
invokespecial sun.security.util.DerOutputStream.<init>:(I)V
astore 4
start local 4 4: aload 4
aload 2
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
5: aload 4
aload 3
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
6: new sun.security.util.DerValue
dup
bipush 48
7: aload 4
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
8: invokespecial sun.security.util.DerValue.<init>:(B[B)V
astore 5
start local 5 9: aload 5
invokevirtual sun.security.util.DerValue.toByteArray:()[B
10: areturn
end local 5 end local 4 11: StackMap locals: sun.security.provider.DSA java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
pop
12: new java.security.SignatureException
dup
ldc "error encoding signature"
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/provider/DSA;
1 13 1 k Ljava/math/BigInteger;
2 13 2 r Ljava/math/BigInteger;
3 13 3 s Ljava/math/BigInteger;
4 11 4 outseq Lsun/security/util/DerOutputStream;
9 11 5 result Lsun/security/util/DerValue;
Exception table:
from to target type
3 10 11 Class java.io.IOException
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.provider.DSA.engineVerify:([BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSA;
0 1 1 signature [B
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
signature
protected boolean engineVerify(byte[], int, int);
descriptor: ([BII)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: new sun.security.util.DerInputStream
dup
aload 1
iload 2
iload 3
iconst_0
invokespecial sun.security.util.DerInputStream.<init>:([BIIZ)V
3: astore 6
start local 6 4: aload 6
iconst_2
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 7
start local 7 5: aload 7
arraylength
iconst_2
if_icmpne 6
aload 6
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 7
6: StackMap locals: sun.security.provider.DSA byte[] int int java.math.BigInteger java.math.BigInteger sun.security.util.DerInputStream sun.security.util.DerValue[]
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding for signature"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 7
iconst_0
aaload
invokevirtual sun.security.util.DerValue.getBigInteger:()Ljava/math/BigInteger;
astore 4
8: aload 7
iconst_1
aaload
invokevirtual sun.security.util.DerValue.getBigInteger:()Ljava/math/BigInteger;
astore 5
end local 7 end local 6 9: goto 12
StackMap locals: sun.security.provider.DSA byte[] int int java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
10: astore 6
start local 6 11: new java.security.SignatureException
dup
ldc "Invalid encoding for signature"
aload 6
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 12: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.math.BigInteger.signum:()I
ifge 14
13: new java.math.BigInteger
dup
iconst_1
aload 4
invokevirtual java.math.BigInteger.toByteArray:()[B
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 4
14: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.math.BigInteger.signum:()I
ifge 16
15: new java.math.BigInteger
dup
iconst_1
aload 5
invokevirtual java.math.BigInteger.toByteArray:()[B
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 5
16: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
iconst_m1
if_icmpne 20
aload 5
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
iconst_m1
if_icmpne 20
17: aload 0
aload 0
getfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
aload 5
invokevirtual sun.security.provider.DSA.generateW:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 6
start local 6 18: aload 0
aload 0
getfield sun.security.provider.DSA.presetY:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
aload 0
getfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
aload 6
aload 4
invokevirtual sun.security.provider.DSA.generateV:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 7
start local 7 19: aload 7
aload 4
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ireturn
end local 7 end local 6 20: StackMap locals:
StackMap stack:
new java.security.SignatureException
dup
ldc "invalid signature: out of range values"
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/provider/DSA;
0 21 1 signature [B
0 21 2 offset I
0 21 3 length I
1 21 4 r Ljava/math/BigInteger;
2 21 5 s Ljava/math/BigInteger;
4 9 6 in Lsun/security/util/DerInputStream;
5 9 7 values [Lsun/security/util/DerValue;
11 12 6 e Ljava/io/IOException;
18 20 6 w Ljava/math/BigInteger;
19 20 7 v Ljava/math/BigInteger;
Exception table:
from to target type
2 9 10 Class java.io.IOException
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
signature
offset
length
protected void engineSetParameter(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.security.InvalidParameterException
dup
ldc "No parameter accepted"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSA;
0 1 1 key Ljava/lang/String;
0 1 2 param Ljava/lang/Object;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
key
param
protected java.lang.Object engineGetParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSA;
0 1 1 key Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
key
private java.math.BigInteger generateR(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual sun.security.provider.DSA.getSigningRandom:()Ljava/security/SecureRandom;
astore 5
start local 5 1: new java.math.BigInteger
dup
bipush 7
aload 5
invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
astore 6
start local 6 2: aload 6
getstatic sun.security.provider.DSA.BLINDING_CONSTANT:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 6
3: aload 4
aload 2
aload 6
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 4
4: aload 3
aload 4
aload 1
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 7
start local 7 5: aload 7
aload 2
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/provider/DSA;
0 6 1 p Ljava/math/BigInteger;
0 6 2 q Ljava/math/BigInteger;
0 6 3 g Ljava/math/BigInteger;
0 6 4 k Ljava/math/BigInteger;
1 6 5 random Ljava/security/SecureRandom;
2 6 6 blindingValue Ljava/math/BigInteger;
5 6 7 temp Ljava/math/BigInteger;
MethodParameters:
Name Flags
p
q
g
k
private java.math.BigInteger generateS(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
astore 5
start local 5 1: goto 4
end local 5 StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 6
start local 6 3: new java.security.SignatureException
dup
aload 6
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 6 start local 5 4: StackMap locals: byte[]
StackMap stack:
aload 2
invokevirtual java.math.BigInteger.bitLength:()I
bipush 8
idiv
istore 6
start local 6 5: iload 6
aload 5
arraylength
if_icmpge 7
6: aload 5
iconst_0
iload 6
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 5
7: StackMap locals: int
StackMap stack:
new java.math.BigInteger
dup
iconst_1
aload 5
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 7
start local 7 8: aload 4
aload 2
invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 8
start local 8 9: aload 1
aload 3
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 7
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 8
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 2
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/provider/DSA;
0 10 1 x Ljava/math/BigInteger;
0 10 2 q Ljava/math/BigInteger;
0 10 3 r Ljava/math/BigInteger;
0 10 4 k Ljava/math/BigInteger;
1 2 5 s2 [B
4 10 5 s2 [B
3 4 6 re Ljava/lang/RuntimeException;
5 10 6 nBytes I
8 10 7 z Ljava/math/BigInteger;
9 10 8 k1 Ljava/math/BigInteger;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
x
q
r
k
private java.math.BigInteger generateW(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 2
invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSA;
0 1 1 p Ljava/math/BigInteger;
0 1 2 q Ljava/math/BigInteger;
0 1 3 g Ljava/math/BigInteger;
0 1 4 s Ljava/math/BigInteger;
MethodParameters:
Name Flags
p
q
g
s
private java.math.BigInteger generateV(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=16, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield sun.security.provider.DSA.md:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
astore 7
start local 7 1: goto 4
end local 7 StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 8
start local 8 3: new java.security.SignatureException
dup
aload 8
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 8 start local 7 4: StackMap locals: byte[]
StackMap stack:
aload 3
invokevirtual java.math.BigInteger.bitLength:()I
bipush 8
idiv
istore 8
start local 8 5: iload 8
aload 7
arraylength
if_icmpge 7
6: aload 7
iconst_0
iload 8
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 7
7: StackMap locals: int
StackMap stack:
new java.math.BigInteger
dup
iconst_1
aload 7
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 9
start local 9 8: aload 9
aload 5
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 3
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 10
start local 10 9: aload 6
aload 5
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
aload 3
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 11
start local 11 10: aload 4
aload 10
aload 2
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 12
start local 12 11: aload 1
aload 11
aload 2
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 13
start local 13 12: aload 12
aload 13
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 14
start local 14 13: aload 14
aload 2
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 15
start local 15 14: aload 15
aload 3
invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/provider/DSA;
0 15 1 y Ljava/math/BigInteger;
0 15 2 p Ljava/math/BigInteger;
0 15 3 q Ljava/math/BigInteger;
0 15 4 g Ljava/math/BigInteger;
0 15 5 w Ljava/math/BigInteger;
0 15 6 r Ljava/math/BigInteger;
1 2 7 s2 [B
4 15 7 s2 [B
3 4 8 re Ljava/lang/RuntimeException;
5 15 8 nBytes I
8 15 9 z Ljava/math/BigInteger;
9 15 10 u1 Ljava/math/BigInteger;
10 15 11 u2 Ljava/math/BigInteger;
11 15 12 t1 Ljava/math/BigInteger;
12 15 13 t2 Ljava/math/BigInteger;
13 15 14 t3 Ljava/math/BigInteger;
14 15 15 t5 Ljava/math/BigInteger;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
y
p
q
g
w
r
protected java.math.BigInteger generateK(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)Ljava/math/BigInteger;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.provider.DSA.getSigningRandom:()Ljava/security/SecureRandom;
astore 2
start local 2 1: aload 1
invokevirtual java.math.BigInteger.bitLength:()I
bipush 7
iadd
bipush 8
idiv
bipush 8
iadd
newarray 8
astore 3
start local 3 2: aload 2
aload 3
invokevirtual java.security.SecureRandom.nextBytes:([B)V
3: new java.math.BigInteger
dup
iconst_1
aload 3
invokespecial java.math.BigInteger.<init>:(I[B)V
4: aload 1
getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
5: invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
6: getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
7: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/DSA;
0 8 1 q Ljava/math/BigInteger;
1 8 2 random Ljava/security/SecureRandom;
2 8 3 kValue [B
MethodParameters:
Name Flags
q
protected java.security.SecureRandom getSigningRandom();
descriptor: ()Ljava/security/SecureRandom;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.DSA.signingRandom:Ljava/security/SecureRandom;
ifnonnull 5
1: aload 0
getfield sun.security.provider.DSA.appRandom:Ljava/security/SecureRandom;
ifnull 4
2: aload 0
aload 0
getfield sun.security.provider.DSA.appRandom:Ljava/security/SecureRandom;
putfield sun.security.provider.DSA.signingRandom:Ljava/security/SecureRandom;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.jca.JCAUtil.getSecureRandom:()Ljava/security/SecureRandom;
putfield sun.security.provider.DSA.signingRandom:Ljava/security/SecureRandom;
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSA.signingRandom:Ljava/security/SecureRandom;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/provider/DSA;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc "DSA Signature"
astore 1
start local 1 1: aload 0
getfield sun.security.provider.DSA.presetP:Ljava/math/BigInteger;
ifnull 6
aload 0
getfield sun.security.provider.DSA.presetQ:Ljava/math/BigInteger;
ifnull 6
aload 0
getfield sun.security.provider.DSA.presetG:Ljava/math/BigInteger;
ifnull 6
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 "\n\tp: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.DSA.presetP: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;
astore 1
3: 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 "\n\tq: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.DSA.presetQ: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;
astore 1
4: 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 "\n\tg: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.DSA.presetG: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;
astore 1
5: goto 7
6: StackMap locals: java.lang.String
StackMap stack:
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 "\n\t P, Q or G not initialized."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSA.presetY:Ljava/math/BigInteger;
ifnull 9
8: 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 "\n\ty: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.DSA.presetY: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;
astore 1
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSA.presetY:Ljava/math/BigInteger;
ifnonnull 11
aload 0
getfield sun.security.provider.DSA.presetX:Ljava/math/BigInteger;
ifnonnull 11
10: 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 "\n\tUNINIIALIZED"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/provider/DSA;
1 12 1 printable Ljava/lang/String;
private static void debug(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/lang/Exception;
MethodParameters:
Name Flags
e
private static void debug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "DSA.java"
NestMembers:
sun.security.provider.DSA$RawDSA sun.security.provider.DSA$RawDSA$NullDigest20 sun.security.provider.DSA$SHA1withDSA sun.security.provider.DSA$SHA224withDSA sun.security.provider.DSA$SHA256withDSA
InnerClasses:
public final RawDSA = sun.security.provider.DSA$RawDSA of sun.security.provider.DSA
public final SHA1withDSA = sun.security.provider.DSA$SHA1withDSA of sun.security.provider.DSA
public final SHA224withDSA = sun.security.provider.DSA$SHA224withDSA of sun.security.provider.DSA
public final SHA256withDSA = sun.security.provider.DSA$SHA256withDSA of sun.security.provider.DSA