Document the valueerror these might raise.
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index a32829f..769ab98 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -330,6 +330,10 @@
:returns: A provider of
:class:`~cryptography.hazmat.primitives.interfaces.RSAPrivateKey`.
+ :raises ValueError: This is raised when the values of ``p``, ``q``,
+ ``private_exponent``, ``public_exponent``, or ``modulus`` do not
+ match the bounds specified in :rfc:`3447`.
+
.. method:: load_rsa_public_numbers(numbers):
:param numbers: An instance of
@@ -338,6 +342,10 @@
:returns: A provider of
:class:`~cryptography.hazmat.primitives.interfaces.RSAPublicKey`.
+ :raises ValueError: This is raised when the values of
+ ``public_exponent`` or ``modulus`` do not match the bounds
+ specified in :rfc:`3447`.
+
.. class:: TraditionalOpenSSLSerializationBackend