Module xmlsec :: Class KeyInfoCtx
[frames | no frames]

Class KeyInfoCtx


Method Summary
  __init__(self, mngr, _obj)
Creates and initializes <dsig:KeyInfo/> element processing context.
  __getattr__(self, name)
  __setattr__(self, name, value)
  copyUserPref(self, dst)
Copies user preferences context to dst context.
  createEncCtx(self)
Creates encryption context form processing <enc:EncryptedKey/> child of <dsig:KeyInfo/> element.
  debugDump(self, output)
Prints user settings and current context state to output.
  debugXmlDump(self, output)
Prints user settings and current context state in XML format to output.
  destroy(self)
Destroys the keyInfoCtx object...
  finalize(self)
Cleans up the keyInfoCtx initialized.
  initialize(self, mngr)
Initializes <dsig:KeyInfo/> element processing context.
  reset(self)
Resets the keyInfoCtx state.

Method Details

__init__(self, mngr=None, _obj=None)
(Constructor)

Creates and initializes <dsig:KeyInfo/> element processing context.
Caller is responsible for freeing it by calling destroy method.
mngr    : the keys manager (may be None).
Returns : the newly object or None if an error occurs.

copyUserPref(self, dst)

Copies user preferences context to dst context.
dst     : the destination context object.
Returns : 0 on success and a negative value if an error occurs.

createEncCtx(self)

Creates encryption context form processing <enc:EncryptedKey/> child of
<dsig:KeyInfo/> element.
Returns : 0 on success and a negative value if an error occurs.

debugDump(self, output)

Prints user settings and current context state to output.
output : the output file.

debugXmlDump(self, output)

Prints user settings and current context state in XML format to output.
output : the output file.

destroy(self)

Destroys the keyInfoCtx object

finalize(self)

Cleans up the keyInfoCtx initialized.

initialize(self, mngr=None)

Initializes <dsig:KeyInfo/> element processing context. Caller is
responsible for cleaning it up by finalize method.
mngr    : the keys manager (may be None).
Returns : 0 on success and a negative value if an error occurs.

reset(self)

Resets the keyInfoCtx state. User settings are not changed.

Generated by Epydoc 2.1 on Sun Jan 1 18:42:41 2006 http://epydoc.sf.net