aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2014-12-13 10:43:01 -0600
committerMark Adams <mark@markadams.me>2014-12-13 10:43:01 -0600
commitb7b91179a5b1d4c28643f9e59bb46e52144a7de3 (patch)
tree4ca385376b7ad3da20fcd93f0619fb5562ae6485 /docs
parent78a7d1c4c63737c4eae0c22207a00141a44402d3 (diff)
downloadcryptography-b7b91179a5b1d4c28643f9e59bb46e52144a7de3.tar.gz
cryptography-b7b91179a5b1d4c28643f9e59bb46e52144a7de3.tar.bz2
cryptography-b7b91179a5b1d4c28643f9e59bb46e52144a7de3.zip
Privatized the load_ssh_rsa_public_key function and fixed some coverage issues on test_serialization.
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/serialization.rst18
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst
index 52960ec0..ec35c3cf 100644
--- a/docs/hazmat/primitives/asymmetric/serialization.rst
+++ b/docs/hazmat/primitives/asymmetric/serialization.rst
@@ -232,21 +232,3 @@ Example RSA key in OpenSSH format (line breaks added for formatting purposes)::
:raises UnsupportedAlgorithm: If the serialized key is of a type that is
not supported.
-
-.. function:: load_ssh_rsa_public_key(data, backend)
-
- .. versionadded:: 0.7
-
- Deserialize a RSA public key from OpenSSH (:rfc:`4253`) encoded data to an
- instance of the RSA Public Key type for the specified backend.
-
- :param bytes data: The OpenSSH encoded key data.
-
- :param backend: A
- :class:`~cryptography.hazmat.backends.interfaces.RSABackend`
- provider.
-
- :returns: A new instance of a public key type.
-
- :raises ValueError: If the OpenSSH data could not be properly decoded or
- if the key is not in the proper format.