|
|
M2Crypto.SSL.Context @return M2Crypto SSL context object
|
createCtx(self,
depth=9,
**kw)
Create an M2Crypto SSL Context from this objects properties |
source code
|
|
|
copy(self,
sslCtxProxy)
Copy settings from another context object |
source code
|
|
|
|
|
|
|
_setSSLCertFilePath(self,
filePath)
Set X.509 cert/cert chian file path property method |
source code
|
|
|
_getSSLCACertFilePath(self)
Get file path for list of CA cert or certs used to validate SSL
connections |
source code
|
|
|
|
|
_getSSLCACertDir(self)
Get file path for list of CA cert or certs used to validate SSL
connections |
source code
|
|
|
_setSSLCACertDir(self,
value)
Set CA cert or certs to validate AC signatures, signatures of
Attribute Authority SOAP responses and SSL connections where AA SOAP
service is run over SSL. |
source code
|
|
|
|
|
|
|
|
|
_setSSLPriKeyFilePath(self,
filePath)
Set ssl private key file path property method |
source code
|
|
|
_setSSLPriKeyPwd(self,
sslPriKeyPwd)
Set method for ssl private key file password |
source code
|
|
|
_getSSLPriKeyPwd(self)
Get property method for SSL private key |
source code
|
|
|
__getstate__(self)
Enable pickling for use with beaker.session |
source code
|
|
|
__setstate__(self,
attrDict)
Enable pickling for use with beaker.session |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
SSL_CERT_FILEPATH_OPTNAME = ' sslCertFilePath '
|
|
SSL_PRIKEY_FILEPATH_OPTNAME = ' sslPriKeyFilePath '
|
|
SSL_PRIKEY_PWD_OPTNAME = ' sslPriKeyPwd '
|
|
SSL_CACERT_FILEPATH_OPTNAME = ' sslCACertFilePath '
|
|
SSL_CACERT_DIRPATH_OPTNAME = ' sslCACertDir '
|
|
SSL_VALID_DNS_OPTNAME = ' sslValidDNs '
|
|
OPTNAMES = ( ' sslCertFilePath ' , ' sslPriKeyFilePath ' , ' sslPriKey ...
|
|
VALID_DNS_PAT = re.compile(r',\s* ')
|
|
PRE_VERIFY_FAIL = 0
|
|
PRE_VERIFY_OK = 1
|