aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-09-27 20:56:15 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2014-09-27 20:56:15 -0400
commit5a4773856cd5d482009d855780189df87793bab4 (patch)
tree81fb9b4cbc0fb25a1bc031345fee05dc3bd954ba /docs/hazmat
parent774b77f75a88735395b075f97f99ea577e1affa2 (diff)
parent7ee7d5ba847b0e1c6db4afc02fa858ac8734ba6b (diff)
downloadcryptography-5a4773856cd5d482009d855780189df87793bab4.tar.gz
cryptography-5a4773856cd5d482009d855780189df87793bab4.tar.bz2
cryptography-5a4773856cd5d482009d855780189df87793bab4.zip
Merge pull request #1345 from reaperhulk/ec-withnumbers
Elliptic Curve WithNumbers Support
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/interfaces.rst36
1 files changed, 35 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index ac47c1e1..2d594c8d 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -416,7 +416,7 @@ DSA
Extends :class:`DSAPublicKey`.
- .. method:: private_numbers()
+ .. method:: public_numbers()
Create a
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicNumbers`
@@ -492,6 +492,23 @@ Elliptic Curve
The EllipticCurvePublicKey object for this private key.
+.. class:: EllipticCurvePrivateKeyWithNumbers
+
+ .. versionadded:: 0.6
+
+ Extends :class:`EllipticCurvePrivateKey`.
+
+ .. method:: private_numbers()
+
+ Create a
+ :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateNumbers`
+ object.
+
+ :returns: An
+ :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateNumbers`
+ instance.
+
+
.. class:: EllipticCurvePublicKey
.. versionadded:: 0.5
@@ -518,6 +535,23 @@ Elliptic Curve
The elliptic curve for this key.
+.. class:: EllipticCurvePublicKeyWithNumbers
+
+ .. versionadded:: 0.6
+
+ Extends :class:`EllipticCurvePublicKey`.
+
+ .. method:: public_numbers()
+
+ Create a
+ :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers`
+ object.
+
+ :returns: An
+ :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers`
+ instance.
+
+
Hash algorithms
---------------