Package M2Crypto :: Module X509 :: Class X509_Store_Context
[frames] | no frames]

Class X509_Store_Context



X509 Store Context

Instance Methods
 
m2_x509_store_ctx_free(...)
 
__init__(self, x509_store_ctx, _pyfree=0)
 
__del__(self)
 
get_current_cert(self)
Get current X.509 certificate.
 
get_error(self)
Get error code.
 
get_error_depth(self)
Get error depth.
X509_Stack
get1_chain(self)
Get certificate chain.
Method Details

get_current_cert(self)

 

Get current X.509 certificate.

Warning: The returned certificate is NOT refcounted, so you can not rely on it being valid once the store context goes away or is modified.

get1_chain(self)

 

Get certificate chain.

Returns: X509_Stack
Reference counted (i.e. safe to use even after the store context goes away) stack of certificates in the chain.