diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-08 18:18:33 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-08 18:18:33 -0400 |
commit | 785cb422767cb7a99fa71d28e2e2e13b16f35c90 (patch) | |
tree | 04a8582915cffa714297a804c0b0792393607df2 /docs/hazmat/primitives/asymmetric/serialization.rst | |
parent | 88e7ed6415ccf7fb2432b90876deefa8ab88cc98 (diff) | |
parent | c2ab3076c0d79e4d1b0027cdca7b99f14a5007c8 (diff) | |
download | cryptography-785cb422767cb7a99fa71d28e2e2e13b16f35c90.tar.gz cryptography-785cb422767cb7a99fa71d28e2e2e13b16f35c90.tar.bz2 cryptography-785cb422767cb7a99fa71d28e2e2e13b16f35c90.zip |
Merge pull request #1732 from reaperhulk/serialize-ec-public-key
serialize EC public keys
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/serialization.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/serialization.rst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst index fb8c93a4..ff69973a 100644 --- a/docs/hazmat/primitives/asymmetric/serialization.rst +++ b/docs/hazmat/primitives/asymmetric/serialization.rst @@ -315,7 +315,9 @@ Serialization Formats An enumeration for public key formats. Used with the ``public_bytes`` method available on - :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization`. + :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization` + and + :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. .. attribute:: SubjectPublicKeyInfo @@ -341,7 +343,11 @@ Serialization Encodings , :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKeyWithSerialization` and - :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization`. + :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKeyWithSerialization` + as well as ``public_bytes`` on + :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKeyWithSerialization` + and + :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKeyWithSerialization`. .. attribute:: PEM |