Skip to content

Commit 8e3eaba

Browse files
committed
Basic JWE doc
1 parent e336831 commit 8e3eaba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/jwe.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ Decrypting using the encrypted message above.
6565
>>> _dkey = RSAKey(priv_key=priv_key)
6666
>>> msg = _decryptor.decrypt(jwe, [_dkey])
6767

68+
or if you know what you're doing::
69+
70+
>>> _decryptor = JWE_RSA()
71+
>>> msg = _decryptor.decrypt(jwt, priv_key)
72+
73+
74+
6875

6976

7077
.. _RFC7516: https://tools.ietf.org/html/rfc7516

0 commit comments

Comments
 (0)