diff --git a/jwcrypto/jws.py b/jwcrypto/jws.py index 8f06522..cd72513 100644 --- a/jwcrypto/jws.py +++ b/jwcrypto/jws.py @@ -108,6 +108,7 @@ def __init__(self, alg, key, header, payload, algs=None): :raises ValueError: if the key is not a :class:`JWK` object :raises InvalidJWAAlgorithm: if the algorithm is not valid, is unknown or otherwise not yet implemented. + :raises InvalidJWSOperation: if the algorithm is not allowed. """ self.alg = alg self.engine = self._jwa(alg, algs)