aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/backends/interfaces.rst19
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index c7d5667d..a32829fc 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -322,18 +322,21 @@ A specific ``backend`` may provide one or more of these interfaces.
:raises ValueError: When plaintext is too long for the key size.
- .. method:: load_rsa_numbers(numbers):
+ .. method:: load_rsa_private_numbers(numbers):
:param numbers: An instance of
- :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers` or
- :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers`.
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`.
: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`.
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`.
+
+ .. method:: load_rsa_public_numbers(numbers):
+
+ :param numbers: An instance of
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`.
+
+ :returns: A provider of
+ :class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`.
.. class:: TraditionalOpenSSLSerializationBackend