aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/dsa.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-10-12 20:34:39 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-10-12 20:34:39 -0400
commit8005a5161cc6e5ba96ceabd9335ebefa373a2736 (patch)
treed8d774640efe2919444ce8b0568108c2f7f7a5ff /docs/hazmat/primitives/asymmetric/dsa.rst
parent0eafd9cd32a69909bd7bab955459925f54bd7278 (diff)
parent3697db262cb5f9c61840139f37c34e24c3dfb7d1 (diff)
downloadcryptography-8005a5161cc6e5ba96ceabd9335ebefa373a2736.tar.gz
cryptography-8005a5161cc6e5ba96ceabd9335ebefa373a2736.tar.bz2
cryptography-8005a5161cc6e5ba96ceabd9335ebefa373a2736.zip
Merge pull request #2408 from reaperhulk/docs-docs-docs
add some links to public key loading in the RSA/DSA verification sections
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/dsa.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/dsa.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst
index 4eb17e30..1429cb09 100644
--- a/docs/hazmat/primitives/asymmetric/dsa.rst
+++ b/docs/hazmat/primitives/asymmetric/dsa.rst
@@ -86,8 +86,14 @@ described in :rfc:`3279`. This can be decoded using
Verification
~~~~~~~~~~~~
-Using a :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey`
-provider.
+Verification is performed using a
+:class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey` provider.
+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`,
+:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicNumbers.public_key`
+, or
+:meth:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey.public_key`.
.. doctest::