diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-15 11:57:32 -0430 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-15 11:57:32 -0430 |
commit | d49eae65a42ea08719253bed400fe81203bf7d38 (patch) | |
tree | 3a9de2deb5ab0702d61038cfc5f10c12250b8c21 /docs | |
parent | c56b3a10d52017fd95bdb8a97c343ef4096e6537 (diff) | |
parent | 35afbcb3fd5b45b91c34395c031ea4cf15a39244 (diff) | |
download | cryptography-d49eae65a42ea08719253bed400fe81203bf7d38.tar.gz cryptography-d49eae65a42ea08719253bed400fe81203bf7d38.tar.bz2 cryptography-d49eae65a42ea08719253bed400fe81203bf7d38.zip |
Merge pull request #799 from Ayrx/add-backend-check-to-kdf
Added backend check to kdf primitives
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/key-derivation-functions.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/key-derivation-functions.rst b/docs/hazmat/primitives/key-derivation-functions.rst index 851dbb0b..174b68d2 100644 --- a/docs/hazmat/primitives/key-derivation-functions.rst +++ b/docs/hazmat/primitives/key-derivation-functions.rst @@ -84,6 +84,10 @@ Different KDFs are suitable for different tasks such as: :class:`~cryptography.hazmat.backends.interfaces.PBKDF2HMACBackend` provider. + :raises cryptography.exceptions.UnsupportedInterface: This is raised if the + provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.PBKDF2HMACBackend` + .. method:: derive(key_material) :param bytes key_material: The input key material. For PBKDF2 this @@ -183,6 +187,10 @@ Different KDFs are suitable for different tasks such as: :class:`~cryptography.hazmat.backends.interfaces.HMACBackend` provider. + :raises cryptography.exceptions.UnsupportedInterface: This is raised if the + provided ``backend`` does not implement + :class:`~cryptography.hazmat.backends.interfaces.HMACBackend` + .. method:: derive(key_material) :param bytes key_material: The input key material. |