Home | Trees | Indices | Help |
---|
|
object --+ | KEYPQGParams
KEYPQGParams(prime=None, subprime=None, base=None) :Parameters: prime : SecItem or str or any buffer compatible object or None prime (also known as p) subprime : SecItem or str or any buffer compatible object or None subprime (also known as q) base : SecItem or str or any buffer compatible object or None base (also known as g) An object representing DSA key parameters - prime (also known as p) - subprime (also known as q) - base (also known as g) If no parameters are passed the default PQG the KeyPQGParams will be intialized to default values. If you pass any initialization parameters then they must all be passed.
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
string) |
|
||
[(level, string),...] |
|
||
Inherited from |
|
|||
base key base value, also known as g |
|||
prime key prime value, also known as p |
|||
subprime key subprime value, also known as q |
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
repr(x)
|
str(x)
|
:Parameters: level : integer Initial indentation level, all subsequent indents are relative to this starting level. indent : string string replicated once for each indent level then prepended to output line This is equivalent to: indented_format(obj.format_lines()) on an object providing a format_lines() method.
|
:Parameters: level : integer Initial indentation level, all subsequent indents are relative to this starting level. Formats the object into a sequence of lines with indent level information. The return value is a list where each list item is a tuple. The first item in the tuple is an integer representing the indentation level for that line. Any remaining items in the tuple are strings to be output on that line. The output of this function can be formatted into a single string by calling `indented_format()`, e.g.: print indented_format(obj.format_lines()) The reason this function returns a tuple as opposed to an single indented string is to support other text formatting systems such as GUI's with indentation controls. See `indented_format()` for a complete explanation.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Mar 18 14:45:39 2013 | http://epydoc.sourceforge.net |