aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/backends/interfaces.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index c1ce621a..341fdc34 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -315,12 +315,28 @@ A specific ``backend`` may provide one or more of these interfaces.
:class:`~cryptography.hazmat.primitives.interfaces.AsymmetricPadding`
provider.
+<<<<<<< HEAD
:return bytes: The encrypted data.
:raises cryptography.exceptions.UnsupportedAlgorithm: If an unsupported
MGF, hash function, or padding is chosen.
:raises ValueError: When plaintext is too long for the key size.
+=======
+ .. method:: load_rsa_numbers(numbers):
+
+ :param numbers: An instance of
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers` or
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers`.
+
+ :returns: A provider of
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey` or
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`
+ depending on if it's input was an
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers` or
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers`.
+
+>>>>>>> 70cf9ba... Document the backend interface.
.. class:: TraditionalOpenSSLSerializationBackend