diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-24 18:35:02 -0500 | 
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-05-24 18:35:02 -0500 | 
| commit | c333dbc4bfa29a1d80c1030b41cc02facd9a8325 (patch) | |
| tree | 8b7dd0891517af2e10b44944e847e2b8d3ed0f69 /docs | |
| parent | ebf1235e7ebbd84d2f1e05a060c6df25adb58353 (diff) | |
| download | cryptography-c333dbc4bfa29a1d80c1030b41cc02facd9a8325.tar.gz cryptography-c333dbc4bfa29a1d80c1030b41cc02facd9a8325.tar.bz2 cryptography-c333dbc4bfa29a1d80c1030b41cc02facd9a8325.zip  | |
add rsa_padding_supported interface to RSABackend and OpenSSL backend
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/hazmat/backends/interfaces.rst | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index ff389cb5..e98b9a59 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -263,6 +263,17 @@ A specific ``backend`` may provide one or more of these interfaces.          :returns: ``True`` if the specified ``algorithm`` is supported by this              backend, otherwise ``False``. +    .. method:: rsa_padding_supported(padding) + +        Check if the specified ``padding`` is supported by the backend. + +        :param padding: An instance of an +            :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding` +            provider. + +        :returns: ``True`` if the specified ``padding`` is supported by this +            backend, otherwise ``False``. +      .. method:: decrypt_rsa(private_key, ciphertext, padding)          :param private_key: An instance of an  | 
