abstract class sun.security.pkcs11.P11Key implements java.security.Key, sun.security.util.Length
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.pkcs11.P11Key
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2575874101938349339
private static final java.lang.String PUBLIC;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "public"
private static final java.lang.String PRIVATE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "private"
private static final java.lang.String SECRET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "secret"
final java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final sun.security.pkcs11.Token token;
descriptor: Lsun/security/pkcs11/Token;
flags: (0x0010) ACC_FINAL
final java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int keyLength;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean tokenObject;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean sensitive;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean ;
descriptor: Z
flags: (0x0010) ACC_FINAL
private final sun.security.pkcs11.NativeKeyHolder keyIDHolder;
descriptor: Lsun/security/pkcs11/NativeKeyHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final boolean ;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] A0;
descriptor: [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/security/pkcs11/P11Key.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
1: astore 0
start local 0 2: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
3: astore 1
start local 1 4: ldc "true"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
5: putstatic sun.security.pkcs11.P11Key.DISABLE_NATIVE_KEYS_EXTRACTION:Z
end local 1 end local 0 6: iconst_0
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
putstatic sun.security.pkcs11.P11Key.A0:[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
return
LocalVariableTable:
Start End Slot Name Signature
2 6 0 getKeyExtractionProp Ljava/security/PrivilegedAction<Ljava/lang/String;>;
4 6 1 disableKeyExtraction Ljava/lang/String;
void <init>(java.lang.String, sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: (Ljava/lang/String;Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
flags: (0x0000)
Code:
stack=9, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.pkcs11.P11Key.type:Ljava/lang/String;
2: aload 0
aload 2
getfield sun.security.pkcs11.Session.token:Lsun/security/pkcs11/Token;
putfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
3: aload 0
aload 5
putfield sun.security.pkcs11.P11Key.algorithm:Ljava/lang/String;
4: aload 0
iload 6
putfield sun.security.pkcs11.P11Key.keyLength:I
5: iconst_0
istore 8
start local 8 6: iconst_0
istore 9
start local 9 7: iconst_1
istore 10
start local 10 8: aload 7
ifnonnull 9
iconst_0
goto 10
StackMap locals: sun.security.pkcs11.P11Key java.lang.String sun.security.pkcs11.Session long java.lang.String int sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int int int
StackMap stack:
9: aload 7
arraylength
StackMap locals:
StackMap stack: int
10: istore 11
start local 11 11: iconst_0
istore 12
start local 12 12: goto 23
13: StackMap locals: int int
StackMap stack:
aload 7
iload 12
aaload
astore 13
start local 13 14: aload 13
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.type:J
lconst_1
lcmp
ifne 17
15: aload 13
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBoolean:()Z
istore 8
16: goto 22
StackMap locals: sun.security.pkcs11.wrapper.CK_ATTRIBUTE
StackMap stack:
17: aload 13
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.type:J
ldc 259
lcmp
ifne 20
18: aload 13
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBoolean:()Z
istore 9
19: goto 22
StackMap locals:
StackMap stack:
20: aload 13
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.type:J
ldc 354
lcmp
ifne 22
21: aload 13
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBoolean:()Z
istore 10
end local 13 22: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
23: iload 12
iload 11
if_icmplt 13
end local 12 24: aload 0
iload 8
putfield sun.security.pkcs11.P11Key.tokenObject:Z
25: aload 0
iload 9
putfield sun.security.pkcs11.P11Key.sensitive:Z
26: aload 0
iload 10
putfield sun.security.pkcs11.P11Key.extractable:Z
27: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.tokenInfo:Lsun/security/pkcs11/wrapper/CK_TOKEN_INFO;
getfield sun.security.pkcs11.wrapper.CK_TOKEN_INFO.label:[C
astore 12
start local 12 28: aload 12
iconst_0
caload
bipush 78
if_icmpne 31
aload 12
iconst_1
caload
bipush 83
if_icmpne 31
29: aload 12
iconst_2
caload
bipush 83
if_icmpne 31
30: iconst_1
goto 32
StackMap locals: sun.security.pkcs11.P11Key java.lang.String sun.security.pkcs11.Session long java.lang.String int sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int int int int char[]
StackMap stack:
31: iconst_0
StackMap locals:
StackMap stack: int
32: istore 13
start local 13 33: getstatic sun.security.pkcs11.P11Key.DISABLE_NATIVE_KEYS_EXTRACTION:Z
ifne 36
iload 13
ifeq 36
34: iload 10
ifeq 36
iload 8
ifne 36
35: iconst_1
goto 37
StackMap locals: int
StackMap stack:
36: iconst_0
StackMap locals:
StackMap stack: int
37: istore 14
start local 14 38: aload 0
new sun.security.pkcs11.NativeKeyHolder
dup
aload 0
lload 3
aload 2
iload 14
39: iload 8
invokespecial sun.security.pkcs11.NativeKeyHolder.<init>:(Lsun/security/pkcs11/P11Key;JLsun/security/pkcs11/Session;ZZ)V
40: putfield sun.security.pkcs11.P11Key.keyIDHolder:Lsun/security/pkcs11/NativeKeyHolder;
41: return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/security/pkcs11/P11Key;
0 42 1 type Ljava/lang/String;
0 42 2 session Lsun/security/pkcs11/Session;
0 42 3 keyID J
0 42 5 algorithm Ljava/lang/String;
0 42 6 keyLength I
0 42 7 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
6 42 8 tokenObject Z
7 42 9 sensitive Z
8 42 10 extractable Z
11 42 11 n I
12 24 12 i I
14 22 13 attr Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
28 42 12 tokenLabel [C
33 42 13 isNSS Z
38 42 14 extractKeyInfo Z
MethodParameters:
Name Flags
type
session
keyID
algorithm
keyLength
attributes
public long getKeyID();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.keyIDHolder:Lsun/security/pkcs11/NativeKeyHolder;
invokevirtual sun.security.pkcs11.NativeKeyHolder.getKeyID:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/P11Key;
public void releaseKeyID();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.keyIDHolder:Lsun/security/pkcs11/NativeKeyHolder;
invokevirtual sun.security.pkcs11.NativeKeyHolder.releaseKeyID:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key;
public final java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key.algorithm:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key;
public final byte[] getEncoded();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.P11Key.getEncodedInternal:()[B
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
goto 3
StackMap locals: byte[]
StackMap stack:
2: aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals:
StackMap stack: byte[]
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/P11Key;
1 4 1 b [B
abstract byte[] getEncodedInternal();
descriptor: ()[B
flags: (0x0400) ACC_ABSTRACT
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, 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 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.isValid:()Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.Key
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.P11Key.getFormat:()Ljava/lang/String;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: iconst_0
ireturn
9: StackMap locals: java.lang.String
StackMap stack:
aload 1
checkcast java.security.Key
astore 3
start local 3 10: aload 2
aload 3
invokeinterface java.security.Key.getFormat:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals: java.security.Key
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.P11Key.getEncodedInternal:()[B
astore 4
start local 4 13: aload 1
instanceof sun.security.pkcs11.P11Key
ifeq 16
14: aload 3
checkcast sun.security.pkcs11.P11Key
invokevirtual sun.security.pkcs11.P11Key.getEncodedInternal:()[B
astore 5
start local 5 15: goto 17
end local 5 16: StackMap locals: byte[]
StackMap stack:
aload 3
invokeinterface java.security.Key.getEncoded:()[B
astore 5
start local 5 17: StackMap locals: byte[]
StackMap stack:
aload 4
aload 5
invokestatic java.security.MessageDigest.isEqual:([B[B)Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/pkcs11/P11Key;
0 18 1 obj Ljava/lang/Object;
7 18 2 thisFormat Ljava/lang/String;
10 18 3 other Ljava/security/Key;
13 18 4 thisEnc [B
15 16 5 otherEnc [B
17 18 5 otherEnc [B
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.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.getEncodedInternal:()[B
astore 1
start local 1 3: aload 1
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: byte[]
StackMap stack:
aload 1
arraylength
istore 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 10
8: StackMap locals: int int
StackMap stack:
iload 2
aload 1
iload 3
baload
sipush 255
iand
bipush 37
imul
iadd
istore 2
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 1
arraylength
if_icmplt 8
end local 3 11: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/pkcs11/P11Key;
3 12 1 b1 [B
6 12 2 r I
7 11 3 i I
protected java.lang.Object writeReplace();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.pkcs11.P11Key.getFormat:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual sun.security.pkcs11.P11Key.isPrivate:()Z
ifeq 4
ldc "PKCS#8"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: getstatic java.security.KeyRep$Type.PRIVATE:Ljava/security/KeyRep$Type;
astore 1
start local 1 3: goto 13
end local 1 StackMap locals: sun.security.pkcs11.P11Key top java.lang.String
StackMap stack:
4: aload 0
invokevirtual sun.security.pkcs11.P11Key.isPublic:()Z
ifeq 7
ldc "X.509"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: getstatic java.security.KeyRep$Type.PUBLIC:Ljava/security/KeyRep$Type;
astore 1
start local 1 6: goto 13
end local 1 StackMap locals:
StackMap stack:
7: aload 0
invokevirtual sun.security.pkcs11.P11Key.isSecret:()Z
ifeq 10
ldc "RAW"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: getstatic java.security.KeyRep$Type.SECRET:Ljava/security/KeyRep$Type;
astore 1
start local 1 9: goto 13
end local 1 10: StackMap locals:
StackMap stack:
new java.io.NotSerializableException
dup
11: ldc "Cannot serialize sensitive and unextractable keys"
12: invokespecial java.io.NotSerializableException.<init>:(Ljava/lang/String;)V
athrow
start local 1 13: StackMap locals: sun.security.pkcs11.P11Key java.security.KeyRep$Type java.lang.String
StackMap stack:
new java.security.KeyRep
dup
aload 1
aload 0
invokevirtual sun.security.pkcs11.P11Key.getAlgorithm:()Ljava/lang/String;
aload 2
aload 0
invokevirtual sun.security.pkcs11.P11Key.getEncoded:()[B
invokespecial java.security.KeyRep.<init>:(Ljava/security/KeyRep$Type;Ljava/lang/String;Ljava/lang/String;[B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/pkcs11/P11Key;
3 4 1 type Ljava/security/KeyRep$Type;
6 7 1 type Ljava/security/KeyRep$Type;
9 10 1 type Ljava/security/KeyRep$Type;
13 14 1 type Ljava/security/KeyRep$Type;
1 14 2 format Ljava/lang/String;
Exceptions:
throws java.io.ObjectStreamException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: new java.lang.StringBuilder
dup
aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.provider:Lsun/security/pkcs11/SunPKCS11;
invokevirtual sun.security.pkcs11.SunPKCS11.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key.algorithm:Ljava/lang/String;
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 sun.security.pkcs11.P11Key.type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc " key, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key.keyLength:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bits"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 4: 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
aload 0
getfield sun.security.pkcs11.P11Key.tokenObject:Z
ifeq 5
ldc "token"
goto 6
StackMap locals: sun.security.pkcs11.P11Key java.lang.String
StackMap stack: java.lang.StringBuilder
5: ldc "session"
StackMap locals: sun.security.pkcs11.P11Key java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " object"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: aload 0
invokevirtual sun.security.pkcs11.P11Key.isPublic:()Z
ifeq 10
8: 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 ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
9: goto 16
10: StackMap locals:
StackMap stack:
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 ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key.sensitive:Z
ifeq 11
ldc ""
goto 12
StackMap locals:
StackMap stack: java.lang.StringBuilder
11: ldc "not "
StackMap locals: sun.security.pkcs11.P11Key java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "sensitive"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
13: 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 ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.pkcs11.P11Key.extractable:Z
ifeq 14
ldc ""
goto 15
StackMap locals:
StackMap stack: java.lang.StringBuilder
14: ldc "un"
StackMap locals: sun.security.pkcs11.P11Key java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
15: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "extractable)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
16: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/pkcs11/P11Key;
4 17 1 s1 Ljava/lang/String;
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.keyLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/P11Key;
boolean isPublic();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.type:Ljava/lang/String;
ldc "public"
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key;
boolean isPrivate();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.type:Ljava/lang/String;
ldc "private"
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key;
boolean isSecret();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key.type:Ljava/lang/String;
ldc "secret"
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/P11Key;
void fetchAttributes(sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: ([Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual sun.security.pkcs11.P11Key.getKeyID:()J
lstore 3
start local 3 2: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.getOpSession:()Lsun/security/pkcs11/Session;
astore 2
3: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
aload 2
invokevirtual sun.security.pkcs11.Session.id:()J
lload 3
4: aload 1
5: invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
6: goto 13
StackMap locals: sun.security.pkcs11.P11Key sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] sun.security.pkcs11.Session long
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
7: astore 5
start local 5 8: new java.security.ProviderException
dup
aload 5
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
10: aload 0
invokevirtual sun.security.pkcs11.P11Key.releaseKeyID:()V
11: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
aload 2
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
12: aload 6
athrow
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.pkcs11.P11Key.releaseKeyID:()V
14: aload 0
getfield sun.security.pkcs11.P11Key.token:Lsun/security/pkcs11/Token;
aload 2
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/pkcs11/P11Key;
0 16 1 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
1 16 2 tempSession Lsun/security/pkcs11/Session;
2 16 3 keyID J
8 9 5 e Lsun/security/pkcs11/wrapper/PKCS11Exception;
Exception table:
from to target type
2 6 7 Class sun.security.pkcs11.wrapper.PKCS11Exception
2 9 9 any
MethodParameters:
Name Flags
attributes
private static sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes(sun.security.pkcs11.Session, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: (Lsun/security/pkcs11/Session;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 3
ifnonnull 2
1: getstatic sun.security.pkcs11.P11Key.A0:[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
astore 3
2: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 3: goto 25
4: StackMap locals: int
StackMap stack:
aload 4
iload 5
aaload
astore 6
start local 6 5: aload 3
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 11
StackMap locals: sun.security.pkcs11.Session long sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int sun.security.pkcs11.wrapper.CK_ATTRIBUTE top int int sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
StackMap stack:
6: aload 10
iload 8
aaload
astore 7
start local 7 7: aload 6
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.type:J
aload 7
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.type:J
lcmp
ifne 10
aload 7
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
ifnull 10
8: aload 6
aload 7
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
putfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
9: goto 12
end local 7 10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 9
if_icmplt 6
12: StackMap locals: sun.security.pkcs11.Session long sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int sun.security.pkcs11.wrapper.CK_ATTRIBUTE
StackMap stack:
aload 6
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
ifnonnull 24
13: iconst_0
istore 7
start local 7 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 4
iload 7
aaload
aconst_null
putfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
16: iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 5
if_icmplt 15
end local 7 18: aload 0
getfield sun.security.pkcs11.Session.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
19: aload 0
invokevirtual sun.security.pkcs11.Session.id:()J
lload 1
aload 4
20: invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
21: goto 26
StackMap locals: sun.security.pkcs11.Session long sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] int sun.security.pkcs11.wrapper.CK_ATTRIBUTE
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
22: astore 7
start local 7 23: new java.security.ProviderException
dup
aload 7
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 24: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
aload 4
arraylength
if_icmplt 4
end local 5 26: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 session Lsun/security/pkcs11/Session;
0 27 1 keyID J
0 27 3 knownAttributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
0 27 4 desiredAttributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
3 26 5 i I
5 24 6 attr Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
7 10 7 known Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
14 18 7 j I
23 24 7 e Lsun/security/pkcs11/wrapper/PKCS11Exception;
Exception table:
from to target type
18 21 22 Class sun.security.pkcs11.wrapper.PKCS11Exception
MethodParameters:
Name Flags
session
keyID
knownAttributes
desiredAttributes
static javax.crypto.SecretKey secretKey(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;)Ljavax/crypto/SecretKey;
flags: (0x0008) ACC_STATIC
Code:
stack=11, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
lload 1
aload 5
iconst_3
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
1: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lconst_1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
2: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 259
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
3: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 354
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
4: invokestatic sun.security.pkcs11.P11Key.getAttributes:(Lsun/security/pkcs11/Session;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
astore 5
5: new sun.security.pkcs11.P11Key$P11SecretKey
dup
aload 0
lload 1
aload 3
iload 4
6: aload 5
7: invokespecial sun.security.pkcs11.P11Key$P11SecretKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 session Lsun/security/pkcs11/Session;
0 8 1 keyID J
0 8 3 algorithm Ljava/lang/String;
0 8 4 keyLength I
0 8 5 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
MethodParameters:
Name Flags
session
keyID
algorithm
keyLength
attributes
static javax.crypto.SecretKey masterSecretKey(sun.security.pkcs11.Session, long, java.lang.String, int, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[], int, int);
descriptor: (Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;II)Ljavax/crypto/SecretKey;
flags: (0x0008) ACC_STATIC
Code:
stack=11, locals=8, args_size=7
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
lload 1
aload 5
iconst_3
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
1: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lconst_1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
2: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 259
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
3: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 354
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
4: invokestatic sun.security.pkcs11.P11Key.getAttributes:(Lsun/security/pkcs11/Session;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
astore 5
5: new sun.security.pkcs11.P11Key$P11TlsMasterSecretKey
dup
6: aload 0
lload 1
aload 3
iload 4
aload 5
iload 6
7: iload 7
8: invokespecial sun.security.pkcs11.P11Key$P11TlsMasterSecretKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;II)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 session Lsun/security/pkcs11/Session;
0 9 1 keyID J
0 9 3 algorithm Ljava/lang/String;
0 9 4 keyLength I
0 9 5 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
0 9 6 major I
0 9 7 minor I
MethodParameters:
Name Flags
session
keyID
algorithm
keyLength
attributes
major
minor
static java.security.PublicKey publicKey(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;)Ljava/security/PublicKey;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 3
dup
astore 6
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
2180: 1
2206: 2
67986: 3
81440: 4
default: 17
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 6
ldc "DH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 17
StackMap locals:
StackMap stack:
2: aload 6
ldc "EC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 17
StackMap locals:
StackMap stack:
3: aload 6
ldc "DSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 17
StackMap locals:
StackMap stack:
4: aload 6
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 17
5: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11RSAPublicKey
dup
aload 0
lload 1
aload 3
6: iload 4
aload 5
7: invokespecial sun.security.pkcs11.P11Key$P11RSAPublicKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
8: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11DSAPublicKey
dup
aload 0
lload 1
aload 3
9: iload 4
aload 5
10: invokespecial sun.security.pkcs11.P11Key$P11DSAPublicKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
11: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11DHPublicKey
dup
aload 0
lload 1
aload 3
12: iload 4
aload 5
13: invokespecial sun.security.pkcs11.P11Key$P11DHPublicKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
14: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11ECPublicKey
dup
aload 0
lload 1
aload 3
15: iload 4
aload 5
16: invokespecial sun.security.pkcs11.P11Key$P11ECPublicKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
17: StackMap locals:
StackMap stack:
new java.security.ProviderException
dup
18: new java.lang.StringBuilder
dup
ldc "Unknown public key algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 session Lsun/security/pkcs11/Session;
0 20 1 keyID J
0 20 3 algorithm Ljava/lang/String;
0 20 4 keyLength I
0 20 5 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
MethodParameters:
Name Flags
session
keyID
algorithm
keyLength
attributes
static java.security.PrivateKey privateKey(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;)Ljava/security/PrivateKey;
flags: (0x0008) ACC_STATIC
Code:
stack=11, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
lload 1
aload 5
iconst_3
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
1: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lconst_1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
2: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 259
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
3: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 354
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
4: invokestatic sun.security.pkcs11.P11Key.getAttributes:(Lsun/security/pkcs11/Session;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
astore 5
5: aload 5
iconst_1
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBoolean:()Z
ifne 6
aload 5
iconst_2
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBoolean:()Z
ifne 9
6: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11PrivateKey
dup
7: aload 0
lload 1
aload 3
iload 4
aload 5
8: invokespecial sun.security.pkcs11.P11Key$P11PrivateKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
9: StackMap locals:
StackMap stack:
aload 3
dup
astore 6
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 4
2180: 10
2206: 11
67986: 12
81440: 13
default: 53
}
StackMap locals: java.lang.String
StackMap stack:
10: aload 6
ldc "DH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 47
goto 53
StackMap locals:
StackMap stack:
11: aload 6
ldc "EC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 50
goto 53
StackMap locals:
StackMap stack:
12: aload 6
ldc "DSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 44
goto 53
StackMap locals:
StackMap stack:
13: aload 6
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
goto 53
14: StackMap locals:
StackMap stack:
bipush 6
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
15: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 290
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
16: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 292
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
17: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 293
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_3
18: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 294
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_4
19: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 295
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_5
20: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 296
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
21: astore 7
start local 7 22: aload 0
getfield sun.security.pkcs11.Session.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
23: aload 0
invokevirtual sun.security.pkcs11.Session.id:()J
lload 1
aload 7
24: invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
25: aload 7
iconst_0
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
26: aload 7
iconst_1
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
27: aload 7
iconst_2
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
28: aload 7
iconst_3
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
29: aload 7
iconst_4
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
30: aload 7
iconst_5
aaload
getfield sun.security.pkcs11.wrapper.CK_ATTRIBUTE.pValue:Ljava/lang/Object;
instanceof byte[]
ifeq 32
31: iconst_1
goto 33
StackMap locals: sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
StackMap stack:
32: iconst_0
StackMap locals:
StackMap stack: int
33: istore 8
start local 8 34: goto 37
end local 8 StackMap locals:
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
35: pop
36: iconst_0
istore 8
start local 8 37: StackMap locals: int
StackMap stack:
iload 8
ifeq 41
38: new sun.security.pkcs11.P11Key$P11RSAPrivateKey
dup
aload 0
lload 1
aload 3
39: iload 4
aload 5
aload 7
40: invokespecial sun.security.pkcs11.P11Key$P11RSAPrivateKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
41: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11RSAPrivateNonCRTKey
dup
aload 0
lload 1
42: aload 3
iload 4
aload 5
43: invokespecial sun.security.pkcs11.P11Key$P11RSAPrivateNonCRTKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
end local 8 end local 7 44: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11DSAPrivateKey
dup
aload 0
lload 1
aload 3
45: iload 4
aload 5
46: invokespecial sun.security.pkcs11.P11Key$P11DSAPrivateKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
47: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11DHPrivateKey
dup
aload 0
lload 1
aload 3
48: iload 4
aload 5
49: invokespecial sun.security.pkcs11.P11Key$P11DHPrivateKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
50: StackMap locals:
StackMap stack:
new sun.security.pkcs11.P11Key$P11ECPrivateKey
dup
aload 0
lload 1
aload 3
51: iload 4
aload 5
52: invokespecial sun.security.pkcs11.P11Key$P11ECPrivateKey.<init>:(Lsun/security/pkcs11/Session;JLjava/lang/String;I[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
areturn
53: StackMap locals:
StackMap stack:
new java.security.ProviderException
dup
54: new java.lang.StringBuilder
dup
ldc "Unknown private key algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
55: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 session Lsun/security/pkcs11/Session;
0 56 1 keyID J
0 56 3 algorithm Ljava/lang/String;
0 56 4 keyLength I
0 56 5 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
22 44 7 attrs2 [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
34 35 8 crtKey Z
37 44 8 crtKey Z
Exception table:
from to target type
22 34 35 Class sun.security.pkcs11.wrapper.PKCS11Exception
MethodParameters:
Name Flags
session
keyID
algorithm
keyLength
attributes
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "sun.security.pkcs11.disableKeyExtraction"
ldc "false"
1: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "P11Key.java"
NestMembers:
sun.security.pkcs11.P11Key$P11DHPrivateKey sun.security.pkcs11.P11Key$P11DHPublicKey sun.security.pkcs11.P11Key$P11DSAPrivateKey sun.security.pkcs11.P11Key$P11DSAPublicKey sun.security.pkcs11.P11Key$P11ECPrivateKey sun.security.pkcs11.P11Key$P11ECPublicKey sun.security.pkcs11.P11Key$P11PrivateKey sun.security.pkcs11.P11Key$P11RSAPrivateKey sun.security.pkcs11.P11Key$P11RSAPrivateNonCRTKey sun.security.pkcs11.P11Key$P11RSAPublicKey sun.security.pkcs11.P11Key$P11SecretKey sun.security.pkcs11.P11Key$P11TlsMasterSecretKey
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Type = java.security.KeyRep$Type of java.security.KeyRep
private final P11DHPrivateKey = sun.security.pkcs11.P11Key$P11DHPrivateKey of sun.security.pkcs11.P11Key
private final P11DHPublicKey = sun.security.pkcs11.P11Key$P11DHPublicKey of sun.security.pkcs11.P11Key
private final P11DSAPrivateKey = sun.security.pkcs11.P11Key$P11DSAPrivateKey of sun.security.pkcs11.P11Key
private final P11DSAPublicKey = sun.security.pkcs11.P11Key$P11DSAPublicKey of sun.security.pkcs11.P11Key
private final P11ECPrivateKey = sun.security.pkcs11.P11Key$P11ECPrivateKey of sun.security.pkcs11.P11Key
private final P11ECPublicKey = sun.security.pkcs11.P11Key$P11ECPublicKey of sun.security.pkcs11.P11Key
private final P11PrivateKey = sun.security.pkcs11.P11Key$P11PrivateKey of sun.security.pkcs11.P11Key
private final P11RSAPrivateKey = sun.security.pkcs11.P11Key$P11RSAPrivateKey of sun.security.pkcs11.P11Key
private final P11RSAPrivateNonCRTKey = sun.security.pkcs11.P11Key$P11RSAPrivateNonCRTKey of sun.security.pkcs11.P11Key
private final P11RSAPublicKey = sun.security.pkcs11.P11Key$P11RSAPublicKey of sun.security.pkcs11.P11Key
private P11SecretKey = sun.security.pkcs11.P11Key$P11SecretKey of sun.security.pkcs11.P11Key
private P11TlsMasterSecretKey = sun.security.pkcs11.P11Key$P11TlsMasterSecretKey of sun.security.pkcs11.P11Key