aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-12 12:42:08 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-12 12:42:08 -0500
commit3697db262cb5f9c61840139f37c34e24c3dfb7d1 (patch)
treed8d774640efe2919444ce8b0568108c2f7f7a5ff /docs
parent06f360feedb740aa0b4db7683d02accd14bc1732 (diff)
downloadcryptography-3697db262cb5f9c61840139f37c34e24c3dfb7d1.tar.gz
cryptography-3697db262cb5f9c61840139f37c34e24c3dfb7d1.tar.bz2
cryptography-3697db262cb5f9c61840139f37c34e24c3dfb7d1.zip
address review comments
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/dsa.rst6
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst4
2 files changed, 7 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst
index 9431ff57..1429cb09 100644
--- a/docs/hazmat/primitives/asymmetric/dsa.rst
+++ b/docs/hazmat/primitives/asymmetric/dsa.rst
@@ -88,9 +88,11 @@ Verification
Verification is performed using a
:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` provider.
-Public keys are obtained by using
+You can get a public key object with
:func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key`,
-:func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`, or
+:func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`,
+:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicNumbers.public_key`
+, or
:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey.public_key`.
.. doctest::
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index de8b2fd0..bc2402de 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -168,7 +168,9 @@ signing algorithm that was used you can check that the private key associated
with a given public key was used to sign that specific message. You can obtain
a public key to use in verification using
:func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key`,
-:func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`, or
+:func:`~cryptography.hazmat.primitives.serialization.load_der_public_key`,
+:meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicNumbers.public_key`
+, or
:meth:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.public_key`.
.. doctest::