aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-08-01 17:21:05 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-08-01 17:21:05 -0400
commit93b5e3efab0337c51c84c27208d9034b607f09e2 (patch)
tree3142f0cd87e39847ed1d26d343f25afa63cd794b
parentdc1f7f7c0c2959eb2641e96460edec37350965f7 (diff)
parent24283d22ef0e44e94aeef6cf170448240e83fcb2 (diff)
downloadcryptography-93b5e3efab0337c51c84c27208d9034b607f09e2.tar.gz
cryptography-93b5e3efab0337c51c84c27208d9034b607f09e2.tar.bz2
cryptography-93b5e3efab0337c51c84c27208d9034b607f09e2.zip
Merge pull request #2188 from reaperhulk/improve-changelog
Improve changelog
-rw-r--r--CHANGELOG.rst20
-rw-r--r--docs/x509/reference.rst19
2 files changed, 38 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 85f84477..4506a466 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -24,8 +24,26 @@ Changelog
and :class:`~cryptography.hazmat.primitives.kdf.concatkdf.ConcatKDFHMAC`.
* Raise a ``TypeError`` when passing objects that are not text as the value to
:class:`~cryptography.x509.NameAttribute`.
+* Add support for :class:`~cryptography.x509.OtherName` as a general name
+ type.
+* Added new X.509 extension support in :class:`~cryptography.x509.Certificate`
+ The following new extensions are now supported:
+
+ * :class:`~cryptography.x509.OCSPNoCheck`
+ * :class:`~cryptography.x509.InhibitAnyPolicy`
+ * :class:`~cryptography.x509.IssuerAlternativeName`
+ * :class:`~cryptography.x509.NameConstraints`
+
+* Extension support was added to
+ :class:`~cryptography.x509.CertificateSigningRequest`.
* Add support for creating certificate signing requests with
- :class:`~cryptography.x509.CertificateSigningRequestBuilder`.
+ :class:`~cryptography.x509.CertificateSigningRequestBuilder`. This includes
+ support for the following extensions:
+
+ * :class:`~cryptography.x509.BasicConstraints`
+ * :class:`~cryptography.x509.ExtendedKeyUsage`
+ * :class:`~cryptography.x509.KeyUsage`
+ * :class:`~cryptography.x509.SubjectAlternativeName`
0.9.3 - 2015-07-09
~~~~~~~~~~~~~~~~~~
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 9179468f..c7d45c77 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 signing request.
+
+ :raises cryptography.x509.UnsupportedExtension: If the certificate signing 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