summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2015-01-18 15:49:15 -0500
committerStephen Holsapple <sholsapp@gmail.com>2015-01-30 17:49:38 -0800
commit13a816887abfcf4e1b7ea4bf8478f625f428cb36 (patch)
tree6d621761b56db4f98e51c352e750c26774397e3b
parent06e01b9d8f8e3ccbfd1820ff3f24fffe001e7b4f (diff)
downloadpyopenssl-13a816887abfcf4e1b7ea4bf8478f625f428cb36.tar.gz
A little bit more explanation of what "context" means here.
-rw-r--r--OpenSSL/crypto.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index fbccb6d..b6951c0 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -1392,10 +1392,12 @@ class X509StoreContext(object):
"""
An X.509 store context.
- An :py:class:`X509StoreContext` is used to verify a certificate in some
- context in conjunction with :py:func:`verify_cert`. The information
- encapsulated in this object includes, but is not limited to, a set of
- trusted certificates, verification parameters and revoked certificates.
+ An :py:class:`X509StoreContext` is used to define some of the criteria for
+ certificate verification. The information encapsulated in this object
+ includes, but is not limited to, a set of trusted certificates,
+ verification parameters, and revoked certificates.
+
+ Of these, only the set of trusted certificates is currently exposed.
:ivar _store_ctx: The underlying X509_STORE_CTX structure used by this
instance. It is dynamically allocated and automatically garbage