public final class javax.smartcardio.TerminalFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.smartcardio.TerminalFactory
super_class: java.lang.Object
{
private static final java.lang.String PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.smartcardio.TerminalFactory.DefaultType"
private static final java.lang.String defaultType;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.smartcardio.TerminalFactory defaultFactory;
descriptor: Ljavax/smartcardio/TerminalFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final javax.smartcardio.TerminalFactorySpi spi;
descriptor: Ljavax/smartcardio/TerminalFactorySpi;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "javax.smartcardio.TerminalFactory.DefaultType"
ldc "PC/SC"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
2: invokevirtual java.lang.String.trim:()Ljava/lang/String;
3: astore 0
start local 0 4: aconst_null
astore 1
start local 1 5: aload 0
aconst_null
invokestatic javax.smartcardio.TerminalFactory.getInstance:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/smartcardio/TerminalFactory;
astore 1
6: goto 8
StackMap locals: java.lang.String javax.smartcardio.TerminalFactory
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 17
9: ldc "PC/SC"
astore 0
10: ldc "SunPCSC"
invokestatic java.security.Security.getProvider:(Ljava/lang/String;)Ljava/security/Provider;
astore 2
start local 2 11: aload 2
ifnonnull 14
12: ldc "sun.security.smartcardio.SunPCSC"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 13: aload 3
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.security.Provider
astore 2
end local 3 14: StackMap locals: java.security.Provider
StackMap stack:
aload 0
aconst_null
aload 2
invokestatic javax.smartcardio.TerminalFactory.getInstance:(Ljava/lang/String;Ljava/lang/Object;Ljava/security/Provider;)Ljavax/smartcardio/TerminalFactory;
astore 1
end local 2 15: goto 17
StackMap locals: java.lang.String javax.smartcardio.TerminalFactory
StackMap stack: java.lang.Exception
16: pop
17: StackMap locals:
StackMap stack:
aload 1
ifnonnull 22
18: ldc "None"
astore 0
19: new javax.smartcardio.TerminalFactory
dup
20: getstatic javax.smartcardio.TerminalFactory$NoneFactorySpi.INSTANCE:Ljavax/smartcardio/TerminalFactorySpi;
getstatic javax.smartcardio.TerminalFactory$NoneProvider.INSTANCE:Ljava/security/Provider;
ldc "None"
21: invokespecial javax.smartcardio.TerminalFactory.<init>:(Ljavax/smartcardio/TerminalFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V
astore 1
22: StackMap locals:
StackMap stack:
aload 0
putstatic javax.smartcardio.TerminalFactory.defaultType:Ljava/lang/String;
23: aload 1
putstatic javax.smartcardio.TerminalFactory.defaultFactory:Ljavax/smartcardio/TerminalFactory;
end local 1 end local 0 24: return
LocalVariableTable:
Start End Slot Name Signature
4 24 0 type Ljava/lang/String;
5 24 1 factory Ljavax/smartcardio/TerminalFactory;
11 15 2 sun Ljava/security/Provider;
13 14 3 clazz Ljava/lang/Class;
Exception table:
from to target type
5 6 7 Class java.lang.Exception
9 15 16 Class java.lang.Exception
private void <init>(javax.smartcardio.TerminalFactorySpi, java.security.Provider, java.lang.String);
descriptor: (Ljavax/smartcardio/TerminalFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.smartcardio.TerminalFactory.spi:Ljavax/smartcardio/TerminalFactorySpi;
2: aload 0
aload 2
putfield javax.smartcardio.TerminalFactory.provider:Ljava/security/Provider;
3: aload 0
aload 3
putfield javax.smartcardio.TerminalFactory.type:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/smartcardio/TerminalFactory;
0 5 1 spi Ljavax/smartcardio/TerminalFactorySpi;
0 5 2 provider Ljava/security/Provider;
0 5 3 type Ljava/lang/String;
MethodParameters:
Name Flags
spi
provider
type
public static java.lang.String getDefaultType();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.smartcardio.TerminalFactory.defaultType:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.smartcardio.TerminalFactory getDefault();
descriptor: ()Ljavax/smartcardio/TerminalFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.smartcardio.TerminalFactory.defaultFactory:Ljavax/smartcardio/TerminalFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.smartcardio.TerminalFactory getInstance(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljavax/smartcardio/TerminalFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc "TerminalFactory"
1: ldc Ljavax/smartcardio/TerminalFactorySpi;
aload 0
aload 1
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Lsun/security/jca/GetInstance$Instance;
astore 2
start local 2 3: new javax.smartcardio.TerminalFactory
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.smartcardio.TerminalFactorySpi
4: aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
5: invokespecial javax.smartcardio.TerminalFactory.<init>:(Ljavax/smartcardio/TerminalFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/String;
0 6 1 params Ljava/lang/Object;
3 6 2 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
type
params
public static javax.smartcardio.TerminalFactory getInstance(java.lang.String, java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)Ljavax/smartcardio/TerminalFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "TerminalFactory"
1: ldc Ljavax/smartcardio/TerminalFactorySpi;
aload 0
aload 1
aload 2
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
astore 3
start local 3 3: new javax.smartcardio.TerminalFactory
dup
aload 3
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.smartcardio.TerminalFactorySpi
4: aload 3
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
5: invokespecial javax.smartcardio.TerminalFactory.<init>:(Ljavax/smartcardio/TerminalFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/String;
0 6 1 params Ljava/lang/Object;
0 6 2 provider Ljava/lang/String;
3 6 3 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
type
params
provider
public static javax.smartcardio.TerminalFactory getInstance(java.lang.String, java.lang.Object, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/security/Provider;)Ljavax/smartcardio/TerminalFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "TerminalFactory"
1: ldc Ljavax/smartcardio/TerminalFactorySpi;
aload 0
aload 1
aload 2
2: invokestatic sun.security.jca.GetInstance.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/security/Provider;)Lsun/security/jca/GetInstance$Instance;
astore 3
start local 3 3: new javax.smartcardio.TerminalFactory
dup
aload 3
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.smartcardio.TerminalFactorySpi
4: aload 3
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
5: invokespecial javax.smartcardio.TerminalFactory.<init>:(Ljavax/smartcardio/TerminalFactorySpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/String;
0 6 1 params Ljava/lang/Object;
0 6 2 provider Ljava/security/Provider;
3 6 3 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
type
params
provider
public java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.TerminalFactory.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/TerminalFactory;
public java.lang.String getType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.TerminalFactory.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/TerminalFactory;
public javax.smartcardio.CardTerminals terminals();
descriptor: ()Ljavax/smartcardio/CardTerminals;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.TerminalFactory.spi:Ljavax/smartcardio/TerminalFactorySpi;
invokevirtual javax.smartcardio.TerminalFactorySpi.engineTerminals:()Ljavax/smartcardio/CardTerminals;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/TerminalFactory;
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: new java.lang.StringBuilder
dup
ldc "TerminalFactory for type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.smartcardio.TerminalFactory.type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " from provider "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield javax.smartcardio.TerminalFactory.provider:Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/smartcardio/TerminalFactory;
}
SourceFile: "TerminalFactory.java"
NestMembers:
javax.smartcardio.TerminalFactory$NoneCardTerminals javax.smartcardio.TerminalFactory$NoneFactorySpi javax.smartcardio.TerminalFactory$NoneProvider
InnerClasses:
private final NoneCardTerminals = javax.smartcardio.TerminalFactory$NoneCardTerminals of javax.smartcardio.TerminalFactory
private final NoneFactorySpi = javax.smartcardio.TerminalFactory$NoneFactorySpi of javax.smartcardio.TerminalFactory
private final NoneProvider = javax.smartcardio.TerminalFactory$NoneProvider of javax.smartcardio.TerminalFactory
public final Instance = sun.security.jca.GetInstance$Instance of sun.security.jca.GetInstance