aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509/reference.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-02 11:27:21 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-02 11:27:21 -0500
commit2c145ccad2a2d71ad09fd7c5b0f02fabf0d150b5 (patch)
tree8ccfd1128fe93f98d396e20f9684cb3196fd2d08 /docs/x509/reference.rst
parent1dea513d7a0fb6c1a3c1df2924db1bd1135f78ff (diff)
downloadcryptography-2c145ccad2a2d71ad09fd7c5b0f02fabf0d150b5.tar.gz
cryptography-2c145ccad2a2d71ad09fd7c5b0f02fabf0d150b5.tar.bz2
cryptography-2c145ccad2a2d71ad09fd7c5b0f02fabf0d150b5.zip
document the extension type requirement a bit better
Diffstat (limited to 'docs/x509/reference.rst')
-rw-r--r--docs/x509/reference.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 62bdb3a9..87383db1 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -496,9 +496,8 @@ X.509 Certificate Builder
Adds an X.509 extension to the certificate.
- :param extension: The extension to add to the certificate. Can be one
- of :class:`~cryptography.x509.BasicConstraints` or
- :class:`~cryptography.x509.SubjectAlternativeName`.
+ :param extension: An extension conforming to the
+ :class:`~cryptography.x509.ExtensionType` interface.
:param critical: Set to ``True`` if the extension must be understood and
handled by whoever reads the certificate.
@@ -663,8 +662,8 @@ X.509 CSR (Certificate Signing Request) Builder Object
.. method:: add_extension(extension, critical)
- :param extension: The :class:`~cryptography.x509.Extension` to add to
- the request.
+ :param extension: An extension conforming to the
+ :class:`~cryptography.x509.ExtensionType` interface.
:param critical: Set to `True` if the extension must be understood and
handled by whoever reads the certificate.
:returns: A new