Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/jose/exceptions.py: 100%
24 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:16 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:16 +0000
1class JOSEError(Exception):
2 pass
5class JWSError(JOSEError):
6 pass
9class JWSSignatureError(JWSError):
10 pass
13class JWSAlgorithmError(JWSError):
14 pass
17class JWTError(JOSEError):
18 pass
21class JWTClaimsError(JWTError):
22 pass
25class ExpiredSignatureError(JWTError):
26 pass
29class JWKError(JOSEError):
30 pass
33class JWEError(JOSEError):
34 """Base error for all JWE errors"""
36 pass
39class JWEParseError(JWEError):
40 """Could not parse the JWE string provided"""
42 pass
45class JWEInvalidAuth(JWEError):
46 """
47 The authentication tag did not match the protected sections of the
48 JWE string provided
49 """
51 pass
54class JWEAlgorithmUnsupportedError(JWEError):
55 """
56 The JWE algorithm is not supported by the backend
57 """
59 pass