diff options
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index a32829fc..769ab989 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -330,6 +330,10 @@ A specific ``backend`` may provide one or more of these interfaces. :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 @@ A specific ``backend`` may provide one or more of these interfaces. :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 |