aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-05-13 14:30:45 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-07 15:08:59 -0500
commit3e0c21e274b32d9c6dd2ac41ee8607e37d400e83 (patch)
treefae299ad6f38cea12277d39dec757d12fc00c026 /docs/hazmat
parent425e5b04bb18ce2e563d891f3502365e3b9c071a (diff)
downloadcryptography-3e0c21e274b32d9c6dd2ac41ee8607e37d400e83.tar.gz
cryptography-3e0c21e274b32d9c6dd2ac41ee8607e37d400e83.tar.bz2
cryptography-3e0c21e274b32d9c6dd2ac41ee8607e37d400e83.zip
Documentation and interfaces for serialization to RSA*Numbers representations.
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/interfaces.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index d5ca59ab..c27782e4 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -491,6 +491,40 @@ Asymmetric interfaces
.. attribute:: name
+
+Key Serialization
+-----------------
+
+.. class:: RSAPrivateNumbersSerialziation
+
+ .. versionadded:: 0.5
+
+ .. method:: rsa_private_numbers()
+
+ Serialize to an
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`
+ representation.
+
+ :returns: An
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers`
+ instance.
+
+
+.. class:: RSAPublicNumberSerialization
+
+ .. versionadded:: 0.5
+
+ .. method:: rsa_public_numbers()
+
+ Serialize to an
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers`
+ representation.
+
+ :returns: An
+ :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers`
+ instance.
+
+
Hash algorithms
~~~~~~~~~~~~~~~