public class PKIProcessor extends java.lang.Object implements IPKIProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADMIN_ENROLL_SERVLET_ID |
static java.lang.String |
CERT_TYPE |
protected javax.servlet.http.HttpServletRequest |
httpReq |
protected CMSRequest |
mRequest |
protected CMSServlet |
mServlet |
protected java.lang.String |
mServletId |
protected ILogger |
mSignedAuditLogger |
static java.lang.String |
OLD_CERT_TYPE |
static java.lang.String |
PKCS10_REQUEST |
static java.lang.String |
SUBJECT_KEYGEN_INFO |
static java.lang.String |
SUBJECT_NAME |
Constructor and Description |
---|
PKIProcessor() |
PKIProcessor(CMSRequest cmsReq,
CMSServlet servlet) |
Modifier and Type | Method and Description |
---|---|
protected void |
audit(java.lang.String msg)
Signed Audit Log
This method is inherited by all extended "CMSServlet"s,
and is called to store messages to the signed audit log.
|
protected java.lang.String |
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.
|
protected void |
fillCertInfo(java.lang.String protocolString,
netscape.security.x509.X509CertInfo certInfo,
IAuthToken authToken,
IArgBlock httpParams) |
protected netscape.security.x509.X509CertInfo[] |
fillCertInfoArray(java.lang.String protocolString,
IAuthToken authToken,
IArgBlock httpParams,
IRequest req) |
static void |
fillCertInfoFromAuthToken(netscape.security.x509.X509CertInfo certInfo,
IAuthToken authToken)
fill subject name, validity, extensions from authoken if any,
overriding what was in pkcs10.
|
static void |
fillCertInfoFromForm(netscape.security.x509.X509CertInfo certInfo,
IArgBlock httpParams)
fill subject name, extension from form.
|
static void |
fillValidityFromForm(netscape.security.x509.X509CertInfo certInfo,
IArgBlock httpParams) |
static void |
log(int event,
int level,
java.lang.String msg)
log according to authority category.
|
static void |
log(int level,
java.lang.String msg) |
void |
process(CMSRequest cmsReq) |
public static final java.lang.String ADMIN_ENROLL_SERVLET_ID
public static final java.lang.String SUBJECT_NAME
public static final java.lang.String OLD_CERT_TYPE
public static final java.lang.String CERT_TYPE
public static final java.lang.String PKCS10_REQUEST
public static final java.lang.String SUBJECT_KEYGEN_INFO
protected CMSRequest mRequest
protected javax.servlet.http.HttpServletRequest httpReq
protected java.lang.String mServletId
protected CMSServlet mServlet
protected ILogger mSignedAuditLogger
public PKIProcessor()
public PKIProcessor(CMSRequest cmsReq, CMSServlet servlet)
public void process(CMSRequest cmsReq) throws EBaseException
process
in interface IPKIProcessor
EBaseException
protected void fillCertInfo(java.lang.String protocolString, netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken, IArgBlock httpParams) throws EBaseException
EBaseException
protected netscape.security.x509.X509CertInfo[] fillCertInfoArray(java.lang.String protocolString, IAuthToken authToken, IArgBlock httpParams, IRequest req) throws EBaseException
EBaseException
public static void fillCertInfoFromAuthToken(netscape.security.x509.X509CertInfo certInfo, IAuthToken authToken) throws EBaseException
EBaseException
public static void fillCertInfoFromForm(netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) throws EBaseException
EBaseException
public static void fillValidityFromForm(netscape.security.x509.X509CertInfo certInfo, IArgBlock httpParams) throws EBaseException
EBaseException
public static void log(int event, int level, java.lang.String msg)
public static void log(int level, java.lang.String msg)
protected void audit(java.lang.String msg)
msg
- signed audit log messageprotected java.lang.String auditSubjectID()