aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-03-31 20:00:33 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-04-10 22:22:05 -0400
commit1eb82a604175923acd6c0512e86a746df7acbb59 (patch)
treee5f6baffa81eae8ccfbe293a5f6254f6c3eafa1c /docs
parent890081828d99159145e12c8654501c2d867c4327 (diff)
downloadcryptography-1eb82a604175923acd6c0512e86a746df7acbb59.tar.gz
cryptography-1eb82a604175923acd6c0512e86a746df7acbb59.tar.bz2
cryptography-1eb82a604175923acd6c0512e86a746df7acbb59.zip
add subjectkeyidentifier support
Diffstat (limited to 'docs')
-rw-r--r--docs/x509.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index afc9620a..8a855617 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -275,6 +275,7 @@ X.509 Certificate Object
>>> for ext in cert.extensions:
... print(ext)
+ <Extension(oid=<ObjectIdentifier(oid=2.5.29.14, name=subjectKeyIdentifier)>, critical=False, value=<SubjectKeyIdentifier(value=580184241bbc2b52944a3da510721451f5af3ac9)>)>
<Extension(oid=<ObjectIdentifier(oid=2.5.29.19, name=basicConstraints)>, critical=True, value=<BasicConstraints(ca=True, path_length=None)>)>
X.509 CSR (Certificate Signing Request) Object
@@ -576,6 +577,25 @@ X.509 Extensions
purposes indicated in the key usage extension. The object is
iterable to obtain the list of :ref:`extended key usage OIDs <eku_oids>`.
+.. class:: SubjectKeyIdentifier
+
+ .. versionadded:: 0.9
+
+ The subject key identifier extension provides a means of identifying
+ certificates that contain a particular public key.
+
+ .. attribute:: digest
+
+ :type: bytes
+
+ The binary value of the identifier.
+
+ .. attribute:: hexdigest
+
+ :type: :term:`text`
+
+ The hexadecimal value of the identifier.
+
Object Identifiers
~~~~~~~~~~~~~~~~~~