diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-01 22:52:34 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-05-01 22:52:34 -0700 |
commit | c7f3d9723d7512a95f5d9b56d7c02156df04936c (patch) | |
tree | 465162cd2b9c8cabc1a4459b31e488ef84c45dee /docs/hazmat/primitives/interfaces.rst | |
parent | 8c977a3bac7476b1d8a59c42bc96cf7ad08f430e (diff) | |
parent | 262e0051ce6d51ab4937f8da99e850d9e403572a (diff) | |
download | cryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.tar.gz cryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.tar.bz2 cryptography-c7f3d9723d7512a95f5d9b56d7c02156df04936c.zip |
Merge pull request #991 from reaperhulk/dsa-sign
DSA signing support
Diffstat (limited to 'docs/hazmat/primitives/interfaces.rst')
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst index feafe941..dc09a26f 100644 --- a/docs/hazmat/primitives/interfaces.rst +++ b/docs/hazmat/primitives/interfaces.rst @@ -381,6 +381,23 @@ Asymmetric interfaces The DSAParameters object associated with this private key. + .. method:: signer(algorithm, backend) + + .. versionadded:: 0.4 + + Sign data which can be verified later by others using the public key. + + :param algorithm: An instance of a + :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` + provider. + + :param backend: A + :class:`~cryptography.hazmat.backends.interfaces.DSABackend` + provider. + + :returns: + :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricSignatureContext` + .. attribute:: key_size :type: int |