public class com.jcraft.jsch.jce.SignatureDSA implements com.jcraft.jsch.SignatureDSA
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.jcraft.jsch.jce.SignatureDSA
super_class: java.lang.Object
{
java.security.Signature signature;
descriptor: Ljava/security/Signature;
flags: (0x0000)
java.security.KeyFactory keyFactory;
descriptor: Ljava/security/KeyFactory;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "SHA1withDSA"
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
putfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
1: aload 0
ldc "DSA"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
putfield com.jcraft.jsch.jce.SignatureDSA.keyFactory:Ljava/security/KeyFactory;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
Exceptions:
throws java.lang.Exception
public void setPubKey(byte[], byte[], byte[], byte[]);
descriptor: ([B[B[B[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.security.spec.DSAPublicKeySpec
dup
new java.math.BigInteger
dup
aload 1
invokespecial java.math.BigInteger.<init>:([B)V
1: new java.math.BigInteger
dup
aload 2
invokespecial java.math.BigInteger.<init>:([B)V
2: new java.math.BigInteger
dup
aload 3
invokespecial java.math.BigInteger.<init>:([B)V
3: new java.math.BigInteger
dup
aload 4
invokespecial java.math.BigInteger.<init>:([B)V
4: invokespecial java.security.spec.DSAPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
5: astore 5
start local 5 6: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.keyFactory:Ljava/security/KeyFactory;
aload 5
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
astore 6
start local 6 7: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
aload 6
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
8: return
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 9 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
0 9 1 y [B
0 9 2 p [B
0 9 3 q [B
0 9 4 g [B
6 9 5 dsaPubKeySpec Ljava/security/spec/DSAPublicKeySpec;
7 9 6 pubKey Ljava/security/PublicKey;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
y
p
q
g
public void setPrvKey(byte[], byte[], byte[], byte[]);
descriptor: ([B[B[B[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.security.spec.DSAPrivateKeySpec
dup
new java.math.BigInteger
dup
aload 1
invokespecial java.math.BigInteger.<init>:([B)V
1: new java.math.BigInteger
dup
aload 2
invokespecial java.math.BigInteger.<init>:([B)V
2: new java.math.BigInteger
dup
aload 3
invokespecial java.math.BigInteger.<init>:([B)V
3: new java.math.BigInteger
dup
aload 4
invokespecial java.math.BigInteger.<init>:([B)V
4: invokespecial java.security.spec.DSAPrivateKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
5: astore 5
start local 5 6: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.keyFactory:Ljava/security/KeyFactory;
aload 5
invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
astore 6
start local 6 7: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
aload 6
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
8: return
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 9 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
0 9 1 x [B
0 9 2 p [B
0 9 3 q [B
0 9 4 g [B
6 9 5 dsaPrivKeySpec Ljava/security/spec/DSAPrivateKeySpec;
7 9 6 prvKey Ljava/security/PrivateKey;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
x
p
q
g
public byte[] sign();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
invokevirtual java.security.Signature.sign:()[B
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_3
istore 3
start local 3 3: aload 1
iload 3
iinc 3 1
baload
sipush 255
iand
istore 2
4: iload 2
newarray 8
astore 4
start local 4 5: aload 1
iload 3
aload 4
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: iload 3
iload 2
iadd
iconst_1
iadd
istore 3
7: aload 1
iload 3
iinc 3 1
baload
sipush 255
iand
istore 2
8: iload 2
newarray 8
astore 5
start local 5 9: aload 1
iload 3
aload 5
iconst_0
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: bipush 40
newarray 8
astore 6
start local 6 11: aload 4
aload 4
arraylength
bipush 20
if_icmple 12
iconst_1
goto 13
StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[]
12: iconst_0
13: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int
aload 6
aload 4
arraylength
bipush 20
if_icmple 14
iconst_0
goto 15
StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[]
14: bipush 20
aload 4
arraylength
isub
15: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int
aload 4
arraylength
bipush 20
if_icmple 16
bipush 20
goto 17
StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int
16: aload 4
arraylength
17: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int int
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 5
aload 5
arraylength
bipush 20
if_icmple 19
iconst_1
goto 20
StackMap locals:
StackMap stack: byte[]
19: iconst_0
20: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int
aload 6
aload 5
arraylength
bipush 20
if_icmple 21
bipush 20
goto 22
StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[]
21: bipush 40
aload 5
arraylength
isub
22: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int
aload 5
arraylength
bipush 20
if_icmple 23
bipush 20
goto 24
StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int
23: aload 5
arraylength
24: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int byte[] byte[] byte[]
StackMap stack: byte[] int byte[] int int
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: aload 6
areturn
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 26 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
1 26 1 sig [B
2 26 2 len I
3 26 3 index I
5 26 4 r [B
9 26 5 s [B
11 26 6 result [B
Exceptions:
throws java.lang.Exception
public void update(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.update:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
0 2 1 foo [B
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
foo
public boolean verify(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: new com.jcraft.jsch.Buffer
dup
aload 1
invokespecial com.jcraft.jsch.Buffer.<init>:([B)V
astore 5
start local 5 3: new java.lang.String
dup
aload 5
invokevirtual com.jcraft.jsch.Buffer.getString:()[B
invokespecial java.lang.String.<init>:([B)V
ldc "ssh-dss"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
4: aload 5
invokevirtual com.jcraft.jsch.Buffer.getInt:()I
istore 3
5: aload 5
invokevirtual com.jcraft.jsch.Buffer.getOffSet:()I
istore 2
6: iload 3
newarray 8
astore 4
start local 4 7: aload 1
iload 2
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 4
astore 1
end local 4 8: StackMap locals: com.jcraft.jsch.jce.SignatureDSA byte[] int int top com.jcraft.jsch.Buffer
StackMap stack:
bipush 20
newarray 8
astore 6
start local 6 9: aload 1
iconst_0
aload 6
iconst_0
bipush 20
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
aload 6
invokevirtual com.jcraft.jsch.jce.SignatureDSA.normalize:([B)[B
astore 6
11: bipush 20
newarray 8
astore 7
start local 7 12: aload 1
bipush 20
aload 7
iconst_0
bipush 20
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 0
aload 7
invokevirtual com.jcraft.jsch.jce.SignatureDSA.normalize:([B)[B
astore 7
14: aload 6
iconst_0
baload
sipush 128
iand
ifeq 15
iconst_1
goto 16
StackMap locals: byte[] byte[]
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 8
start local 8 17: aload 7
iconst_0
baload
sipush 128
iand
ifeq 18
iconst_1
goto 19
StackMap locals: int
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 9
start local 9 20: aload 6
arraylength
aload 7
arraylength
iadd
bipush 6
iadd
iload 8
iadd
iload 9
iadd
istore 10
start local 10 21: iload 10
newarray 8
astore 4
start local 4 22: aload 4
iconst_0
bipush 48
bastore
aload 4
iconst_1
aload 6
arraylength
aload 7
arraylength
iadd
iconst_4
iadd
i2b
bastore
23: aload 4
iconst_1
dup2
baload
iload 8
iadd
i2b
bastore
aload 4
iconst_1
dup2
baload
iload 9
iadd
i2b
bastore
24: aload 4
iconst_2
iconst_2
bastore
aload 4
iconst_3
aload 6
arraylength
i2b
bastore
25: aload 4
iconst_3
dup2
baload
iload 8
iadd
i2b
bastore
26: aload 6
iconst_0
aload 4
iconst_4
iload 8
iadd
aload 6
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
27: aload 4
iconst_4
aload 4
iconst_3
baload
iadd
iconst_2
bastore
aload 4
iconst_5
aload 4
iconst_3
baload
iadd
aload 7
arraylength
i2b
bastore
28: aload 4
iconst_5
aload 4
iconst_3
baload
iadd
dup2
baload
iload 9
iadd
i2b
bastore
29: aload 7
iconst_0
aload 4
bipush 6
aload 4
iconst_3
baload
iadd
iload 9
iadd
aload 7
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
30: aload 4
astore 1
31: aload 0
getfield com.jcraft.jsch.jce.SignatureDSA.signature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.verify:([B)Z
ireturn
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 32 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
0 32 1 sig [B
1 32 2 i I
2 32 3 j I
7 8 4 tmp [B
22 32 4 tmp [B
3 32 5 buf Lcom/jcraft/jsch/Buffer;
9 32 6 _frst [B
12 32 7 _scnd [B
17 32 8 frst I
20 32 9 scnd I
21 32 10 length I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
sig
protected byte[] normalize(byte[]);
descriptor: ([B)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
if_icmple 5
1: aload 1
iconst_0
baload
ifne 5
aload 1
iconst_1
baload
sipush 128
iand
ifne 5
2: aload 1
arraylength
iconst_1
isub
newarray 8
astore 2
start local 2 3: aload 1
iconst_1
aload 2
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 2
invokevirtual com.jcraft.jsch.jce.SignatureDSA.normalize:([B)[B
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/jcraft/jsch/jce/SignatureDSA;
0 6 1 secret [B
3 5 2 tmp [B
MethodParameters:
Name Flags
secret
}
SourceFile: "SignatureDSA.java"