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>(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=6, 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: goto 9
StackMap locals: sun.security.provider.DSAPrivateKey java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
7: astore 5
start local 5 8: new java.lang.AssertionError
dup
ldc "Should not happen"
aload 5
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 9: 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 10 0 this Lsun/security/provider/DSAPrivateKey;
0 10 1 x Ljava/math/BigInteger;
0 10 2 p Ljava/math/BigInteger;
0 10 3 q Ljava/math/BigInteger;
0 10 4 g Ljava/math/BigInteger;
8 9 5 e Ljava/io/IOException;
Exception table:
from to target type
3 6 7 Class java.io.IOException
MethodParameters:
Name Flags
x
p
q
g
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.security.pkcs.PKCS8Key.<init>:([B)V
1: new sun.security.util.DerInputStream
dup
aload 0
getfield sun.security.provider.DSAPrivateKey.key:[B
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 2
start local 2 2: aload 0
aload 2
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.provider.DSAPrivateKey.x:Ljava/math/BigInteger;
end local 2 3: goto 6
StackMap locals: sun.security.provider.DSAPrivateKey byte[]
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: new java.security.InvalidKeyException
dup
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 2
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/DSAPrivateKey;
0 7 1 encoded [B
2 3 2 in Lsun/security/util/DerInputStream;
5 6 2 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
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;
}
SourceFile: "DSAPrivateKey.java"