-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from bschoenmaeckers/master
Add WebAuthn base exception
- Loading branch information
Showing
1 changed file
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,70 @@ | ||
class InvalidRegistrationOptions(Exception): | ||
class WebAuthnException(Exception): | ||
pass | ||
|
||
|
||
class InvalidRegistrationResponse(Exception): | ||
class InvalidRegistrationOptions(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidAuthenticationOptions(Exception): | ||
class InvalidRegistrationResponse(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidAuthenticationResponse(Exception): | ||
class InvalidAuthenticationOptions(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidPublicKeyStructure(Exception): | ||
class InvalidAuthenticationResponse(WebAuthnException): | ||
pass | ||
|
||
|
||
class UnsupportedPublicKeyType(Exception): | ||
class InvalidPublicKeyStructure(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidJSONStructure(Exception): | ||
class UnsupportedPublicKeyType(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidAuthenticatorDataStructure(Exception): | ||
class InvalidJSONStructure(WebAuthnException): | ||
pass | ||
|
||
|
||
class SignatureVerificationException(Exception): | ||
class InvalidAuthenticatorDataStructure(WebAuthnException): | ||
pass | ||
|
||
|
||
class UnsupportedAlgorithm(Exception): | ||
class SignatureVerificationException(WebAuthnException): | ||
pass | ||
|
||
|
||
class UnsupportedPublicKey(Exception): | ||
class UnsupportedAlgorithm(WebAuthnException): | ||
pass | ||
|
||
|
||
class UnsupportedEC2Curve(Exception): | ||
class UnsupportedPublicKey(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidTPMPubAreaStructure(Exception): | ||
class UnsupportedEC2Curve(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidTPMCertInfoStructure(Exception): | ||
class InvalidTPMPubAreaStructure(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidCertificateChain(Exception): | ||
class InvalidTPMCertInfoStructure(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidBackupFlags(Exception): | ||
class InvalidCertificateChain(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidCBORData(Exception): | ||
class InvalidBackupFlags(WebAuthnException): | ||
pass | ||
|
||
|
||
class InvalidCBORData(WebAuthnException): | ||
pass |