final class sun.security.pkcs11.P11Key$P11DHPublicKey extends sun.security.pkcs11.P11Key implements javax.crypto.interfaces.DHPublicKey
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.pkcs11.P11Key$P11DHPublicKey
super_class: sun.security.pkcs11.P11Key
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -598383872153843657
private java.math.BigInteger y;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.spec.DHParameterSpec params;
descriptor: Ljavax/crypto/spec/DHParameterSpec;
flags: (0x0002) ACC_PRIVATE
private byte[] encoded;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: (Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 0
ldc "public"
aload 1
lload 2
aload 4
iload 5
aload 6
invokespecial sun.security.pkcs11.P11Key.<init>:(Ljava/lang/String;Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
1: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
0 2 1 session Lsun/security/pkcs11/Session;
0 2 2 keyID J
0 2 4 algorithm Ljava/lang/String;
0 2 5 keyLength I
0 2 6 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
MethodParameters:
Name Flags
session
keyID
algorithm
keyLength
attributes
private synchronized void fetchValues();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
ifnull 3
2: return
3: StackMap locals:
StackMap stack:
iconst_3
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
4: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 17
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
5: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 304
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
6: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 306
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
7: astore 1
start local 1 8: aload 0
aload 1
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchAttributes:([Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
9: aload 0
aload 1
iconst_0
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
10: aload 0
new javax.crypto.spec.DHParameterSpec
dup
11: aload 1
iconst_1
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBigInteger:()Ljava/math/BigInteger;
12: aload 1
iconst_2
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBigInteger:()Ljava/math/BigInteger;
invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
13: putfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
8 15 1 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
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: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: ldc "X.509"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
synchronized byte[] getEncodedInternal();
descriptor: ()[B
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.encoded:[B
ifnonnull 13
2: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
3: new javax.crypto.spec.DHPublicKeySpec
dup
4: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
5: invokespecial javax.crypto.spec.DHPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 1
start local 1 6: ldc "DH"
invokestatic sun.security.pkcs11.P11Util.getSunJceProvider:()Ljava/security/Provider;
7: invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/KeyFactory;
astore 2
start local 2 8: aload 2
aload 1
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
astore 3
start local 3 9: aload 0
aload 3
invokeinterface java.security.Key.getEncoded:()[B
putfield sun.security.pkcs11.P11Key$P11DHPublicKey.encoded:[B
end local 3 end local 2 end local 1 10: goto 13
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
11: astore 1
start local 1 12: new java.security.ProviderException
dup
aload 1
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 13: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.encoded:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
6 10 1 spec Ljavax/crypto/spec/DHPublicKeySpec;
8 10 2 kf Ljava/security/KeyFactory;
9 10 3 key Ljava/security/Key;
12 13 1 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
3 10 11 Class java.security.GeneralSecurityException
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
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
public javax.crypto.spec.DHParameterSpec getParams();
descriptor: ()Ljavax/crypto/spec/DHParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
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: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
1: new java.lang.StringBuilder
dup
aload 0
invokespecial sun.security.pkcs11.P11Key.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n y: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n p: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc "\n g: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.isValid:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
3: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.y:Ljava/math/BigInteger;
aastore
dup
iconst_1
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
aastore
dup
iconst_2
aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
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 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.isValid:()Z
ifne 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.interfaces.DHPublicKey
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.P11Key$P11DHPublicKey.fetchValues:()V
6: aload 1
checkcast javax.crypto.interfaces.DHPublicKey
astore 2
start local 2 7: aload 2
invokeinterface javax.crypto.interfaces.DHPublicKey.getParams:()Ljavax/crypto/spec/DHParameterSpec;
astore 3
start local 3 8: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.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 12
9: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
aload 3
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifne 12
10: aload 0
getfield sun.security.pkcs11.P11Key$P11DHPublicKey.params:Ljavax/crypto/spec/DHParameterSpec;
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
aload 3
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifne 12
11: iconst_1
ireturn
StackMap locals: javax.crypto.interfaces.DHPublicKey javax.crypto.spec.DHParameterSpec
StackMap stack:
12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/pkcs11/P11Key$P11DHPublicKey;
0 13 1 obj Ljava/lang/Object;
7 13 2 other Ljavax/crypto/interfaces/DHPublicKey;
8 13 3 otherParams Ljavax/crypto/spec/DHParameterSpec;
MethodParameters:
Name Flags
obj
}
SourceFile: "P11Key.java"
NestHost: sun.security.pkcs11.P11Key
InnerClasses:
private final P11DHPublicKey = sun.security.pkcs11.P11Key$P11DHPublicKey of sun.security.pkcs11.P11Key