Implementation of GridShibCA::CertRegistry which registers certificate with myVocs using a back-channel database connection to myVocs. Provides functionality of GridShibCA::CertRegistry in addition.
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.
Returns: One on success, zero on error
These internal methods not intended for external use.
_sendDBCommand()_error()
Arguments:
$DBconnection - Database connection handle from DBI->connect()
$cmdStr - command string
Returns: 1 on success. 0 on error
_myVocsTimeString()Arguments: Time in seconds
Returns: Time string as needed by myVocs
GridShib-CA version 0.4.0 ($Id: myVocsDBCertRegistry.pm.in,v 1.3 2007/03/16 23:01:53 welch Exp $)