CommandApdu Class
Namespace: Yubico.Core.Iso7816 Assembly: Yubico.Core.dllRepresents an ISO 7816 application command
C#
public class CommandApdu : Object
Inheritance
System.Object
CommandApdu
Constructors
Name | Description |
---|---|
CommandApdu() | Initializes a new instance of the CommandApdu class. |
Properties
Name | Description |
---|---|
Cla | Indicates the class of the instruction. |
Data | Gets or sets the optional command data payload. |
Ins | Indicates the command or instruction to process. |
Nc | The number of bytes in Data. |
Ne | The maximum number of bytes expected in the response data. Must be a non-negative number. |
P1 | First parameter byte. |
P2 | Second parameter byte. |
Methods
Name | Description |
---|---|
AsByteArray() | Transforms the CommandApdu into an array of bytes. |
AsByteArray(ApduEncoding) | Transforms the CommandApdu into an array of bytes. |