Trees | Index | Help |
|
---|
Module xmlsec :: Class KeyReq |
|
Method Summary | |
---|---|
Creates new key requirements information. | |
__getattr__(self,
name)
| |
__setattr__(self,
name,
value)
| |
Copies key requirements to dst object. | |
Cleans the key requirements object. | |
Gets keyBitsSize member... | |
Initialize key requirements object. | |
Checks whether key matches key requirements. | |
Checks whether keyValue matches key requirements keyReq. | |
Resets key requirements object for new key search. |
Method Details |
---|
__init__(self,
keyId=None,
keyType=None,
keyUsage=None,
keyBitsSize=None,
_obj=None)
|
copy(self, dst)Copies key requirements to dst object. dst : the destination object. Returns : 0 on success and a negative value if an error occurs. |
finalize(self)Cleans the key requirements object. |
getKeyBitsSize(self)Gets keyBitsSize member |
initialize(self)Initialize key requirements object. Caller is responsible for cleaning it with finalize method. Returns : 0 on success or a negative value if an error occurs. |
matchKey(self, key)Checks whether key matches key requirements. key : the key. Returns : 1 if key matches requirements, 0 if not and a negative value if an error occurs. |
matchKeyValue(self, value)Checks whether keyValue matches key requirements keyReq. value : the key value. Returns : 1 if key value matches requirements, 0 if not and a negative value if an error occurs. |
reset(self)Resets key requirements object for new key search. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jan 1 18:42:41 2006 | http://epydoc.sf.net |