fix naming mistake in the docs (for DSA and the new EC docs)
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 14be698..2d594c8 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -416,7 +416,7 @@
Extends :class:`DSAPublicKey`.
- .. method:: private_numbers()
+ .. method:: public_numbers()
Create a
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicNumbers`
@@ -541,7 +541,7 @@
Extends :class:`EllipticCurvePublicKey`.
- .. method:: private_numbers()
+ .. method:: public_numbers()
Create a
:class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers`