Show / Hide Table of Contents

Interface ICardCommand

Interface for generic C-APDU, ie command to send to a smartcard.

Namespace: WSCT.Core.APDU
Assembly: WSCT.dll
Syntax
public interface ICardCommand

Properties

| Improve this Doc View Source

BinaryCommand

Raw binary representation of the C-APDU.

Declaration
byte[] BinaryCommand { get; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

StringCommand

Raw string representation (hexadecimal values) of the C-APDU.

Declaration
string StringCommand { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Parse(Byte[])

Parses a raw command cAPDU to send to the smartcard.

Declaration
ICardCommand Parse(byte[] cAPDU)
Parameters
Type Name Description
System.Byte[] cAPDU

C-APDU to send to the smartcard.

Returns
Type Description
ICardCommand

An instance of the ICardResponse representation of the R-APDU (this).

| Improve this Doc View Source

Parse(String)

Parses part of a raw hexa string command cAPDU to send to the smartcard.

Declaration
ICardCommand Parse(string cAPDU)
Parameters
Type Name Description
System.String cAPDU

C-APDU to send to the smartcard, represented by a string of hexadecimal values.

Returns
Type Description
ICardCommand

An instance of the ICardCommand representation of the C-APDU (this).

Extension Methods

JsonHelpers.WriteToJsonFile(Object, String)
JsonHelpers.WriteToJsonFile(Object, String, Boolean)
JsonHelpers.WriteToJsonString(Object)
JsonHelpers.WriteToJsonString(Object, Boolean)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX