Show / Hide Table of Contents

MalformedYubiKeyResponseException Class

Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dll

The exception thrown when the data received from the YubiKey does not match the expectations of the response class's parser.

C#
[Serializable]
public class MalformedYubiKeyResponseException : Exception
Inheritance object Exception 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

Exception
In this article
Back to top Generated by DocFX