diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-26 11:41:38 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-26 11:41:38 -0600 |
commit | d527b30d2f4515ea8d2c9af7fe7317dcab276aff (patch) | |
tree | 9d6fd7646311012beef1ff3a45c9bb26350c0b46 | |
parent | ac423232f884b94a24257e80ac95cccd5749ba9f (diff) | |
download | cryptography-d527b30d2f4515ea8d2c9af7fe7317dcab276aff.tar.gz cryptography-d527b30d2f4515ea8d2c9af7fe7317dcab276aff.tar.bz2 cryptography-d527b30d2f4515ea8d2c9af7fe7317dcab276aff.zip |
update interface docs to make attributes return int (per irc discussion)
-rw-r--r-- | docs/hazmat/primitives/interfaces.rst | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst index 40b49a54..c2d4c53d 100644 --- a/docs/hazmat/primitives/interfaces.rst +++ b/docs/hazmat/primitives/interfaces.rst @@ -118,9 +118,9 @@ Asymmetric Interfaces .. attribute:: modulus - :type: str + :type: int - Hexadecimal representation of the public modulus. Alias for ``n``. + The public modulus. Alias for ``n``. .. attribute:: public_exponent @@ -136,29 +136,27 @@ Asymmetric Interfaces .. attribute:: p - :type: str + :type: int - Hexadecimal representation of ``p``, one of the two primes composing - ``n``. + ``p``, one of the two primes composing ``n``. .. attribute:: q - :type: str + :type: int - Hexadecimal representation of ``q``, one of the two primes composing - ``n``. + ``q``, one of the two primes composing ``n``. .. attribute:: d - :type: str + :type: int - Hexadecimal representation of ``d``, the private exponent. + The private exponent. .. attribute:: n - :type: str + :type: int - Hexadecimal representation of the public modulus. + The public modulus. .. attribute:: e @@ -173,9 +171,9 @@ Asymmetric Interfaces .. attribute:: modulus - :type: str + :type: int - Hexadecimal representation of the public modulus. Alias for ``n``. + The public modulus. Alias for ``n``. .. attribute:: key_length @@ -191,9 +189,9 @@ Asymmetric Interfaces .. attribute:: n - :type: str + :type: int - Hexadecimal representation of the public modulus. + The public modulus. .. attribute:: e |