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;
}
SourceFile: "P11Key.java"
NestHost: sun.security.pkcs11.P11Key
InnerClasses:
private final P11DHPublicKey = sun.security.pkcs11.P11Key$P11DHPublicKey of sun.security.pkcs11.P11Key