aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-07-05 13:58:12 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-07-05 13:58:12 -0400
commitd0b376bc3bf7f9cf1fbdf74762ac095db41c2a3a (patch)
treeebd7b94294ed4bdfcf97df1716d8f42b8f3a6ae0 /docs
parentabfb699573bc4b7e95589b6044142a4f889dd421 (diff)
downloadcryptography-d0b376bc3bf7f9cf1fbdf74762ac095db41c2a3a.tar.gz
cryptography-d0b376bc3bf7f9cf1fbdf74762ac095db41c2a3a.tar.bz2
cryptography-d0b376bc3bf7f9cf1fbdf74762ac095db41c2a3a.zip
Document that public_bytes on certs and CSRs are new in 1.0
Diffstat (limited to 'docs')
-rw-r--r--docs/x509.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index f94f50eb..a3cf7e25 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -328,6 +328,8 @@ X.509 Certificate Object
.. method:: public_bytes(encoding)
+ .. versionadded:: 1.0
+
:param encoding: The
:class:`~cryptography.hazmat.primitives.serialization.Encoding`
that will be used to serialize the certificate.
@@ -435,6 +437,8 @@ X.509 CSR (Certificate Signing Request) Object
.. method:: public_bytes(encoding)
+ .. versionadded:: 1.0
+
:param encoding: The
:class:`~cryptography.hazmat.primitives.serialization.Encoding`
that will be used to serialize the certificate request.