Table of Contents

Interface IApduTransform

Namespace
Yubico.YubiKey
Assembly
Yubico.YubiKey.dll

Represents an arbitrary pipeline that accepts command APDUs and returns response APDUs.

public interface IApduTransform

Remarks

Can often be composed, using the constructor of an implementing type.

Methods

Cleanup()

Cleans up the pipeline; should be called only once, after all Invoke calls.

void Cleanup()

Invoke(CommandApdu, Type, Type)

Passes the supplied command into the pipeline, and returns the final response.

ResponseApdu Invoke(CommandApdu command, Type commandType, Type responseType)

Parameters

command CommandApdu
commandType Type
responseType Type

Returns

ResponseApdu

Setup()

Sets up the pipeline; should be called only once, before any Invoke calls.

void Setup()