diff options
author | David Reid <dreid@dreid.org> | 2014-05-30 12:33:08 -0700 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-05-30 12:33:08 -0700 |
commit | 4bef120510ee62ca229d7195e0c89c07286b9167 (patch) | |
tree | 19647cfbf2fc6fbc79875520b0a9df176215c219 /docs/hazmat/primitives/asymmetric/ec.rst | |
parent | 349cad67978a46d170b27ee2b680e878761755d9 (diff) | |
parent | d436569bb729b97a856b0e69fcf7a9c09d298964 (diff) | |
download | cryptography-4bef120510ee62ca229d7195e0c89c07286b9167.tar.gz cryptography-4bef120510ee62ca229d7195e0c89c07286b9167.tar.bz2 cryptography-4bef120510ee62ca229d7195e0c89c07286b9167.zip |
Merge pull request #878 from public/ecdsa-interfaces
ECC interfaces
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/ec.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/ec.rst | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst new file mode 100644 index 00000000..f88b965a --- /dev/null +++ b/docs/hazmat/primitives/asymmetric/ec.rst @@ -0,0 +1,51 @@ +.. hazmat:: + +Elliptic Curve +============== + +.. currentmodule:: cryptography.hazmat.primitives.asymmetric.ec + + +.. class:: EllipticCurvePrivateNumbers(private_value, public_numbers) + + .. versionadded:: 0.5 + + The collection of integers that make up an EC private key. + + .. attribute:: public_numbers + + :type: :class:`~cryptography.hazmat.primitives.ec.EllipticCurvePublicNumbers` + + The :class:`EllipticCurvePublicNumbers` which makes up the EC public + key associated with this EC private key. + + .. attribute:: private_value + + :type: int + + The private value. + + +.. class:: EllipticCurvePublicNumbers(x, y, curve) + + .. versionadded:: 0.5 + + The collection of integers that make up an EC public key. + + .. attribute:: curve + + :type: :class:`~cryptography.hazmat.primitives.interfaces.EllipticCurve` + + The elliptic curve for this key. + + .. attribute:: x + + :type: int + + The affine x component of the public point used for verifying. + + .. attribute:: y + + :type: int + + The affine y component of the public point used for verifying. |