aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-24 12:07:54 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-24 16:41:44 -0500
commit4e602f383aa7ee7e43b344e805d92f9626f4a8c7 (patch)
tree15356eb07291b80e92edd79ebe5da023306a0336 /docs/hazmat/backends/interfaces.rst
parentdcf63ab6bcee9d5a4ae837186db8f0804ddca62c (diff)
downloadcryptography-4e602f383aa7ee7e43b344e805d92f9626f4a8c7.tar.gz
cryptography-4e602f383aa7ee7e43b344e805d92f9626f4a8c7.tar.bz2
cryptography-4e602f383aa7ee7e43b344e805d92f9626f4a8c7.zip
RSA encryption support
Diffstat (limited to 'docs/hazmat/backends/interfaces.rst')
-rw-r--r--docs/hazmat/backends/interfaces.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 0349901a..ef7c0841 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -275,6 +275,18 @@ A specific ``backend`` may provide one or more of these interfaces.
:class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
provider.
+ .. method:: encrypt_rsa(public_key, plaintext, padding)
+
+ :param public_key: An instance of an
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
+ provider.
+
+ :param bytes plaintext: The plaintext to encrypt.
+
+ :param padding: An instance of an
+ :class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
+ provider.
+
.. class:: OpenSSLSerializationBackend