ApduException Class
Namespace: Yubico.Core.Iso7816 Assembly: Yubico.Core.dllThe exception that is thrown when an ISO 7816 application has encountered an error.
public class ApduException : Exception
Constructors
Name | Description |
---|---|
ApduException() | Initializes a new instance of the ApduException class with a default message. |
ApduException(SerializationInfo, StreamingContext) | |
ApduException(String) | Initializes a new instance of the ApduException class with a specified error message. |
ApduException(String, Exception) | Initializes a new instance of the ApduException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
Cla | Gets or sets the APDU class associated with this exception. |
Ins | Gets or sets the APDU instruction associated with this exception. |
P1 | Gets or sets the P1 parameter associated with this exception. |
P2 | Gets or sets the P2 parameter associated with this exception. |
SW | Gets or sets the status word (SW), the ISO 7816 numerical value which represents the specific error or warning encountered. |