pub enum StatusCode {
Show 42 variants
OK,
InvalidCommand,
InvalidParameter,
InvalidLength,
InvalidSeq,
Timeout,
ChannelBusy,
LockRequired,
InvalidChannel,
CBORUnexpectedType,
InvalidCBOR,
MissingParameter,
LimitExceeded,
UnsupportedExtension,
CredentialExcluded,
Processing,
InvalidCredential,
UserActionPending,
OperationPending,
NoOperations,
UnsupportedAlgorithm,
OperationDenied,
KeyStoreFull,
NoOperationPending,
UnsupportedOption,
InvalidOption,
KeepaliveCancel,
NoCredentials,
UserActionTimeout,
NotAllowed,
PinInvalid,
PinBlocked,
PinAuthInvalid,
PinAuthBlocked,
PinNotSet,
PinRequired,
PinPolicyViolation,
PinTokenExpired,
RequestTooLarge,
ActionTimeout,
UpRequired,
Unknown(u8),
}Variants§
OK
Indicates successful response.
InvalidCommand
The command is not a valid CTAP command.
InvalidParameter
The command included an invalid parameter.
InvalidLength
Invalid message or item length.
InvalidSeq
Invalid message sequencing.
Timeout
Message timed out.
ChannelBusy
Channel busy.
LockRequired
Command requires channel lock.
InvalidChannel
Command not allowed on this cid.
CBORUnexpectedType
Invalid/unexpected CBOR error.
InvalidCBOR
Error when parsing CBOR.
MissingParameter
Missing non-optional parameter.
LimitExceeded
Limit for number of items exceeded.
UnsupportedExtension
Unsupported extension.
CredentialExcluded
Valid credential found in the exclude list.
Processing
Processing (Lengthy operation is in progress).
InvalidCredential
Credential not valid for the authenticator.
UserActionPending
Authentication is waiting for user interaction.
OperationPending
Processing, lengthy operation is in progress.
NoOperations
No request is pending.
UnsupportedAlgorithm
Authenticator does not support requested algorithm.
OperationDenied
Not authorized for requested operation.
KeyStoreFull
Internal key storage is full.
NoOperationPending
No outstanding operations.
UnsupportedOption
Unsupported option.
InvalidOption
Not a valid option for current operation.
KeepaliveCancel
Pending keep alive was cancelled.
NoCredentials
No valid credentials provided.
UserActionTimeout
Timeout waiting for user interaction.
NotAllowed
Continuation command, such as, authenticatorGetNextAssertion not allowed.
PinInvalid
PIN Invalid.
PinBlocked
PIN Blocked.
PinAuthInvalid
PIN authentication,pinAuth, verification failed.
PinAuthBlocked
PIN authentication,pinAuth, blocked. Requires power recycle to reset.
PinNotSet
No PIN has been set.
PinRequired
PIN is required for the selected operation.
PinPolicyViolation
PIN policy violation. Currently only enforces minimum length.
PinTokenExpired
pinToken expired on authenticator.
RequestTooLarge
Authenticator cannot handle this request due to memory constraints.
ActionTimeout
The current operation has timed out.
UpRequired
User presence is required for the requested operation.
Unknown(u8)
Unknown status.