pub enum CtapError {
Show 48 variants
Ok,
Ctap1InvalidCommand,
Ctap1InvalidParameter,
Ctap1InvalidLength,
Ctap1InvalidSeq,
Ctap1Timeout,
Ctap1ChannelBusy,
Ctap1LockRequired,
Ctap1InvalidChannel,
Ctap2CborUnexpectedType,
Ctap2InvalidCBOR,
Ctap2MissingParameter,
Ctap2LimitExceeded,
Ctap2FingerprintDatabaseFull,
Ctap2LargeBlobStorageFull,
Ctap2CredentialExcluded,
Ctap2Processing,
Ctap2InvalidCredential,
Ctap2UserActionPending,
Ctap2OperationPending,
Ctap2NoOperations,
Ctap2UnsupportedAlgorithm,
Ctap2OperationDenied,
Ctap2KeyStoreFull,
Ctap2UnsupportedOption,
Ctap2InvalidOption,
Ctap2KeepAliveCancel,
Ctap2NoCredentials,
Ctap2UserActionTimeout,
Ctap2NotAllowed,
Ctap2PinInvalid,
Ctap2PinBlocked,
Ctap2PinAuthInvalid,
Ctap2PinAuthBlocked,
Ctap2PinNotSet,
Ctap2PUATRequired,
Ctap2PinPolicyViolation,
Ctap2RequestTooLarge,
Ctap2ActionTimeout,
Ctap2UserPresenceRequired,
Ctap2UserVerificationBlocked,
Ctap2IntegrityFailure,
Ctap2InvalidSubcommand,
Ctap2UserVerificationInvalid,
Ctap2UnauthorizedPermission,
Ctap1Unspecified,
Ctap2LastError,
Unknown(u8),
}Expand description
Variants§
Ok
Indicates successful response.
Ctap1InvalidCommand
The command is not a valid CTAP command.
Ctap1InvalidParameter
The command included an invalid parameter.
Ctap1InvalidLength
Invalid message or item length.
Ctap1InvalidSeq
Invalid message sequencing.
Ctap1Timeout
Message timed out.
Ctap1ChannelBusy
Channel busy. Client SHOULD retry the request after a short delay. Note that the client MAY abort the transaction if the command is no longer relevant.
Ctap1LockRequired
Command not allowed on this cid.
Ctap1InvalidChannel
Command not allowed on this cid.
Ctap2CborUnexpectedType
Ctap2InvalidCBOR
Ctap2MissingParameter
Ctap2LimitExceeded
Ctap2FingerprintDatabaseFull
Ctap2LargeBlobStorageFull
Ctap2CredentialExcluded
Ctap2Processing
Ctap2InvalidCredential
Ctap2UserActionPending
Ctap2OperationPending
Ctap2NoOperations
Ctap2UnsupportedAlgorithm
Ctap2OperationDenied
Ctap2KeyStoreFull
Ctap2UnsupportedOption
Ctap2InvalidOption
Ctap2KeepAliveCancel
Ctap2NoCredentials
Ctap2UserActionTimeout
Ctap2NotAllowed
Ctap2PinInvalid
Ctap2PinBlocked
Ctap2PinAuthInvalid
Ctap2PinAuthBlocked
Ctap2PinNotSet
Ctap2PUATRequired
Ctap2PinPolicyViolation
Ctap2RequestTooLarge
Ctap2ActionTimeout
Ctap2UserPresenceRequired
Ctap2UserVerificationBlocked
Ctap2IntegrityFailure
Ctap2InvalidSubcommand
Ctap2UserVerificationInvalid
Ctap1Unspecified
Ctap2LastError
Unknown(u8)
The error code was unknown
Implementations§
Trait Implementations§
source§impl From<CtapError> for WebauthnCError
impl From<CtapError> for WebauthnCError
source§impl PartialEq for CtapError
impl PartialEq for CtapError
impl Eq for CtapError
impl StructuralPartialEq for CtapError
Auto Trait Implementations§
impl Freeze for CtapError
impl RefUnwindSafe for CtapError
impl Send for CtapError
impl Sync for CtapError
impl Unpin for CtapError
impl UnwindSafe for CtapError
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more