Class AuthenticateCommand
The base class for some of the General Authenticate command classes, containing shared code.
public abstract class AuthenticateCommand
- Inheritance
-
objectAuthenticateCommand
- Derived
Properties
Application
Gets the YubiKeyApplication to which this command belongs. For this command it's PIV.
public YubiKeyApplication Application { get; }
Property Value
- YubiKeyApplication
YubiKeyApplication.Piv
Data
The data following the DataTag
.
protected ReadOnlyMemory<byte> Data { get; set; }
Property Value
- ReadOnlyMemory<byte>
DataTag
The tag used for building the data portion of the APDU.
protected byte DataTag { get; set; }
Property Value
- byte
SlotNumber
The slot holding the key to use.
public byte SlotNumber { get; set; }
Property Value
- byte
The slot number, see PivSlot
Exceptions
- ArgumentException
The slot specified is not valid for public key operations.
Methods
CreateCommandApdu()
public CommandApdu CreateCommandApdu()