From 13a816887abfcf4e1b7ea4bf8478f625f428cb36 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Sun, 18 Jan 2015 15:49:15 -0500 Subject: A little bit more explanation of what "context" means here. --- OpenSSL/crypto.py | 10 ++++++---- 1 file 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 -- cgit v1.2.1