public final class javax.smartcardio.ResponseAPDU implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.smartcardio.ResponseAPDU
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6962744978375594225
private byte[] apdu;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 1
2: aload 1
invokestatic javax.smartcardio.ResponseAPDU.check:([B)V
3: aload 0
aload 1
putfield javax.smartcardio.ResponseAPDU.apdu:[B
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/smartcardio/ResponseAPDU;
0 5 1 apdu [B
MethodParameters:
Name Flags
apdu
private static void check(byte[]);
descriptor: ([B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "apdu must be at least 2 bytes long"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 apdu [B
MethodParameters:
Name Flags
apdu
public int getNr();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
arraylength
iconst_2
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
public byte[] getData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
arraylength
iconst_2
isub
newarray 8
astore 1
start local 1 1: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
iconst_0
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/smartcardio/ResponseAPDU;
1 3 1 data [B
public int getSW1();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
arraylength
iconst_2
isub
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
public int getSW2();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
arraylength
iconst_1
isub
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
public int getSW();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.smartcardio.ResponseAPDU.getSW1:()I
bipush 8
ishl
aload 0
invokevirtual javax.smartcardio.ResponseAPDU.getSW2:()I
ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
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 "ResponseAPDU: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes, SW="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual javax.smartcardio.ResponseAPDU.getSW:()I
invokestatic java.lang.Integer.toHexString:(I)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/ResponseAPDU;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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 1
instanceof javax.smartcardio.ResponseAPDU
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.smartcardio.ResponseAPDU
astore 2
start local 2 5: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
aload 2
getfield javax.smartcardio.ResponseAPDU.apdu:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/smartcardio/ResponseAPDU;
0 6 1 obj Ljava/lang/Object;
5 6 2 other Ljavax/smartcardio/ResponseAPDU;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
invokestatic java.util.Arrays.hashCode:([B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/smartcardio/ResponseAPDU;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readUnshared:()Ljava/lang/Object;
checkcast byte[]
putfield javax.smartcardio.ResponseAPDU.apdu:[B
1: aload 0
getfield javax.smartcardio.ResponseAPDU.apdu:[B
invokestatic javax.smartcardio.ResponseAPDU.check:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/smartcardio/ResponseAPDU;
0 3 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
}
SourceFile: "ResponseAPDU.java"