Class PivResponse
Base class for all PIV responses. Use this class to represent the status of a PIV command, or one of its derived classes to retrieve the full response.
public class PivResponse : YubiKeyResponse, IYubiKeyResponse
- Inheritance
-
objectPivResponse
- Implements
- Derived
- Inherited Members
Constructors
PivResponse(ResponseApdu)
Constructs a PivResponse based on a ResponseApdu received from the YubiKey.
public PivResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduThe object containing the response APDU
returned by the YubiKey.
Properties
StatusCodeMap
Retrieves the details describing the processing state.
protected override YubiKeyResponse.ResponseStatusPair StatusCodeMap { get; }
Property Value
- YubiKeyResponse.ResponseStatusPair
The ResponseStatus and a descriptive message, as a YubiKeyResponse.ResponseStatusPair.
Remarks
Implementers of subtypes can override this member to change or add mappings.