public final class sun.security.provider.DSAPrivateKey extends sun.security.pkcs.PKCS8Key implements java.security.interfaces.DSAPrivateKey, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.provider.DSAPrivateKey
super_class: sun.security.pkcs.PKCS8Key
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3244453684193605938
private java.math.BigInteger x;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.pkcs.PKCS8Key.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/DSAPrivateKey;
public void <init>(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;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial sun.security.pkcs.PKCS8Key.<init>:()V
1: aload 0
aload 1
putfield sun.security.provider.DSAPrivateKey.x:Ljava/math/BigInteger;
2: aload 0
new sun.security.x509.AlgIdDSA
dup
aload 2
aload 3
aload 4
invokespecial sun.security.x509.AlgIdDSA.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
putfield sun.security.provider.DSAPrivateKey.algid:Lsun/security/x509/AlgorithmId;
3: aload 0
new sun.security.util.DerValue
dup
iconst_2
4: aload 1
invokevirtual java.math.BigInteger.toByteArray:()[B
invokespecial sun.security.util.DerValue.<init>:(B[B)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
5: putfield sun.security.provider.DSAPrivateKey.key:[B
6: aload 0
invokevirtual sun.security.provider.DSAPrivateKey.encode:()[B
pop
7: goto 14
StackMap locals: sun.security.provider.DSAPrivateKey java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
8: astore 5
start local 5 9: new java.security.InvalidKeyException
dup
10: new java.lang.StringBuilder
dup
ldc "could not DER encode x: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
astore 6
start local 6 12: aload 6
aload 5
invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
13: aload 6
athrow
end local 6 end local 5 14: StackMap locals:
StackMap stack:
return
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/DSAPrivateKey;
0 15 1 x Ljava/math/BigInteger;
0 15 2 p Ljava/math/BigInteger;
0 15 3 q Ljava/math/BigInteger;
0 15 4 g Ljava/math/BigInteger;
9 14 5 e Ljava/io/IOException;
12 14 6 ike Ljava/security/InvalidKeyException;
Exception table:
from to target type
3 7 8 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
x
p
q
g
public void <init>(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
invokespecial sun.security.pkcs.PKCS8Key.<init>:()V
1: aload 0
invokevirtual sun.security.provider.DSAPrivateKey.clearOldKey:()V
2: aload 0
aload 1
invokevirtual sun.security.provider.DSAPrivateKey.decode:([B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/DSAPrivateKey;
0 4 1 encoded [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
encoded
public java.security.interfaces.DSAParams getParams();
descriptor: ()Ljava/security/interfaces/DSAParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.DSAPrivateKey.algid:Lsun/security/x509/AlgorithmId;
instanceof java.security.interfaces.DSAParams
ifeq 3
1: aload 0
getfield sun.security.provider.DSAPrivateKey.algid:Lsun/security/x509/AlgorithmId;
checkcast java.security.interfaces.DSAParams
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSAPrivateKey.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getParameters:()Ljava/security/AlgorithmParameters;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: sun.security.provider.DSAPrivateKey top java.security.AlgorithmParameters
StackMap stack:
aload 2
ldc Ljava/security/spec/DSAParameterSpec;
invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
checkcast java.security.spec.DSAParameterSpec
astore 1
start local 1 7: aload 1
8: areturn
end local 2 end local 1 9: StackMap locals: sun.security.provider.DSAPrivateKey
StackMap stack: java.security.spec.InvalidParameterSpecException
pop
10: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/provider/DSAPrivateKey;
7 9 1 paramSpec Ljava/security/spec/DSAParameterSpec;
4 9 2 algParams Ljava/security/AlgorithmParameters;
Exception table:
from to target type
0 2 9 Class java.security.spec.InvalidParameterSpecException
3 5 9 Class java.security.spec.InvalidParameterSpecException
6 8 9 Class java.security.spec.InvalidParameterSpecException
public java.math.BigInteger getX();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.DSAPrivateKey.x:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSAPrivateKey;
private void clearOldKey();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.DSAPrivateKey.encodedKey:[B
ifnull 6
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.provider.DSAPrivateKey.encodedKey:[B
iload 1
iconst_0
bastore
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield sun.security.provider.DSAPrivateKey.encodedKey:[B
arraylength
if_icmplt 3
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSAPrivateKey.key:[B
ifnull 12
7: iconst_0
istore 1
start local 1 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.provider.DSAPrivateKey.key:[B
iload 1
iconst_0
bastore
10: iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
aload 0
getfield sun.security.provider.DSAPrivateKey.key:[B
arraylength
if_icmplt 9
end local 1 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/provider/DSAPrivateKey;
2 6 1 i I
8 12 1 i I
protected void parseKeyBits();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: new sun.security.util.DerInputStream
dup
aload 0
getfield sun.security.provider.DSAPrivateKey.key:[B
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.provider.DSAPrivateKey.x:Ljava/math/BigInteger;
end local 1 2: goto 7
StackMap locals:
StackMap stack: java.io.IOException
3: astore 1
start local 1 4: new java.security.InvalidKeyException
dup
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: aload 2
aload 1
invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
6: aload 2
athrow
end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/DSAPrivateKey;
1 2 1 in Lsun/security/util/DerInputStream;
4 7 1 e Ljava/io/IOException;
5 7 2 ike Ljava/security/InvalidKeyException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException
}
SourceFile: "DSAPrivateKey.java"