final class sun.security.pkcs11.P11Key$P11ECPrivateKey extends sun.security.pkcs11.P11Key implements java.security.interfaces.ECPrivateKey
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.pkcs11.P11Key$P11ECPrivateKey
super_class: sun.security.pkcs11.P11Key
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7786054399510515515
private java.math.BigInteger s;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.ECParameterSpec params;
descriptor: Ljava/security/spec/ECParameterSpec;
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 "private"
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$P11ECPrivateKey;
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=8, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.s:Ljava/math/BigInteger;
ifnull 3
2: return
3: StackMap locals:
StackMap stack:
iconst_2
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 384
aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.params:Ljava/security/spec/ECParameterSpec;
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
aastore
6: astore 1
start local 1 7: aload 0
aload 1
invokevirtual sun.security.pkcs11.P11Key$P11ECPrivateKey.fetchAttributes:([Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
8: aload 0
aload 1
iconst_0
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.pkcs11.P11Key$P11ECPrivateKey.s:Ljava/math/BigInteger;
9: aload 0
10: aload 1
iconst_1
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getByteArray:()[B
11: invokestatic sun.security.pkcs11.P11ECKeyFactory.decodeParameters:([B)Ljava/security/spec/ECParameterSpec;
putfield sun.security.pkcs11.P11Key$P11ECPrivateKey.params:Ljava/security/spec/ECParameterSpec;
12: goto 15
StackMap locals: sun.security.pkcs11.P11Key$P11ECPrivateKey sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
StackMap stack: java.lang.Exception
13: astore 2
start local 2 14: new java.lang.RuntimeException
dup
ldc "Could not parse key values"
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/pkcs11/P11Key$P11ECPrivateKey;
7 16 1 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
14 15 2 e Ljava/lang/Exception;
Exception table:
from to target type
9 12 13 Class java.lang.Exception
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$P11ECPrivateKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: ldc "PKCS#8"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11ECPrivateKey;
synchronized byte[] getEncodedInternal();
descriptor: ()[B
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.encoded:[B
ifnonnull 8
2: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11ECPrivateKey.fetchValues:()V
3: new sun.security.ec.ECPrivateKeyImpl
dup
aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.s:Ljava/math/BigInteger;
aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.params:Ljava/security/spec/ECParameterSpec;
invokespecial sun.security.ec.ECPrivateKeyImpl.<init>:(Ljava/math/BigInteger;Ljava/security/spec/ECParameterSpec;)V
astore 1
start local 1 4: aload 0
aload 1
invokeinterface java.security.Key.getEncoded:()[B
putfield sun.security.pkcs11.P11Key$P11ECPrivateKey.encoded:[B
end local 1 5: goto 8
StackMap locals:
StackMap stack: java.security.InvalidKeyException
6: astore 1
start local 1 7: new java.security.ProviderException
dup
aload 1
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.encoded:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/pkcs11/P11Key$P11ECPrivateKey;
4 5 1 key Ljava/security/Key;
7 8 1 e Ljava/security/InvalidKeyException;
Exception table:
from to target type
3 5 6 Class java.security.InvalidKeyException
public java.math.BigInteger getS();
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$P11ECPrivateKey.fetchValues:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.s:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11ECPrivateKey;
public java.security.spec.ECParameterSpec getParams();
descriptor: ()Ljava/security/spec/ECParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11ECPrivateKey.fetchValues:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11ECPrivateKey.params:Ljava/security/spec/ECParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key$P11ECPrivateKey;
}
SourceFile: "P11Key.java"
NestHost: sun.security.pkcs11.P11Key
InnerClasses:
private final P11ECPrivateKey = sun.security.pkcs11.P11Key$P11ECPrivateKey of sun.security.pkcs11.P11Key