class sun.security.pkcs11.P11Key$P11SecretKey extends sun.security.pkcs11.P11Key implements javax.crypto.SecretKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.pkcs11.P11Key$P11SecretKey
super_class: sun.security.pkcs11.P11Key
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7828241727014329084
private volatile byte[] encoded;
descriptor: [B
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
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 "secret"
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$P11SecretKey;
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
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$P11SecretKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.sensitive:Z
ifne 2
aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.extractable:Z
ifne 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
ldc "RAW"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/P11Key$P11SecretKey;
byte[] getEncodedInternal();
descriptor: ()[B
flags: (0x0000)
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.ensureValid:()V
1: aload 0
invokevirtual sun.security.pkcs11.P11Key$P11SecretKey.getFormat:()Ljava/lang/String;
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.encoded:[B
astore 1
start local 1 4: aload 1
ifnonnull 29
5: aload 0
dup
astore 2
monitorenter
6: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.encoded:[B
astore 1
7: aload 1
ifnonnull 25
8: aconst_null
astore 3
start local 3 9: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.token:Lsun/security/pkcs11/Token;
invokevirtual sun.security.pkcs11.Token.getOpSession:()Lsun/security/pkcs11/Session;
astore 3
10: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
11: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 17
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
12: astore 4
start local 4 13: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.token:Lsun/security/pkcs11/Token;
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
14: aload 3
invokevirtual sun.security.pkcs11.Session.id:()J
aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.keyID:J
aload 4
15: invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
16: aload 4
iconst_0
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getByteArray:()[B
astore 1
end local 4 17: goto 23
StackMap locals: sun.security.pkcs11.P11Key$P11SecretKey byte[] sun.security.pkcs11.P11Key$P11SecretKey sun.security.pkcs11.Session
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
18: astore 4
start local 4 19: new java.security.ProviderException
dup
aload 4
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
21: aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.token:Lsun/security/pkcs11/Token;
aload 3
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
22: aload 5
athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.pkcs11.P11Key$P11SecretKey.token:Lsun/security/pkcs11/Token;
aload 3
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
24: aload 0
aload 1
putfield sun.security.pkcs11.P11Key$P11SecretKey.encoded:[B
end local 3 25: StackMap locals:
StackMap stack:
aload 2
monitorexit
26: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
27: aload 2
monitorexit
28: athrow
29: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/security/pkcs11/P11Key$P11SecretKey;
4 30 1 b [B
9 25 3 tempSession Lsun/security/pkcs11/Session;
13 17 4 attributes [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
19 20 4 e Lsun/security/pkcs11/wrapper/PKCS11Exception;
Exception table:
from to target type
9 17 18 Class sun.security.pkcs11.wrapper.PKCS11Exception
9 20 20 any
6 26 27 any
27 28 27 any
}
SourceFile: "P11Key.java"
NestHost: sun.security.pkcs11.P11Key
InnerClasses:
private P11SecretKey = sun.security.pkcs11.P11Key$P11SecretKey of sun.security.pkcs11.P11Key