Home | Trees | Indices | Help |
|
---|
|
object --+ | LocalConfig
Class representing this extension's configuration document.
This is not a general-purpose configuration object like the main Cedar Backup configuration object. Instead, it just knows how to parse and emit encrypt-specific configuration values. Third parties who need to read and write configuration related to this extension should access it through the constructor,validate
and addConfig
methods.Note: Lists within this class are "unordered" for equality comparisons.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|
|||
encrypt Encrypt configuration in terms of a EncryptConfig
object.
|
|||
Inherited from |
|
Initializes a configuration object. If you initialize the object without passing either
No reference to the original XML data or original path is saved off by this class. Once the data has been parsed (successfully or not) this original information is discarded. Unless thevalidate argument is False , the
LocalConfig.validate method will be called (with its
default arguments) against configuration after successfully parsing any
passed-in XML. Keep in mind that even if validate is
False , it might not be possible to parse the passed-in XML
document if lower-level validations fail.
Note:
It is strongly suggested that the |
|
|
|
Validates configuration represented by the object. Encrypt configuration must be filled in. Within that, both the encrypt mode and encrypt target must be filled in.
|
Adds an <encrypt> configuration section as the next child of a parent. Third parties should use this function to write configuration related to this extension. We add the following fields to the document:encryptMode //cb_config/encrypt/encrypt_mode encryptTarget //cb_config/encrypt/encrypt_target
|
None , the value must be a EncryptConfig
object.
|
Internal method to parse an XML string into the object. This method parses the XML document into a DOM tree (xmlDom ) and then calls a static method to parse the encrypt
configuration section.
|
Parses an encrypt configuration section. We read the following individual fields:encryptMode //cb_config/encrypt/encrypt_mode encryptTarget //cb_config/encrypt/encrypt_target
|
|
encryptEncrypt configuration in terms of aEncryptConfig
object.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon May 5 19:58:12 2008 | http://epydoc.sourceforge.net |