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(+) (limited to 'docs/x509') 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 From 24283d22ef0e44e94aeef6cf170448240e83fcb2 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 1 Aug 2015 21:31:19 +0100 Subject: typo fix --- docs/x509/reference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/x509') diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 4d164dca..c7d45c77 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -438,9 +438,9 @@ X.509 CSR (Certificate Signing Request) Object 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. + extension of the same type is found within the certificate signing request. - :raises cryptography.x509.UnsupportedExtension: If the certificate siging request + :raises cryptography.x509.UnsupportedExtension: If the certificate signing request contains an extension that is not supported. :raises cryptography.x509.UnsupportedGeneralNameType: If an extension -- cgit v1.2.3