diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-06-21 12:45:52 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-06-21 12:45:52 -0700 |
commit | 79a5130f7985aecd6b0680aa4a3f2d142d0bdc26 (patch) | |
tree | a6ef1d1fbb76bdbf842fe22c542f23424a819d20 /docs | |
parent | 5c86c317bd4a37a6f78bb4f1c2a0a3ae88967abc (diff) | |
parent | 6e85b179a8da26b26ef53ff88c08172b61e37898 (diff) | |
download | cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.tar.gz cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.tar.bz2 cryptography-79a5130f7985aecd6b0680aa4a3f2d142d0bdc26.zip |
Merge pull request #1159 from reaperhulk/deprecate-mgf1
deprecate mgf1_hash_supported
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index a18a3d57..9e476f72 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -255,10 +255,13 @@ A specific ``backend`` may provide one or more of these interfaces. .. method:: mgf1_hash_supported(algorithm) + ..deprecated:: 0.5 + Check if the specified ``algorithm`` is supported for use with :class:`~cryptography.hazmat.primitives.asymmetric.padding.MGF1` inside :class:`~cryptography.hazmat.primitives.asymmetric.padding.PSS` - padding. + padding. This method is deprecated in favor of + ``rsa_padding_supported``. :param algorithm: An instance of a :class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` |