From 4fc052fc8cd2bbfeceb797f3b1b71ed0f03c0768 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 25 Jun 2016 12:28:11 -0400 Subject: =?UTF-8?q?Fixes=20#2992=20--=20clearly=20link=20to=20a=20key=20du?= =?UTF-8?q?mping=20docs=20in=20serialization=20mo=E2=80=A6=20(#3013)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixes #2992 -- clearly link to a key dumping docs in serialization module * fixed rest * guh, grammar --- docs/hazmat/primitives/asymmetric/serialization.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/hazmat/primitives') diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst index 7cef77fd..815a9cb5 100644 --- a/docs/hazmat/primitives/asymmetric/serialization.rst +++ b/docs/hazmat/primitives/asymmetric/serialization.rst @@ -85,6 +85,16 @@ methods. ... else: ... raise TypeError +Key dumping +~~~~~~~~~~~ + +The ``serialization`` module contains functions for loading keys from +``bytes``. To dump a ``key`` object to ``bytes``, you must call the appropriate +bytes on the key object. Documentation for these methods in found in the +:mod:`~cryptography.hazmat.primitives.asymmetric.rsa`, +:mod:`~cryptography.hazmat.primitives.asymmetric.dsa`, and +:mod:`~cryptography.hazmat.primitives.asymmetric.ec` module documentation. + PEM ~~~ -- cgit v1.2.3