Home | Trees | Indices | Help |
|
---|
|
|
|||
string |
|
||
string |
|
||
boolean |
|
||
string |
|
||
boolean |
|
||
(string, string) |
|
||
|
|||
|
|
|||
log = logging.getLogger(__name__)
|
|||
ADMIN_PREFIX = 'admin:'
|
|||
ADMIN_SPLITTER = ':'
|
|
Generates a x509 certificate for an admin user.
|
Generate an x509 certificate with the Subject set to the uid passed into this method: Subject: CN=someconsumer.example.com
|
Ensures the given certificate can be verified against the server's CA.
|
Encodes an admin user's identity into a single line suitable for identification. This is intended to be the identity used in admin certificates.
|
Indicates if the encoded user string represents an admin user. If the string is identified as an admin user, it can be parsed with decode_admin_user.
|
Decodes the single line admin user identification produced by encode_admin_user into all of the parts that make up that identification.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 7 12:30:30 2010 | http://epydoc.sourceforge.net |