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: 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.DSAPublicKey.key:[B
6: aload 0
invokevirtual sun.security.provider.DSAPublicKey.encode:()[B
pop
7: goto 12
StackMap locals: sun.security.provider.DSAPublicKey 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
new java.lang.StringBuilder
dup
ldc "could not DER encode y: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: 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
athrow
end local 5 12: 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 13 0 this Lsun/security/provider/DSAPublicKey;
0 13 1 y Ljava/math/BigInteger;
0 13 2 p Ljava/math/BigInteger;
0 13 3 q Ljava/math/BigInteger;
0 13 4 g Ljava/math/BigInteger;
9 12 5 e Ljava/io/IOException;
Exception table:
from to target type
3 7 8 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
getfield sun.security.provider.DSAPublicKey.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.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"