Generic utility class for evaluating and processing of smart card response APDUs
according to ISO 7816-4.
Namespace:
CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Top
Top
Top
Top
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Class CardResponseAPDU
Implements ICloneable
This language is not supported or no code example is available.
public class CardResponseAPDU : ICloneable
This language is not supported or no code example is available.
public ref class CardResponseAPDU : public ICloneable^
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
![]() |
CardResponseAPDU(byte[], int, int, int) | Construct a CardResponseAPDU instance from a the response data and the status word SW. |
![]() |
CardResponseAPDU(byte[], int) | Construct a CardResponseAPDU instance from a the response data and the status word SW. |
![]() |
CardResponseAPDU(int) | Construct a CardResponseAPDU instance that contains just a status word SW. |
Name | Description | |
---|---|---|
![]() |
IsCheckingError | Is true when the status word indicates a checking error according to ISO 7816-4. |
![]() |
IsError | Is true when the status word indicates an error according to ISO 7816-4. |
![]() |
IsExecutionError | Is true when the status word indicates an execution error according to ISO 7816-4. |
![]() |
IsExtended | Indicates whether this is an extended ISO 7816-4 response APDU. |
![]() |
IsSuccessful | Is true when the status word indicates success according to ISO 7816-4. |
![]() |
IsWarning | Is true when the status word indicates a warning according to ISO 7816-4. |
![]() |
Lr | Provides the length Lr of an ISO 7816-4 response APDU. This is the actual length of the data field returned by GetData. |
![]() |
SW | Access to the status word of an ISO 7816-4 response APDU. |
![]() |
SW1 | Access to the byte SW1 of the status word of an ISO 7816-4 response APDU. |
![]() |
SW2 | Access to the byte SW2 of the status word of an ISO 7816-4 response APDU. |
Name | Description | |
---|---|---|
![]() |
AppendData(byte[]) | Appends the given data block to the data field of this response APDU. |
![]() |
Clone() | Creates a new CardResponseAPDU instance that is a complete and deep copy of this CardResponseAPDU instance. |
![]() |
GenerateBytes() | Generates the complete response APDU into a newly allocated raw byte array. |
![]() |
GetData() | Returns the data field of an ISO 7816-4 response APDU. |
![]() ![]() |
ParseBytes(byte[]) | Creates a CardResponseAPDU instance by parsing a response APDU given as a byte array. |
![]() ![]() |
ParseBytes(byte[], int, int) | Creates a CardResponseAPDU instance by parsing a response APDU given as a range inside a byte array. |
![]() |
SetData(byte[]) | Adds or replaces the data field of this response APDU. |
![]() |
SetData(byte[], int, int) | Adds or replaces the data field of this response APDU. |
![]() |
ToString() | Formats this response APDU, including all its data, in a nice human readable fashion. |
![]() |
TruncateData(int) | Truncates the data block of this response APDU at the given size. |
Name | Description | |
---|---|---|
![]() ![]() |
MAXEXTENDEDLENGTH | (Immutable) The max length in bytes of a single ISO 7816-4 response APDU when extended length fields are used. |
![]() ![]() |
MAXEXTENDEDLR | (Immutable) The max size of the data field of an ISO 7816-4 response APDU with extended length fields. |
![]() ![]() |
MAXSHORTLENGTH | (Immutable) The max length in bytes of a single ISO 7816-4 response APDU when short length fields are used. |
![]() ![]() |
MAXSHORTLR | (Immutable) The max size of the data field of an ISO 7816-4 response APDU with short length fields. |
![]() ![]() |
MINLENGTH | (Immutable) The min length of any ISO 7816-4 response APDU. |