Show / Hide Table of Contents

CommandApdu Class

Namespace: Yubico.Core.Iso7816 Assembly: Yubico.Core.dll

Represents an ISO 7816 application command

C#
public class CommandApdu
Inheritance 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.

In this article
Back to top Generated by DocFX