Class PKIProcessor
java.lang.Object
com.netscape.cms.servlet.processors.PKIProcessor
- All Implemented Interfaces:
IPKIProcessor
- Direct Known Subclasses:
CMCProcessor,CRMFProcessor,KeyGenProcessor,PKCS10Processor
Process Certificate Requests
- Version:
- $Revision$, $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected javax.servlet.http.HttpServletRequeststatic org.slf4j.Loggerprotected ICMSRequestprotected CMSServletprotected Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidSigned Audit Log This method is inherited by all extended "CMSServlet"s, and is called to store messages to the signed audit log.protected StringSigned Audit Log Subject ID This method is inherited by all extended "CMSServlet"s, and is called to obtain the "SubjectID" for a signed audit log message.protected voidfillCertInfo(String protocolString, org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams) protected org.mozilla.jss.netscape.security.x509.X509CertInfo[]fillCertInfoArray(String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req) static voidfillCertInfoFromAuthToken(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken) fill subject name, validity, extensions from authoken if any, overriding what was in pkcs10.static voidfillCertInfoFromForm(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) fill subject name, extension from form.static voidfillValidityFromForm(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) voidprocess(ICMSRequest cmsReq)
-
Field Details
-
logger
public static org.slf4j.Logger logger -
ADMIN_ENROLL_SERVLET_ID
- See Also:
-
SUBJECT_NAME
- See Also:
-
OLD_CERT_TYPE
- See Also:
-
CERT_TYPE
- See Also:
-
PKCS10_REQUEST
- See Also:
-
SUBJECT_KEYGEN_INFO
- See Also:
-
mRequest
-
httpReq
protected javax.servlet.http.HttpServletRequest httpReq -
mServletId
-
mServlet
-
-
Constructor Details
-
PKIProcessor
public PKIProcessor() -
PKIProcessor
-
-
Method Details
-
process
- Specified by:
processin interfaceIPKIProcessor- Throws:
EBaseException
-
fillCertInfo
protected void fillCertInfo(String protocolString, org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams) throws EBaseException - Throws:
EBaseException
-
fillCertInfoArray
protected org.mozilla.jss.netscape.security.x509.X509CertInfo[] fillCertInfoArray(String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req) throws EBaseException - Throws:
EBaseException
-
fillCertInfoFromAuthToken
public static void fillCertInfoFromAuthToken(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken) throws EBaseException fill subject name, validity, extensions from authoken if any, overriding what was in pkcs10. fill subject name, extensions from http input if not authenticated. requests not authenticated will need to be approved by an agent.- Throws:
EBaseException
-
fillCertInfoFromForm
public static void fillCertInfoFromForm(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) throws EBaseException fill subject name, extension from form. this is done for unauthenticated requests. unauthenticated requests must be approved by agents so these will all be seen by and agent.- Throws:
EBaseException
-
fillValidityFromForm
public static void fillValidityFromForm(org.mozilla.jss.netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) throws EBaseException - Throws:
EBaseException
-
audit
Signed Audit Log This method is inherited by all extended "CMSServlet"s, and is called to store messages to the signed audit log.- Parameters:
msg- signed audit log message
-
audit
-
auditSubjectID
Signed Audit Log Subject ID This method is inherited by all extended "CMSServlet"s, and is called to obtain the "SubjectID" for a signed audit log message.- Returns:
- id string containing the signed audit log message SubjectID
-