__init__(self,
id=None,
algorithmid=None,
username=None,
key=None,
ownerid=None,
init=0)
(Constructor)
Initalises the Algorithm and assigns the parameters to the local
variables.
-
- Parameters:
id -
Unique id for the algorithm (if None is given, one will be
generated using the key generator in tools)
(type=String )
algorithmid -
ID of the algorithm, this credential can be used with (and was
created for)
(type=String )
username -
Username for this credential (optional)
(type=String )
key -
Public key
(type=String )
ownerid -
ID of the owner of this key (Member, Community, ...)
(type=String )
init -
Indidates, whether this instance is created during initialises
process (of the container).
(type=Boolean )
|