properly document what key types raw works with (#11507)

This commit is contained in:
Paul Kehrer 2024-08-29 22:35:46 -05:00 committed by GitHub
parent 2869ff47b3
commit 002419dcd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1357,7 +1357,10 @@ Serialization Formats
.. versionadded:: 2.5
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
:doc:`/hazmat/primitives/asymmetric/ed448`,
:doc:`/hazmat/primitives/asymmetric/x25519`, and
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
binary format and is invalid for other key types.
.. attribute:: OpenSSH
@ -1471,7 +1474,10 @@ Serialization Formats
.. versionadded:: 2.5
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
:doc:`/hazmat/primitives/asymmetric/ed448`,
:doc:`/hazmat/primitives/asymmetric/x25519`, and
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
binary format and is invalid for other key types.
.. attribute:: CompressedPoint
@ -1544,7 +1550,10 @@ Serialization Encodings
.. versionadded:: 2.5
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
:doc:`/hazmat/primitives/asymmetric/ed448`,
:doc:`/hazmat/primitives/asymmetric/x25519`, and
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
binary format and is invalid for other key types.
.. attribute:: X962