aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-01 21:21:13 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-08-01 21:21:13 +0100
commitc4e6194f182dcf49280a140bedd0d88c7d94b4e3 (patch)
treebb2727e208ef7fe3fe686fb3b3af77c7465c8e1b
parent60517a4466c153449f88063ef627291c53ea5ee1 (diff)
downloadcryptography-c4e6194f182dcf49280a140bedd0d88c7d94b4e3.tar.gz
cryptography-c4e6194f182dcf49280a140bedd0d88c7d94b4e3.tar.bz2
cryptography-c4e6194f182dcf49280a140bedd0d88c7d94b4e3.zip
add missing extensions documentation to CertificateSigningRequest
-rw-r--r--docs/x509/reference.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 9179468f..4d164dca 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -431,6 +431,25 @@ X.509 CSR (Certificate Signing Request) Object
>>> isinstance(csr.signature_hash_algorithm, hashes.SHA1)
True
+ .. attribute:: extensions
+
+ :type: :class:`Extensions`
+
+ The extensions encoded in the certificate signing request.
+
+ :raises cryptography.x509.DuplicateExtension: If more than one
+ extension of the same type is found within the certificate siging request.
+
+ :raises cryptography.x509.UnsupportedExtension: If the certificate siging request
+ contains an extension that is not supported.
+
+ :raises cryptography.x509.UnsupportedGeneralNameType: If an extension
+ contains a general name that is not supported.
+
+ :raises UnicodeError: If an extension contains IDNA encoding that is
+ invalid or not compliant with IDNA 2008.
+
+
.. method:: public_bytes(encoding)
.. versionadded:: 1.0