aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/rsa.rst
diff options
context:
space:
mode:
authorPhoebe Queen <foibey@gmail.com>2016-01-29 00:09:08 +0000
committerPhoebe Queen <foibey@gmail.com>2016-01-29 00:09:08 +0000
commite783fabd175dbdeac734cf537ec2b6b9a9d67cee (patch)
treeaf0d53b017f758b1557aa4dd53e2e9e365e94021 /docs/hazmat/primitives/asymmetric/rsa.rst
parenta63879cddd5590542fe54844691c78d93b46f6a8 (diff)
downloadcryptography-e783fabd175dbdeac734cf537ec2b6b9a9d67cee.tar.gz
cryptography-e783fabd175dbdeac734cf537ec2b6b9a9d67cee.tar.bz2
cryptography-e783fabd175dbdeac734cf537ec2b6b9a9d67cee.zip
Minor doc tweak per issue #2694
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/rsa.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index bc2402de..1e18915c 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -271,7 +271,7 @@ Padding
Pass this attribute to ``salt_length`` to get the maximum salt length
available.
-.. class:: OAEP(mgf, label)
+.. class:: OAEP(mgf, algorithm, label)
.. versionadded:: 0.4
@@ -283,6 +283,10 @@ Padding
:param mgf: A mask generation function object. At this time the only
supported MGF is :class:`MGF1`.
+ :param algorithm: An instance of a
+ :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
+ provider.
+
:param bytes label: A label to apply. This is a rarely used field and
should typically be set to ``None`` or ``b""``, which are equivalent.