diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-31 08:42:27 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-31 08:42:27 -0500 |
commit | 476682af2d4a9438026e69b6c1f3500c19f2f200 (patch) | |
tree | ed3e442cfc66e62a1ba7133404856b0752ba7295 /docs | |
parent | 99b0b1f78d5ca9888f996d8d9b0392ca32b8210f (diff) | |
parent | 230457a605999bbdd49df7592290956d80863f3c (diff) | |
download | cryptography-476682af2d4a9438026e69b6c1f3500c19f2f200.tar.gz cryptography-476682af2d4a9438026e69b6c1f3500c19f2f200.tar.bz2 cryptography-476682af2d4a9438026e69b6c1f3500c19f2f200.zip |
Merge pull request #869 from skeuomorf/dsa-private-key
Add DSA private key api, docs and tests
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/dsa.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst index e93bd447..69e8d58e 100644 --- a/docs/hazmat/primitives/asymmetric/dsa.rst +++ b/docs/hazmat/primitives/asymmetric/dsa.rst @@ -24,6 +24,23 @@ DSA not match the bounds specified in `FIPS 186-4`_. +.. class:: DSAPrivateKey(modulus, subgroup_order, generator, x, y) + + .. versionadded:: 0.4 + + A DSA private key is required for signing messages. + + This class conforms to the + :class:`~cryptography.hazmat.primitives.interfaces.DSAPrivateKey` + interface. + + :raises TypeError: This is raised when the arguments are not all integers. + + :raises ValueError: This is raised when the values of ``modulus``, + ``subgroup_order``, or ``generator`` do + not match the bounds specified in `FIPS 186-4`_. + + .. class:: DSAPublicKey(modulus, subgroup_order, generator, y) .. versionadded:: 0.4 |