Interface for certificate registry, used to record issued certificates. This implementation records the last certificate issued for each user in the directory specified by the configuration parameter CertRegistryDir
Other implementations include: GridShibCA::myVocsDBCertRegistry
This class uses the following values from gridshib-ca.conf:
new()Arguments: None
Returns: CertRegistry instance
registerCert()Arguments:
$userId - User identity as a string.
$idp - IDP for user as a string.
$dn - DN issued to user as a string.
$certificate - PEM-encoded certificate as a string.
$lifetime - Certificate lifetime in seconds
Returns: One on success, zero on error
getError()Arguments: None
Returns: Error string
These internal methods not intended for external use.
_error()Arguments: As to sprintf()
Returns: Nothing
GridShib-CA version 0.4.0 ($Id: CertRegistry.pm.in,v 1.5 2007/03/15 02:19:15 welch Exp $)