diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-20 21:48:17 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-06-20 21:48:17 -0600 |
commit | 6e85b179a8da26b26ef53ff88c08172b61e37898 (patch) | |
tree | f65931859d53ca6f4361126bd36d8ab8dd7d4f28 /docs/hazmat | |
parent | 7894daa9a9bd42cd14f1ba72026e054b7ca3a000 (diff) | |
download | cryptography-6e85b179a8da26b26ef53ff88c08172b61e37898.tar.gz cryptography-6e85b179a8da26b26ef53ff88c08172b61e37898.tar.bz2 cryptography-6e85b179a8da26b26ef53ff88c08172b61e37898.zip |
deprecate mgf1_hash_supported. fixes #1133
Diffstat (limited to 'docs/hazmat')
-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` |