summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2015-03-15 16:17:19 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2015-03-15 16:17:19 -0400
commit876b2ac5929fd9edcf7c03d1f28ee5334bce60ea (patch)
tree49b2a6da778ace4afa1baa4b722bb30a6ca7f0bc
parent64b6b84b525d4b6c4af31066bb71ffe3a5cce2f0 (diff)
downloadpyopenssl-verify-chain.tar.gz
The message is not a basestring and basestring is an awful type anyway.verify-chain
-rw-r--r--doc/api/crypto.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index 3955802..f378e84 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -543,9 +543,11 @@ The X509StoreContextError is an exception raised from
`X509StoreContext.verify_certificate` in circumstances where a certificate
cannot be verified in a provided context.
-The exception objects have a :py:class:`basestring` ``message`` attribute which
-contains error messages and :py:class:`X509` ``certificate`` attribute by which
-they indicate where the verification error was detected.
+The certificate for which the verification error was detected is given by the
+``certificate`` attribute of the exception instance as a :class:`X509`
+instance.
+
+Details about the verification error are given in the exception's ``args`` attribute.
X509StoreContext objects