Skip to content

Commit 002419d

Browse files
authored
properly document what key types raw works with (pyca#11507)
1 parent 2869ff4 commit 002419d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/hazmat/primitives/asymmetric/serialization.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,10 @@ Serialization Formats
13571357

13581358
.. versionadded:: 2.5
13591359

1360-
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
1360+
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
1361+
:doc:`/hazmat/primitives/asymmetric/ed448`,
1362+
:doc:`/hazmat/primitives/asymmetric/x25519`, and
1363+
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
13611364
binary format and is invalid for other key types.
13621365

13631366
.. attribute:: OpenSSH
@@ -1471,7 +1474,10 @@ Serialization Formats
14711474

14721475
.. versionadded:: 2.5
14731476

1474-
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
1477+
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
1478+
:doc:`/hazmat/primitives/asymmetric/ed448`,
1479+
:doc:`/hazmat/primitives/asymmetric/x25519`, and
1480+
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
14751481
binary format and is invalid for other key types.
14761482

14771483
.. attribute:: CompressedPoint
@@ -1544,7 +1550,10 @@ Serialization Encodings
15441550

15451551
.. versionadded:: 2.5
15461552

1547-
A raw format used by :doc:`/hazmat/primitives/asymmetric/x448`. It is a
1553+
A raw format used by :doc:`/hazmat/primitives/asymmetric/ed25519`,
1554+
:doc:`/hazmat/primitives/asymmetric/ed448`,
1555+
:doc:`/hazmat/primitives/asymmetric/x25519`, and
1556+
:doc:`/hazmat/primitives/asymmetric/x448`. It is a
15481557
binary format and is invalid for other key types.
15491558

15501559
.. attribute:: X962

0 commit comments

Comments
 (0)