Package g4ds :: Module securitymanager :: Class Credential
[show private | hide private]
[frames | no frames]

Class Credential


All information needed for one bundle of information chunks for a credential.
Method Summary
  __init__(self, id, algorithmid, username, key, ownerid, init)
Initalises the Algorithm and assigns the parameters to the local variables.
  __str__(self)
Some basic information about the object
  getAlgorithmId(self)
GETTER
  getId(self)
GETTER
  getKey(self)
GETTER
  getOwnerId(self)
GETTER
  getUsername(self)
GETTER
  setId(self, id)
SETTER

Instance Variable Summary
String _algorithmid: ID of the algorithm, this credential can be used with (and was created for)
String _id: Unique id for the credential
String _key: Public key
String _ownerid: ID of the owner of this key (Member, Community, ...)
String _username: Username for this credential

Method Details

__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)

__str__(self)
(Informal representation operator)

Some basic information about the object

getAlgorithmId(self)

GETTER

getId(self)

GETTER

getKey(self)

GETTER

getOwnerId(self)

GETTER

getUsername(self)

GETTER

setId(self, id)

SETTER

Instance Variable Details

_algorithmid

ID of the algorithm, this credential can be used with (and was created for)
Type:
String

_id

Unique id for the credential
Type:
String

_key

Public key
Type:
String

_ownerid

ID of the owner of this key (Member, Community, ...)
Type:
String

_username

Username for this credential
Type:
String

Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 http://epydoc.sf.net