diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-06-24 13:21:20 -1000 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-06-24 19:21:20 -0400 |
commit | 5bc8c7d801e9134d3de7c793a484ed29ec52aa96 (patch) | |
tree | 527fc6557138f750d4bd591c2ad7e1426d23b11f /docs/hazmat/primitives/asymmetric/dh.rst | |
parent | 2748e2e4ae923c3d2c29a3a31a702fb85ade0fff (diff) | |
download | cryptography-5bc8c7d801e9134d3de7c793a484ed29ec52aa96.tar.gz cryptography-5bc8c7d801e9134d3de7c793a484ed29ec52aa96.tar.bz2 cryptography-5bc8c7d801e9134d3de7c793a484ed29ec52aa96.zip |
doc the relationship between PrivateKey and PrivateKeyWithSerialization (#3721)
* doc the relationship between PrivateKey and PrivateKeyWithSerialization
Or at least do it better.
* let's talk about opaque keys
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/dh.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/dh.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/dh.rst b/docs/hazmat/primitives/asymmetric/dh.rst index f97a328b..c52ee4d1 100644 --- a/docs/hazmat/primitives/asymmetric/dh.rst +++ b/docs/hazmat/primitives/asymmetric/dh.rst @@ -142,6 +142,9 @@ Key interfaces .. versionadded:: 0.9 + A DH private key that is not an :term:`opaque key` also implements + :class:`DHPrivateKeyWithSerialization` to provide serialization methods. + .. attribute:: key_size The bit length of the prime modulus. @@ -172,8 +175,9 @@ Key interfaces .. versionadded:: 0.9 - Inherits from - :class:`~cryptography.hazmat.primitives.asymmetric.dh.DHPrivateKey`. + This interface contains additional methods relating to serialization. + Any object with this interface also has all the methods from + :class:`DHPrivateKey`. .. method:: private_numbers() |