Show / Hide Table of Contents

Interface ICardResponse

Interface for generic R-APDU, ie response of smartcard.

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

Methods

| Improve this Doc View Source

Parse(Byte[])

Parses a raw response rAPDU coming from the smartcard.

Declaration
ICardResponse Parse(byte[] rAPDU)
Parameters
Type Name Description
System.Byte[] rAPDU

R-APDU received from the smartcard.

Returns
Type Description
ICardResponse

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

| Improve this Doc View Source

Parse(Byte[], UInt32)

Parses part of a raw response rAPDU coming from the smartcard.

Declaration
ICardResponse Parse(byte[] rAPDU, uint size)
Parameters
Type Name Description
System.Byte[] rAPDU

R-APDU received from the smartcard.

System.UInt32 size

Number of bytes from rAPDU to parse.

Returns
Type Description
ICardResponse

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 response rAPDU coming from the smartcard.

Declaration
ICardResponse Parse(string rAPDU)
Parameters
Type Name Description
System.String rAPDU

R-APDU received from the smartcard, represented by a System.String of hexadecimal values.

Returns
Type Description
ICardResponse

An instance of the ICardResponse representation of the R-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