final class sun.security.pkcs11.TemplateManager
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.pkcs11.TemplateManager
super_class: java.lang.Object
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final java.lang.String O_ANY;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "*"
static final java.lang.String O_IMPORT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "import"
static final java.lang.String O_GENERATE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "generate"
private final java.util.List<sun.security.pkcs11.TemplateManager$KeyAndTemplate> primitiveTemplates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lsun/security/pkcs11/TemplateManager$KeyAndTemplate;>;
private final java.util.Map<sun.security.pkcs11.TemplateManager$TemplateKey, sun.security.pkcs11.TemplateManager$Template> compositeTemplates;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lsun/security/pkcs11/TemplateManager$TemplateKey;Lsun/security/pkcs11/TemplateManager$Template;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.pkcs11.TemplateManager.primitiveTemplates:Ljava/util/List;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield sun.security.pkcs11.TemplateManager.compositeTemplates:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/TemplateManager;
void addTemplate(java.lang.String, long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: (Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
flags: (0x0000)
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: new sun.security.pkcs11.TemplateManager$TemplateKey
dup
aload 1
lload 2
lload 4
invokespecial sun.security.pkcs11.TemplateManager$TemplateKey.<init>:(Ljava/lang/String;JJ)V
astore 7
start local 7 1: new sun.security.pkcs11.TemplateManager$Template
dup
aload 6
invokespecial sun.security.pkcs11.TemplateManager$Template.<init>:([Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
astore 8
start local 8 2: aload 0
getfield sun.security.pkcs11.TemplateManager.primitiveTemplates:Ljava/util/List;
new sun.security.pkcs11.TemplateManager$KeyAndTemplate
dup
aload 7
aload 8
invokespecial sun.security.pkcs11.TemplateManager$KeyAndTemplate.<init>:(Lsun/security/pkcs11/TemplateManager$TemplateKey;Lsun/security/pkcs11/TemplateManager$Template;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/TemplateManager;
0 4 1 op Ljava/lang/String;
0 4 2 objectClass J
0 4 4 keyAlgorithm J
0 4 6 attrs [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
1 4 7 key Lsun/security/pkcs11/TemplateManager$TemplateKey;
2 4 8 template Lsun/security/pkcs11/TemplateManager$Template;
MethodParameters:
Name Flags
op
objectClass
keyAlgorithm
attrs
private sun.security.pkcs11.TemplateManager$Template getTemplate(sun.security.pkcs11.TemplateManager$TemplateKey);
descriptor: (Lsun/security/pkcs11/TemplateManager$TemplateKey;)Lsun/security/pkcs11/TemplateManager$Template;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.TemplateManager.compositeTemplates:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs11.TemplateManager$Template
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
aload 1
invokevirtual sun.security.pkcs11.TemplateManager.buildCompositeTemplate:(Lsun/security/pkcs11/TemplateManager$TemplateKey;)Lsun/security/pkcs11/TemplateManager$Template;
astore 2
3: aload 0
getfield sun.security.pkcs11.TemplateManager.compositeTemplates:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: sun.security.pkcs11.TemplateManager$Template
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/pkcs11/TemplateManager;
0 5 1 key Lsun/security/pkcs11/TemplateManager$TemplateKey;
1 5 2 template Lsun/security/pkcs11/TemplateManager$Template;
MethodParameters:
Name Flags
key
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] getAttributes(java.lang.String, long, long, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]);
descriptor: (Ljava/lang/String;JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
flags: (0x0000)
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: new sun.security.pkcs11.TemplateManager$TemplateKey
dup
aload 1
lload 2
lload 4
invokespecial sun.security.pkcs11.TemplateManager$TemplateKey.<init>:(Ljava/lang/String;JJ)V
astore 7
start local 7 1: aload 0
aload 7
invokevirtual sun.security.pkcs11.TemplateManager.getTemplate:(Lsun/security/pkcs11/TemplateManager$TemplateKey;)Lsun/security/pkcs11/TemplateManager$Template;
astore 8
start local 8 2: aload 8
aload 6
invokevirtual sun.security.pkcs11.TemplateManager$Template.getAttributes:([Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
astore 9
start local 9 3: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/TemplateManager;
0 4 1 op Ljava/lang/String;
0 4 2 type J
0 4 4 alg J
0 4 6 attrs [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
1 4 7 key Lsun/security/pkcs11/TemplateManager$TemplateKey;
2 4 8 template Lsun/security/pkcs11/TemplateManager$Template;
3 4 9 newAttrs [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
MethodParameters:
Name Flags
op
type
alg
attrs
private sun.security.pkcs11.TemplateManager$Template buildCompositeTemplate(sun.security.pkcs11.TemplateManager$TemplateKey);
descriptor: (Lsun/security/pkcs11/TemplateManager$TemplateKey;)Lsun/security/pkcs11/TemplateManager$Template;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new sun.security.pkcs11.TemplateManager$Template
dup
invokespecial sun.security.pkcs11.TemplateManager$Template.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.security.pkcs11.TemplateManager.primitiveTemplates:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: sun.security.pkcs11.TemplateManager sun.security.pkcs11.TemplateManager$TemplateKey sun.security.pkcs11.TemplateManager$Template top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.pkcs11.TemplateManager$KeyAndTemplate
astore 3
start local 3 3: aload 3
getfield sun.security.pkcs11.TemplateManager$KeyAndTemplate.key:Lsun/security/pkcs11/TemplateManager$TemplateKey;
aload 1
invokevirtual sun.security.pkcs11.TemplateManager$TemplateKey.appliesTo:(Lsun/security/pkcs11/TemplateManager$TemplateKey;)Z
ifeq 5
4: aload 2
aload 3
getfield sun.security.pkcs11.TemplateManager$KeyAndTemplate.template:Lsun/security/pkcs11/TemplateManager$Template;
invokevirtual sun.security.pkcs11.TemplateManager$Template.add:(Lsun/security/pkcs11/TemplateManager$Template;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/pkcs11/TemplateManager;
0 7 1 key Lsun/security/pkcs11/TemplateManager$TemplateKey;
1 7 2 comp Lsun/security/pkcs11/TemplateManager$Template;
3 5 3 entry Lsun/security/pkcs11/TemplateManager$KeyAndTemplate;
MethodParameters:
Name Flags
key
}
SourceFile: "TemplateManager.java"
NestMembers:
sun.security.pkcs11.TemplateManager$KeyAndTemplate sun.security.pkcs11.TemplateManager$Template sun.security.pkcs11.TemplateManager$TemplateKey
InnerClasses:
private KeyAndTemplate = sun.security.pkcs11.TemplateManager$KeyAndTemplate of sun.security.pkcs11.TemplateManager
private final Template = sun.security.pkcs11.TemplateManager$Template of sun.security.pkcs11.TemplateManager
private final TemplateKey = sun.security.pkcs11.TemplateManager$TemplateKey of sun.security.pkcs11.TemplateManager