Document InvalidJWSOperation exception for JWSCore constructor
Peter Meerwald-Stadler authored 2 years ago
Simo Sorce committed 2 years ago
107 | 107 | :raises ValueError: if the key is not a :class:`JWK` object |
108 | 108 | :raises InvalidJWAAlgorithm: if the algorithm is not valid, is |
109 | 109 | unknown or otherwise not yet implemented. |
110 | :raises InvalidJWSOperation: if the algorithm is not allowed. | |
110 | 111 | """ |
111 | 112 | self.alg = alg |
112 | 113 | self.engine = self._jwa(alg, algs) |