aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 09:27:55 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-03-12 09:27:55 -0400
commit2d8e574e9dd1510783f12b7632b05622a16e82ef (patch)
treea67a07f52a968ffb3f593516cd264731fc55ff7f /docs/x509
parent61ff35662049f02da8d2c0f54ef6e84f97c14b1a (diff)
downloadcryptography-2d8e574e9dd1510783f12b7632b05622a16e82ef.tar.gz
cryptography-2d8e574e9dd1510783f12b7632b05622a16e82ef.tar.bz2
cryptography-2d8e574e9dd1510783f12b7632b05622a16e82ef.zip
add some notes about when to use these classmethods
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/reference.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 1e8aebad..399d693a 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1541,6 +1541,13 @@ X.509 Extensions
.. versionadded:: 1.0
+ .. note::
+
+ This method should be used if the issuer certificate does not
+ contain a :class:`~cryptography.x509.SubjectKeyIdentifier`.
+ Otherwise, use
+ :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_subject_key_identifier`.
+
Creates a new AuthorityKeyIdentifier instance using the public key
provided to generate the appropriate digest. This should be the
**issuer's public key**. The resulting object will contain
@@ -1572,6 +1579,11 @@ X.509 Extensions
.. versionadded:: 1.3
+ .. note::
+ This method should be used if the issuer certificate contains a
+ :class:`~cryptography.x509.SubjectKeyIdentifier`. Otherwise, use
+ :meth:`~cryptography.x509.AuthorityKeyIdentifier.from_issuer_public_key`.
+
Creates a new AuthorityKeyIdentifier instance using the
SubjectKeyIdentifier from the issuer certificate. The resulting object
will contain