final class sun.security.smartcardio.PCSC extends sun.security.smartcardio.PlatformPCSC
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.smartcardio.PCSC
super_class: sun.security.smartcardio.PlatformPCSC
{
static final int SCARD_S_SUCCESS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int SCARD_E_CANCELLED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435070
static final int SCARD_E_CANT_DISPOSE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435058
static final int SCARD_E_INSUFFICIENT_BUFFER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435064
static final int SCARD_E_INVALID_ATR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435051
static final int SCARD_E_INVALID_HANDLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435069
static final int SCARD_E_INVALID_PARAMETER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435068
static final int SCARD_E_INVALID_TARGET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435067
static final int SCARD_E_INVALID_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435055
static final int SCARD_E_NO_MEMORY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435066
static final int SCARD_F_COMM_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435053
static final int SCARD_F_INTERNAL_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435071
static final int SCARD_F_UNKNOWN_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435052
static final int SCARD_F_WAITED_TOO_LONG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435065
static final int SCARD_E_UNKNOWN_READER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435063
static final int SCARD_E_TIMEOUT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435062
static final int SCARD_E_SHARING_VIOLATION;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435061
static final int SCARD_E_NO_SMARTCARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435060
static final int SCARD_E_UNKNOWN_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435059
static final int SCARD_E_PROTO_MISMATCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435057
static final int SCARD_E_NOT_READY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435056
static final int SCARD_E_SYSTEM_CANCELLED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435054
static final int SCARD_E_NOT_TRANSACTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435050
static final int SCARD_E_READER_UNAVAILABLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435049
static final int SCARD_W_UNSUPPORTED_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434971
static final int SCARD_W_UNRESPONSIVE_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434970
static final int SCARD_W_UNPOWERED_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434969
static final int SCARD_W_RESET_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434968
static final int SCARD_W_REMOVED_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434967
static final int SCARD_W_INSERTED_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146434966
static final int SCARD_E_UNSUPPORTED_FEATURE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435041
static final int SCARD_E_PCI_TOO_SMALL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435047
static final int SCARD_E_READER_UNSUPPORTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435046
static final int SCARD_E_DUPLICATE_READER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435045
static final int SCARD_E_CARD_UNSUPPORTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435044
static final int SCARD_E_NO_SERVICE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435043
static final int SCARD_E_SERVICE_STOPPED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435042
static final int SCARD_E_NO_READERS_AVAILABLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2146435026
static final int WINDOWS_ERROR_INVALID_HANDLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final int WINDOWS_ERROR_INVALID_PARAMETER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 87
static final int SCARD_SCOPE_USER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int SCARD_SCOPE_TERMINAL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCARD_SCOPE_SYSTEM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SCARD_SCOPE_GLOBAL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int SCARD_SHARE_EXCLUSIVE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCARD_SHARE_SHARED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SCARD_SHARE_DIRECT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int SCARD_LEAVE_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int SCARD_RESET_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCARD_UNPOWER_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SCARD_EJECT_CARD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int SCARD_STATE_UNAWARE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int SCARD_STATE_IGNORE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCARD_STATE_CHANGED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int SCARD_STATE_UNKNOWN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int SCARD_STATE_UNAVAILABLE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int SCARD_STATE_EMPTY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int SCARD_STATE_PRESENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final int SCARD_STATE_ATRMATCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final int SCARD_STATE_EXCLUSIVE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
static final int SCARD_STATE_INUSE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 256
static final int SCARD_STATE_MUTE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 512
static final int SCARD_STATE_UNPOWERED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1024
static final int TIMEOUT_INFINITE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final char[] hexDigits;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "0123456789abcdef"
invokevirtual java.lang.String.toCharArray:()[C
putstatic sun.security.smartcardio.PCSC.hexDigits:[C
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.smartcardio.PlatformPCSC.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/smartcardio/PCSC;
static void checkAvailable();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic sun.security.smartcardio.PCSC.initException:Ljava/lang/Throwable;
ifnull 4
1: new java.lang.UnsupportedOperationException
dup
2: ldc "PC/SC not available on this platform"
getstatic sun.security.smartcardio.PCSC.initException:Ljava/lang/Throwable;
3: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.RuntimeException
static native long SCardEstablishContext(int);
descriptor: (I)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
scope
static native java.lang.String[] SCardListReaders(long);
descriptor: (J)[Ljava/lang/String;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
contextId
static native long SCardConnect(long, java.lang.String, int, int);
descriptor: (JLjava/lang/String;II)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
contextId
readerName
shareMode
preferredProtocols
static native byte[] SCardTransmit(long, int, byte[], int, int);
descriptor: (JI[BII)[B
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
protocol
buf
ofs
len
static native byte[] SCardStatus(long, byte[]);
descriptor: (J[B)[B
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
status
static native void SCardDisconnect(long, int);
descriptor: (JI)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
disposition
static native int[] SCardGetStatusChange(long, long, int[], java.lang.String[]);
descriptor: (JJ[I[Ljava/lang/String;)[I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
contextId
timeout
currentState
readerNames
static native void SCardBeginTransaction(long);
descriptor: (J)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
static native void SCardEndTransaction(long, int);
descriptor: (JI)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
disposition
static native byte[] SCardControl(long, int, byte[]);
descriptor: (JI[B)[B
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.security.smartcardio.PCSCException
MethodParameters:
Name Flags
cardId
controlCode
sendBuffer
public static java.lang.String toString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
arraylength
iconst_3
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 9
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
baload
sipush 255
iand
istore 3
start local 3 4: iload 2
ifeq 6
5: aload 1
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.security.smartcardio.PCSC.hexDigits:[C
iload 3
iconst_4
iushr
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 1
getstatic sun.security.smartcardio.PCSC.hexDigits:[C
iload 3
bipush 15
iand
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 b [B
1 11 1 sb Ljava/lang/StringBuilder;
2 10 2 i I
4 8 3 k I
MethodParameters:
Name Flags
b
}
SourceFile: "PCSC.java"