| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Module MyProxy |
|
| Exceptions | |
|---|---|
GetException |
|
RetrieveProxyException |
|
| Function Summary | |
|---|---|
Create a new certificate request and store it in the repository. | |
deserialize_certs(inp_dat)
| |
Deserialize a MyProxy server response | |
get_config_file()
| |
Returns: a tuple of (hostname,port,username) | |
Function to retrieve a proxy credential from a MyProxy server | |
Function to retrieve a proxy credential from a MyProxy server | |
set_myproxy_config(hostname,
port,
username,
subject)
| |
| Variable Summary | |
|---|---|
str |
CMD_GET = 'VERSION=MYPROXYv2\nCOMMAND=0\nUSERNAME=%s\nPA...
|
| Function Details |
|---|
create_cert_req(keyType=6, bits=1024, messageDigest='md5', extensions=None)Create a new certificate request and store it in the repository. Returns a CertificateRequestDescriptor for that request. nameEntries is a list of pairs (key, value) where key is a standard distinguished name key, and value is the value to be used for that key. extensions is a list of triples (name, critical, value) to be used to set the requests extensions. If passed in as none, a useful default set of extensions will be used. |
deserialize_response(msg)Deserialize a MyProxy server response Returns: integer response, errortext (if any) |
get_myproxy_config()Returns: a tuple of (hostname,port,username) |
myproxy_logon(hostname, username, passphrase, outfile=None, lifetime=43200, port=7512)Function to retrieve a proxy credential from a MyProxy server Exceptions: GetException, RetrieveProxyException |
myproxy_logon_py(hostname, username, passphrase, outfile=None, lifetime=43200, port=7512)Function to retrieve a proxy credential from a MyProxy server Exceptions: GetException, RetrieveProxyException |
| Variable Details |
|---|
CMD_GET
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jan 09 13:23:47 2006 | http://epydoc.sf.net |