GridShibCA::OpenSSLCA

Implementation of GridShibCA::CA Class based on OpenSSL. See that Module for a description of methods.

Configuration Parameters

This class uses the following values from gridshib-ca.conf:

OpenSSLCA
Path to executable to use.

OpenSSLCACert
Path to CA certificate.

OpenSSLCAKey
Path to private key to use.

OpenSSLCASerial
Path to file containing the serial number.

OpenSSLRandFile
Path to file to store random state.

IncludeSAMLInCert
Boolean - use GridShib SAML Tools to include SAML in issued certificates.

JavaHome
Path to JAVA_HOME. Needed to run GridShib SAML Tools.

GridShibSAMLToolsPath
Path to GridShib SAML Tools installation.

Methods

new()
Create a new interface to the CA.

Arguments:

$username - name of user as string

$idp - idp of user as string

Returns: CA instance

signRequest()
Given a certificate request return a certificate

Arguments: Certificate request as string

Returns: Certificate as string, or undef on error

getSAMLExt()
Return, as a string, a hunk of SAML for inclusion in the certificate.

Arguments: None

Returns: String containing SAML or undef on error

base64Decode()
Return, as a string, the decoded version of the based64-encoded string passed as argument.

Arguments: Base64-encoded string

Returns: Decoded string, undef on error

Version

GridShib-CA version 0.4.0 ($Id: OpenSSLCA.pm.in,v 1.16 2007/05/13 01:11:05 welch Exp $)