| Home | Trees | Index | Help |
|
|---|
| Package AccessGrid :: Package Security :: Module CertificateRepository :: Class Certificate |
|
| Method Summary | |
|---|---|
Create a certificate object. | |
GetFilePath(self,
filename)
| |
Returns a tuple (type, fingerprint) | |
GetIssuer(self)
| |
GetIssuerSerialHash(self)
| |
GetKeyPath(self)
| |
GetMetadata(self,
key)
| |
GetModulus(self)
| |
GetModulusHash(self)
| |
Return notafter time as seconds since the epoch | |
Return notafter time as a text string in the local timezone. | |
Return notbefore time as seconds since the epoch | |
Return notbefore time as a text string in the local timezone. | |
GetPath(self)
| |
GetSerialNumber(self)
| |
GetShortSubject(self)
| |
GetSubject(self)
| |
GetSubjectHash(self)
| |
GetVerboseHtml(self)
| |
GetVerboseText(self)
| |
GetVersion(self)
| |
IsExpired(self)
| |
IsGlobusProxy(self)
| |
A host cert has a CN of the form "hostname". | |
A service cert has a CN of the form servicename/hostname. | |
SetMetadata(self,
key,
value)
| |
Write the certificate to the given file. | |
_GetMetadataKey(self,
key)
| |
| Class Variable Summary | |
|---|---|
SRE_Pattern |
hostCertRE = ^[^\s\./]+(\.[^\s\./]+)+$
|
SRE_Pattern |
serviceCertRE = ^([^/]*)/([^/]*)$
|
| Method Details |
|---|
__init__(self,
path,
keyPath=None,
repo=None,
certHandle=None,
certText=None)
|
GetFingerprint(self)Returns a tuple (type, fingerprint) |
GetNotValidAfter(self)Return notafter time as seconds since the epoch |
GetNotValidAfterText(self)Return notafter time as a text string in the local timezone. |
GetNotValidBefore(self)Return notbefore time as seconds since the epoch |
GetNotValidBeforeText(self)Return notbefore time as a text string in the local timezone. |
IsHostCert(self)A host cert has a CN of the form "hostname".
|
IsServiceCert(self)A service cert has a CN of the form servicename/hostname.
|
WriteCertificate(self, file)Write the certificate to the given file. |
| Class Variable Details |
|---|
hostCertRE
|
serviceCertRE
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Apr 14 16:39:31 2005 | http://epydoc.sf.net |