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 37
StackMap locals: com.sun.crypto.provider.DHPublicKey byte[] java.io.InputStream
StackMap stack: java.lang.NumberFormatException
33: pop
34: new java.security.InvalidKeyException
dup
ldc "Private-value length too big"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 36: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing key encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 3 37: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 38 1 encodedKey [B
3 38 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;
36 37 3 e Ljava/io/IOException;
Exception table:
from to target type
3 32 33 Class java.lang.NumberFormatException
3 32 35 Class java.io.IOException
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.StringBuffer
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.StringBuffer.<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.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: StackMap locals: java.lang.String java.lang.StringBuffer
StackMap stack:
aload 2
invokevirtual java.lang.StringBuffer.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 strbuf Ljava/lang/StringBuffer;
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 5
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 "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;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/DHPublicKey;
1 2 1 in Lsun/security/util/DerInputStream;
4 5 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=3, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getEncoded:()[B
astore 2
start local 2 2: iconst_1
istore 3
start local 3 3: goto 6
4: StackMap locals: int byte[] int
StackMap stack:
iload 1
aload 2
iload 3
baload
iload 3
imul
iadd
istore 1
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 7: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/DHPublicKey;
1 8 1 retval I
2 8 2 enc [B
3 7 3 i I
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 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.PublicKey
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.crypto.provider.DHPublicKey.getEncoded:()[B
astore 2
start local 2 5: aload 1
checkcast java.security.PublicKey
invokeinterface java.security.PublicKey.getEncoded:()[B
astore 3
start local 3 6: aload 2
aload 3
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/DHPublicKey;
0 7 1 obj Ljava/lang/Object;
5 7 2 thisEncoded [B
6 7 3 thatEncoded [B
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