From c4e6194f182dcf49280a140bedd0d88c7d94b4e3 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 1 Aug 2015 21:21:13 +0100 Subject: add missing extensions documentation to CertificateSigningRequest --- docs/x509/reference.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 -- cgit v1.2.3