MalformedYubiKeyResponseException Class
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllThe exception thrown when the data received from the YubiKey does not match the expectations of the response class's parser.
C#
public class MalformedYubiKeyResponseException : Exception
Inheritance
System.Object
MalformedYubiKeyResponseException
Constructors
Name | Description |
---|---|
MalformedYubiKeyResponseException() | Initializes a new instance of the MalformedYubiKeyResponseException class. |
MalformedYubiKeyResponseException(SerializationInfo, StreamingContext) | |
MalformedYubiKeyResponseException(String) | Initializes a new instance of the MalformedYubiKeyResponseException class. |
MalformedYubiKeyResponseException(String, Exception) | Initializes a new instance of the MalformedYubiKeyResponseException class. |
Properties
Name | Description |
---|---|
ActualDataLength | Gets or sets the actual length of the data received from the YubiKey. |
DataErrorIndex | Gets or sets the index into the data field where the parsing error occurred, if known. |
ExpectedDataLength | Gets or sets the expected length of the data for this response. |
ResponseClass | Gets or sets the name of the IYubiKeyResponse implementation class. |
See Also
System.Exception