Trees | Index | Help |
|
---|
Module xmlsec :: Class KeysMngr |
|
Method Summary | |
---|---|
Creates new keys manager. | |
__getattr__(self,
name)
| |
__setattr__(self,
name,
value)
| |
Adopts data store in the keys manager. | |
Adopts keys store in the keys manager mngr. | |
Reads cert from filename and adds to the list of trusted or known untrusted certs in store. | |
Destroys keys manager... | |
Lookups key in the keys manager keys store. | |
Lookups the data store of given klass id in the keys manager. | |
Gets the keys store. |
Method Details |
---|
__init__(self,
_obj=None)
|
adoptDataStore(self, store)Adopts data store in the keys manager. store : the data store. Returns : 0 on success or a negative value if an error occurs. |
adoptKeysStore(self, store)Adopts keys store in the keys manager mngr. store : the keys store. Returns : 0 on success or a negative value if an error occurs. |
certLoad(self, filename, format, type)Reads cert from filename and adds to the list of trusted or known untrusted certs in store. filename : the certificate file. format : the certificate file format. type : the flag that indicates is the certificate in filename trusted or not. Returns : 0 on success or a negative value otherwise. |
destroy(self)Destroys keys manager |
findKey(self, name, key_info_ctx)Lookups key in the keys manager keys store. name : the desired key name. keyInfoCtx : the <dsig:KeyInfo/> node processing context. Returns : a key or None if key is not found or an error occurs. |
getDataStore(self, id)Lookups the data store of given klass id in the keys manager. id : the desired data store klass. Returns : data store or None if it is not found or an error occurs. |
getKeysStore(self)Gets the keys store. Returns : the keys store in the keys manager mngr or None if there is no store or an error occurs. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Feb 9 01:09:34 2004 | http://epydoc.sf.net |