Abstract interface to CA to sign certificates. This class isn't intended to be used itself, it just serves as a base for other classes.
Current implementations include: GridShibCA::OpenSSLCA and GridShibCA::MyProxyCA
new()Arguments:
$username - name of user as string
$idp - idp of user as string
Returns: CA instance
getDN()Arguments: None
Returns: DN as string, or undef on error
getOpenSSLDN()Arguments: None
Returns: DN as string, or undef on error
getProtectedOpenSSLDN()/C=US/O=Example/OU=https:\/\/someurl.edu\/foo/CN=John Smith).
Arguments: None
Returns: DN as string, or undef on error
getCADN()Arguments: None
Returns: CA DN as string, undef on error
getCAOpenSSLDN()Arguments: None
Returns: CA DN as string, undef on error
getRelativeDN()Arguments: None
Returns: Relative DN as string, undef on error
getRelativeOpenSSLDN()Arguments: None
Returns: Relative DN as string, undef on error
signRequest()Arguments: PEM-encoded PKCS10 certificate request as string.
Returns: Certificate as string, or undef on error
setCredLifetime()Arguments: Lifetime in seconds
Returns: 1 on success, 0 on error
getCredLifetime()Arguments: None
Returns: Credential lifetime in seconds
getError()Arguments: None
Returns: Error string
convertRFC2253DNToOpenSSL()Arguments: DN string in RFC 2253 format
Returns: DN string in OpenSSL ``oneline'' format
These internal methods not intended for external use.
_error()Arguments: As to sprintf()
Returns: Nothing
_warn()Arguments: As to sprintf()
Returns: Nothing
_debug()Arguments: As to sprintf()
Returns: Nothing
GridShib-CA version 0.4.0 ($Id: CA.pm.in,v 1.12 2007/04/30 22:12:25 welch Exp $)