diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-13 21:03:00 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-16 17:03:40 -0400 |
commit | b5936a7817b535422574a3627473b13a5f21e5d8 (patch) | |
tree | a02c697daed7046959dad2bf54278edad2d2bf2b /docs | |
parent | 31b837fdefc1516e4e1dff7bfb8db9c4303078f0 (diff) | |
download | cryptography-b5936a7817b535422574a3627473b13a5f21e5d8.tar.gz cryptography-b5936a7817b535422574a3627473b13a5f21e5d8.tar.bz2 cryptography-b5936a7817b535422574a3627473b13a5f21e5d8.zip |
add RSA PSS verification support
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/padding.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/padding.rst b/docs/hazmat/primitives/asymmetric/padding.rst index 8a034329..aa48b313 100644 --- a/docs/hazmat/primitives/asymmetric/padding.rst +++ b/docs/hazmat/primitives/asymmetric/padding.rst @@ -17,6 +17,18 @@ Padding PKCS1 v1.5 (also known as simply PKCS1) is a simple padding scheme developed for use with RSA keys. It is defined in :rfc:`3447`. +.. class:: PSS(mgf) + + .. versionadded:: 0.3 + + PSS (Probabilistic Signature Scheme) is a signature scheme defined in + :rfc:`3447`. It is more complex than PKCS1 but possesses a `security proof`_. + This is the recommended padding algorithm for RSA. + + :param mgf: A mask generation function object. At this time the only + supported MGF is :class:`MGF1`. + + Mask Generation Functions ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -41,3 +53,4 @@ Mask Generation Functions .. _`Padding is critical`: http://rdist.root.org/2009/10/06/why-rsa-encryption-padding-is-critical/ +.. _`security proof`: http://eprint.iacr.org/2001/062.pdf |