KEY Model Key is responsible for public RSA key file.
More...
Static Public Attributes |
tuple | creation_date = models.DateTimeField(default=datetime.now) |
| creation date
|
tuple | data = models.TextField() |
| content of this Key
|
tuple | fingerprint = models.CharField(max_length=47) |
| this Key's fingerprint
|
tuple | name = models.CharField(max_length=45) |
| this Key's human-friendly name
|
tuple | user = models.ForeignKey(User) |
| this Key's owner
|
Detailed Description
KEY Model Key is responsible for public RSA key file.
CTX mechanizm of CC1 enables an injection of such a file.
Definition at line 37 of file key.py.
Member Function Documentation
def src.clm.models.key.Key.__unicode__ |
( |
|
self | ) |
|
- Returns
- name of this Key
Definition at line 56 of file key.py.
def src.clm.models.key.Key.dict |
( |
|
self | ) |
|
- Returns
- (
dict
) this Key's data
fields:
key_id
(int
) id of this Key
name
(string
) this Key's name
data
(string
) this Key's content
fingerprint
(string
) this Key's fingerprint
creation_date
(datetime.datetime
) date when this Key was created
Definition at line 70 of file key.py.
Member Data Documentation
tuple src.clm.models.key.Key.creation_date = models.DateTimeField(default=datetime.now) |
|
static |
creation date
- Note
- each instance of the model has corresponding non-static attribute
Definition at line 47 of file key.py.
tuple src.clm.models.key.Key.data = models.TextField() |
|
static |
content of this Key
- Note
- each instance of the model has corresponding non-static attribute
Definition at line 45 of file key.py.
tuple src.clm.models.key.Key.fingerprint = models.CharField(max_length=47) |
|
static |
this Key's fingerprint
- Note
- each instance of the model has corresponding non-static attribute
Definition at line 43 of file key.py.
tuple src.clm.models.key.Key.name = models.CharField(max_length=45) |
|
static |
this Key's human-friendly name
- Note
- each instance of the model has corresponding non-static attribute
Definition at line 41 of file key.py.
tuple src.clm.models.key.Key.user = models.ForeignKey(User) |
|
static |
this Key's owner
- Note
- each instance of the model has corresponding non-static attribute
Definition at line 39 of file key.py.
The documentation for this class was generated from the following file: