Package Ganga :: Package Utility :: Package AMGAServerTools :: Module certificate
[hide private]
[frames] | no frames]

Module certificate

source code

Functions [hide private]
 
getCertificateSubject(certPath='', certFile='')
Returns certificate subject.
source code
 
getGridProxyPath()
Returns path to the grid proxy certificate of current user.
source code
Variables [hide private]
  DEBUG = False
  usage = '\ncertificate.py <option>/ <certPath> <sertFile>\nopt...
  __package__ = 'Ganga.Utility.AMGAServerTools'
Function Details [hide private]

getCertificateSubject(certPath='', certFile='')

source code 

Returns certificate subject. If certPath is provided, than it looks for the certificate in that path. If certFile is provided, than takes it instead of default name 'usercert.pem'.

getGridProxyPath()

source code 

Returns path to the grid proxy certificate of current user. A valid proxy must be created independently.


Variables Details [hide private]

usage

Value:
'''
certificate.py <option>/ <certPath> <sertFile>
option = -i -- interactive mode
option = -h -- show command usage
certPath    -- path to the certificate file
certFile    -- name of the certificate file
'''