aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-24 13:38:12 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-24 13:38:12 -0700
commitc9dc0a050214e298e67e755ece21fbea3d17ae91 (patch)
treead7c5ac187ca5c56b96ed74b8baa0443a2caebed /docs
parenta57763a32722da0ec690a3f1f91e304d48f6943a (diff)
downloadcryptography-c9dc0a050214e298e67e755ece21fbea3d17ae91.tar.gz
cryptography-c9dc0a050214e298e67e755ece21fbea3d17ae91.tar.bz2
cryptography-c9dc0a050214e298e67e755ece21fbea3d17ae91.zip
Also fix up some phrasings
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/backends/interfaces.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 45cb1091..75494959 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -307,12 +307,12 @@ A specific ``backend`` may provide one or more of these interfaces.
.. method:: generate_dsa_parameters(key_size)
- :param int key_size: The length of the modulus in bits. It should be
- either 1024, 2048 or 3072. For keys generated in 2014 this should
+ :param int key_size: The length of the modulus in bits. It should be
+ either 1024, 2048 or 3072. For keys generated in 2014 this should
be at least 2048.
- Note that some applications (such as SSH) have not yet gained support
- for larger key sizes specified in FIPS 186-3 and are still restricted
- to only the 1024-bit keys specified in FIPS 186-2.
+ Note that some applications (such as SSH) have not yet gained
+ support for larger key sizes specified in FIPS 186-3 and are still
+ restricted to only the 1024-bit keys specified in FIPS 186-2.
:return: A new instance of a
:class:`~cryptography.hazmat.primitives.interfaces.DSAParameters`
@@ -328,9 +328,10 @@ A specific ``backend`` may provide one or more of these interfaces.
:class:`~cryptography.hazmat.primitives.interfaces.DSAPrivateKey`
provider.
- :raises ValueError: This is raised if the key size is not (1024 or 2048 or 3072)
- or if the OpenSSL version is older than 1.0.0 and the key size is larger than 1024
- because older OpenSSL versions don't support a key size larger than 1024.
+ :raises ValueError: This is raised if the key size is not (1024, 2048,
+ or 3072) or if the OpenSSL version is older than 1.0.0 and the key
+ size is larger than 1024; older OpenSSL versions do not support
+ keys larger than 1024 bits.
.. class:: CMACBackend