diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-17 19:20:51 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-17 19:20:51 -0600 |
commit | e0f0f34c0c86f1fb729404bb87d637de9a4795ce (patch) | |
tree | fa3be4cb9828811ba603fe652401f38e24b582d9 /docs | |
parent | 2b3f0fc4d6641d040056466adc6dca7cfc75d3d5 (diff) | |
download | cryptography-e0f0f34c0c86f1fb729404bb87d637de9a4795ce.tar.gz cryptography-e0f0f34c0c86f1fb729404bb87d637de9a4795ce.tar.bz2 cryptography-e0f0f34c0c86f1fb729404bb87d637de9a4795ce.zip |
+ docs for AsymmetricSignContext, AsymmetricVerifyContext, AsymmetricPadding
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst index df17e59d..c0ddd79c 100644 --- a/docs/hazmat/primitives/interfaces.rst +++ b/docs/hazmat/primitives/interfaces.rst @@ -231,6 +231,39 @@ Asymmetric Interfaces The public exponent. Alias for :attr:`public_exponent`. +.. class:: AsymmetricSignContext + + .. versionadded:: 0.2 + + .. method:: update(data) + + :param bytes data: The data you wish to pass into the context. + + .. method:: finalize() + + :return bytes signature: The signature. + + +.. class:: AsymmetricVerifyContext + + .. versionadded:: 0.2 + + .. method:: update(data) + + :param bytes data: The data you wish to pass into the context. + + .. method:: finalize() + + :raises cryptography.exceptions.InvalidSignature: If signature does not + validate. + + +.. class:: AsymmetricPadding + + A named asymmetric padding. + + .. attribute:: name + Hash Algorithms ~~~~~~~~~~~~~~~ |