final class com.sun.crypto.provider.DHPublicKey implements java.security.PublicKey, javax.crypto.interfaces.DHPublicKey, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.DHPublicKey
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7647557958927458271
private java.math.BigInteger y;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private byte[] key;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] encodedKey;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger p;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger g;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private int l;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] DH_data;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokespecial com.sun.crypto.provider.DHPublicKey.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 2 1 y Ljava/math/BigInteger;
0 2 2 p Ljava/math/BigInteger;
0 2 3 g Ljava/math/BigInteger;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
y
p
g
void <init>(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, int);
descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 7
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
sipush 840
iastore
dup
iconst_3
ldc 113549
iastore
dup
iconst_4
iconst_1
iastore
dup
iconst_5
iconst_3
iastore
dup
bipush 6
iconst_1
iastore
putfield com.sun.crypto.provider.DHPublicKey.DH_data:[I
2: aload 0
aload 1
putfield com.sun.crypto.provider.DHPublicKey.y:Ljava/math/BigInteger;
3: aload 0
aload 2
putfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
4: aload 0
aload 3
putfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
5: aload 0
iload 4
putfield com.sun.crypto.provider.DHPublicKey.l:I
6: aload 0
new sun.security.util.DerValue
dup
iconst_2
7: aload 0
getfield com.sun.crypto.provider.DHPublicKey.y:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toByteArray:()[B
invokespecial sun.security.util.DerValue.<init>:(B[B)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
8: putfield com.sun.crypto.provider.DHPublicKey.key:[B
9: aload 0
aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getEncoded:()[B
putfield com.sun.crypto.provider.DHPublicKey.encodedKey:[B
10: goto 13
StackMap locals: com.sun.crypto.provider.DHPublicKey java.math.BigInteger java.math.BigInteger java.math.BigInteger int
StackMap stack: java.io.IOException
11: astore 5
start local 5 12: new java.security.ProviderException
dup
ldc "Cannot produce ASN.1 encoding"
aload 5
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 13: 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 14 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 14 1 y Ljava/math/BigInteger;
0 14 2 p Ljava/math/BigInteger;
0 14 3 g Ljava/math/BigInteger;
0 14 4 l I
12 13 5 e Ljava/io/IOException;
Exception table:
from to target type
6 10 11 Class java.io.IOException
MethodParameters:
Name Flags
y
p
g
l
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 7
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
sipush 840
iastore
dup
iconst_3
ldc 113549
iastore
dup
iconst_4
iconst_1
iastore
dup
iconst_5
iconst_3
iastore
dup
bipush 6
iconst_1
iastore
putfield com.sun.crypto.provider.DHPublicKey.DH_data:[I
2: new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 2
start local 2 3: new sun.security.util.DerValue
dup
aload 2
invokespecial sun.security.util.DerValue.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 4: aload 3
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 6
5: new java.security.InvalidKeyException
dup
ldc "Invalid key format"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: com.sun.crypto.provider.DHPublicKey byte[] java.io.InputStream sun.security.util.DerValue
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
start local 4 7: aload 4
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 9
8: new java.security.InvalidKeyException
dup
ldc "AlgId is not a SEQUENCE"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 4
invokevirtual sun.security.util.DerValue.toDerInputStream:()Lsun/security/util/DerInputStream;
astore 5
start local 5 10: aload 5
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
astore 6
start local 6 11: aload 6
ifnonnull 13
12: new java.security.InvalidKeyException
dup
ldc "Null OID"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: sun.security.util.DerInputStream sun.security.util.ObjectIdentifier
StackMap stack:
aload 5
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 15
14: new java.security.InvalidKeyException
dup
ldc "Parameters missing"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 7
start local 7 16: aload 7
getfield sun.security.util.DerValue.tag:B
iconst_5
if_icmpne 18
17: new java.security.InvalidKeyException
dup
ldc "Null parameters"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 7
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 20
19: new java.security.InvalidKeyException
dup
ldc "Parameters not a SEQUENCE"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.reset:()V
21: aload 0
aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
22: aload 0
aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
23: aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 25
24: aload 0
aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield com.sun.crypto.provider.DHPublicKey.l:I
25: StackMap locals:
StackMap stack:
aload 7
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 27
26: new java.security.InvalidKeyException
dup
ldc "Extra parameter data"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 0
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBitString:()[B
putfield com.sun.crypto.provider.DHPublicKey.key:[B
28: aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.parseKeyBits:()V
29: aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 31
30: new java.security.InvalidKeyException
dup
ldc "Excess key data"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.crypto.provider.DHPublicKey.encodedKey:[B
end local 7 end local 6 end local 5 end local 4 end local 3 32: goto 35
StackMap locals: com.sun.crypto.provider.DHPublicKey byte[] java.io.InputStream
StackMap stack: java.lang.Exception
33: astore 3
start local 3 34: new java.security.InvalidKeyException
dup
ldc "Error parsing key encoding"
aload 3
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 35: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 36 1 encodedKey [B
3 36 2 inStream Ljava/io/InputStream;
4 32 3 derKeyVal Lsun/security/util/DerValue;
7 32 4 algid Lsun/security/util/DerValue;
10 32 5 derInStream Lsun/security/util/DerInputStream;
11 32 6 oid Lsun/security/util/ObjectIdentifier;
16 32 7 params Lsun/security/util/DerValue;
34 35 3 e Ljava/lang/Exception;
Exception table:
from to target type
3 32 33 Class java.io.IOException
3 32 33 Class java.lang.NumberFormatException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
encodedKey
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "X.509"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DHPublicKey;
public java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "DH"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DHPublicKey;
public synchronized byte[] getEncoded();
descriptor: ()[B
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.DHPublicKey.encodedKey:[B
ifnonnull 21
1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 2: aload 1
new sun.security.util.ObjectIdentifier
dup
aload 0
getfield com.sun.crypto.provider.DHPublicKey.DH_data:[I
invokespecial sun.security.util.ObjectIdentifier.<init>:([I)V
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
3: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 4: aload 2
aload 0
getfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
5: aload 2
aload 0
getfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
6: aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
ifeq 8
7: aload 2
aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
8: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
new sun.security.util.DerValue
dup
bipush 48
9: aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
10: invokespecial sun.security.util.DerValue.<init>:(B[B)V
astore 3
start local 3 11: aload 1
aload 3
invokevirtual sun.security.util.DerOutputStream.putDerValue:(Lsun/security/util/DerValue;)V
12: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 4
start local 4 13: aload 4
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
14: aload 4
aload 0
getfield com.sun.crypto.provider.DHPublicKey.key:[B
invokevirtual sun.security.util.DerOutputStream.putBitString:([B)V
15: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 5
start local 5 16: aload 5
bipush 48
aload 4
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
17: aload 0
aload 5
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield com.sun.crypto.provider.DHPublicKey.encodedKey:[B
end local 5 end local 4 end local 3 end local 2 end local 1 18: goto 21
StackMap locals: com.sun.crypto.provider.DHPublicKey
StackMap stack: java.io.IOException
19: pop
20: aconst_null
areturn
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.DHPublicKey.encodedKey:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/crypto/provider/DHPublicKey;
2 18 1 algid Lsun/security/util/DerOutputStream;
4 18 2 params Lsun/security/util/DerOutputStream;
11 18 3 paramSequence Lsun/security/util/DerValue;
13 18 4 tmpDerKey Lsun/security/util/DerOutputStream;
16 18 5 derKey Lsun/security/util/DerOutputStream;
Exception table:
from to target type
1 18 19 Class java.io.IOException
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 com.sun.crypto.provider.DHPublicKey.y:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DHPublicKey;
public javax.crypto.spec.DHParameterSpec getParams();
descriptor: ()Ljavax/crypto/spec/DHParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
ifeq 2
1: new javax.crypto.spec.DHParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
aload 0
getfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
areturn
2: StackMap locals:
StackMap stack:
new javax.crypto.spec.DHParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
aload 0
getfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/DHPublicKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
ldc "SunJCE Diffie-Hellman Public Key:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "y:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield com.sun.crypto.provider.DHPublicKey.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;
4: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "p:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield com.sun.crypto.provider.DHPublicKey.p: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;
6: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "g:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield com.sun.crypto.provider.DHPublicKey.g: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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: astore 2
start local 2 10: aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
ifeq 12
11: aload 2
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "l:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.crypto.provider.DHPublicKey.l:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals: java.lang.String java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/crypto/provider/DHPublicKey;
1 13 1 LINE_SEP Ljava/lang/String;
10 13 2 sb Ljava/lang/StringBuilder;
private void parseKeyBits();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: new sun.security.util.DerInputStream
dup
aload 0
getfield com.sun.crypto.provider.DHPublicKey.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 com.sun.crypto.provider.DHPublicKey.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
5: new java.lang.StringBuilder
dup
ldc "Error parsing key encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.IOException.toString:()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 Lcom/sun/crypto/provider/DHPublicKey;
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
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.crypto.provider.DHPublicKey.y:Ljava/math/BigInteger;
aastore
dup
iconst_1
aload 0
getfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
aastore
dup
iconst_2
aload 0
getfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/DHPublicKey;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.interfaces.DHPublicKey
ifne 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.interfaces.DHPublicKey
4: astore 2
start local 2 5: aload 2
invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
astore 3
start local 3 6: aload 0
getfield com.sun.crypto.provider.DHPublicKey.y:Ljava/math/BigInteger;
aload 2
invokeinterface javax.crypto.interfaces.DHPublicKey.getY:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifne 10
7: aload 0
getfield com.sun.crypto.provider.DHPublicKey.p:Ljava/math/BigInteger;
aload 3
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifne 10
8: aload 0
getfield com.sun.crypto.provider.DHPublicKey.g:Ljava/math/BigInteger;
aload 3
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifne 10
9: iconst_1
ireturn
StackMap locals: javax.crypto.interfaces.DHPublicKey javax.crypto.spec.DHParameterSpec
StackMap stack:
10: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 11 1 obj Ljava/lang/Object;
5 11 2 other Ljavax/crypto/interfaces/DHPublicKey;
6 11 3 otherParams Ljavax/crypto/spec/DHParameterSpec;
MethodParameters:
Name Flags
obj
private java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.security.KeyRep
dup
getstatic java.security.KeyRep$Type.PUBLIC:Ljava/security/KeyRep$Type;
1: aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getAlgorithm:()Ljava/lang/String;
2: aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getFormat:()Ljava/lang/String;
3: aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getEncoded:()[B
4: invokespecial java.security.KeyRep.<init>:(Ljava/security/KeyRep$Type;Ljava/lang/String;Ljava/lang/String;[B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/DHPublicKey;
Exceptions:
throws java.io.ObjectStreamException
}
SourceFile: "DHPublicKey.java"
InnerClasses:
public final Type = java.security.KeyRep$Type of java.security.KeyRep