Trees | Index | Help |
|
---|
Module xmlsec :: Class Transform |
|
Method Summary | |
---|---|
Creates new transform of the id klass. | |
__getattr__(self,
name)
| |
__setattr__(self,
name,
value)
| |
Sets the max line size to lineSize for an BASE64 encode transform. | |
Destroys transform. | |
Reads transform from the node as follows: 1) reads 'Algorithm' attribute; 2) checks the lists of known and allowed transforms; 3) calls transform's create method; 4) calls transform's read transform node method. | |
Sets the transform's key. | |
Sets the key requirements for transform in the keyReq. | |
Sets the ID value for an Visa3DHack transform. | |
Sets the XPointer expression for an XPointer transform. |
Method Details |
---|
__init__(self,
_obj=None)
|
base64SetLineSize(self, lineSize)Sets the max line size to lineSize for an BASE64 encode transform. lineSize : the new max line size. |
destroy(self)Destroys transform. |
nodeRead(self, usage, transformCtx)Reads transform from the node as follows: 1) reads 'Algorithm' attribute; 2) checks the lists of known and allowed transforms; 3) calls transform's create method; 4) calls transform's read transform node method. usage : the transform usage (signature, encryption, ...). transformCtx : the transform's chaing processing context. Returns : newly created transform or None if an error occurs. |
setKey(self, key)Sets the transform's key. key : the key. Returns : 0 on success or a negative value otherwise. |
setKeyReq(self, keyReq)Sets the key requirements for transform in the keyReq. keyReq : the keys requirements object. Returns : 0 on success or a negative value otherwise. |
visa3DHackSetID(self, id)Sets the ID value for an Visa3DHack transform. id : the ID value. Returns : 0 on success or a negative value if an error occurs. |
xpointerSetExpr(self, expr, nodeSetType, hereNode)Sets the XPointer expression for an XPointer transform. expr : the XPointer expression. nodeSetType : the type of evaluated XPointer expression. hereNode : the pointer to 'here' node. Returns : 0 on success or a negative value if an error occurs. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jan 31 14:03:12 2005 | http://epydoc.sf.net |