public class sun.security.provider.DSAPublicKey extends sun.security.x509.X509Key implements java.security.interfaces.DSAPublicKey, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.provider.DSAPublicKey
super_class: sun.security.x509.X509Key
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2994193307391104133
private java.math.BigInteger y;
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.x509.X509Key.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/DSAPublicKey;
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.x509.X509Key.<init>:()V
1: aload 0
aload 1
putfield sun.security.provider.DSAPublicKey.y: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.DSAPublicKey.algid:Lsun/security/x509/AlgorithmId;
3: new sun.security.util.DerValue
dup
iconst_2
4: aload 1
invokevirtual java.math.BigInteger.toByteArray:()[B
5: invokespecial sun.security.util.DerValue.<init>:(B[B)V
6: invokevirtual sun.security.util.DerValue.toByteArray:()[B
7: astore 5
start local 5 8: aload 0
new sun.security.util.BitArray
dup
aload 5
arraylength
bipush 8
imul
aload 5
invokespecial sun.security.util.BitArray.<init>:(I[B)V
invokevirtual sun.security.provider.DSAPublicKey.setKey:(Lsun/security/util/BitArray;)V
9: aload 0
invokevirtual sun.security.provider.DSAPublicKey.encode:()[B
pop
end local 5 10: goto 15
StackMap locals: sun.security.provider.DSAPublicKey java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
11: astore 5
start local 5 12: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "could not DER encode y: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: 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;
14: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 5 15: 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 16 0 this Lsun/security/provider/DSAPublicKey;
0 16 1 y Ljava/math/BigInteger;
0 16 2 p Ljava/math/BigInteger;
0 16 3 q Ljava/math/BigInteger;
0 16 4 g Ljava/math/BigInteger;
8 10 5 keyArray [B
12 15 5 e Ljava/io/IOException;
Exception table:
from to target type
3 10 11 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
y
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.x509.X509Key.<init>:()V
1: aload 0
aload 1
invokevirtual sun.security.provider.DSAPublicKey.decode:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/DSAPublicKey;
0 3 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.DSAPublicKey.algid:Lsun/security/x509/AlgorithmId;
instanceof java.security.interfaces.DSAParams
ifeq 3
1: aload 0
getfield sun.security.provider.DSAPublicKey.algid:Lsun/security/x509/AlgorithmId;
checkcast java.security.interfaces.DSAParams
2: areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.DSAPublicKey.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.DSAPublicKey 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.DSAPublicKey
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/DSAPublicKey;
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 getY();
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.DSAPublicKey.y:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/DSAPublicKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Sun DSA Public Key\n Parameters:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.provider.DSAPublicKey.algid:Lsun/security/x509/AlgorithmId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
1: ldc "\n y:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.DSAPublicKey.y: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;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/DSAPublicKey;
protected void parseKeyBits();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: new sun.security.util.DerInputStream
dup
aload 0
invokevirtual sun.security.provider.DSAPublicKey.getKey:()Lsun/security/util/BitArray;
invokevirtual sun.security.util.BitArray.toByteArray:()[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.DSAPublicKey.y: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
new java.lang.StringBuilder
dup
ldc "Invalid key: y value\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
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;
6: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
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/DSAPublicKey;
1 2 1 in Lsun/security/util/DerInputStream;
4 7 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException
}
SourceFile: "DSAPublicKey.java"