diff options
Diffstat (limited to 'jwcrypto')
-rw-r--r-- | jwcrypto/jws.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jwcrypto/jws.py b/jwcrypto/jws.py index e2e97c0..2ed4698 100644 --- a/jwcrypto/jws.py +++ b/jwcrypto/jws.py @@ -159,9 +159,12 @@ class _raw_none(_raw_jws): class JWSCore(object): def __init__(self, alg, key, header, payload): - """ Generates or verifies JWS tokens. + """ Core JWS token handling. See draft-ietf-jose-json-web-signature-41 + NOTE: Users should normally use JWS, not JWSCore, + as JWS perform necessary checks not performed by JWSCore. + :param alg: The algorithm used to produce the signature. See draft-ietf-jose-json-web-algorithms-24 |