Package com.netscape.cms.servlet.cert
Class ImportCertsTemplateFiller
- java.lang.Object
-
- com.netscape.cms.servlet.cert.ImportCertsTemplateFiller
-
- All Implemented Interfaces:
ICMSTemplateFiller
public class ImportCertsTemplateFiller extends java.lang.Object implements ICMSTemplateFiller
Set up HTTP response to import certificate into browsers The result must have been populate with the set of certificates to return.inputs: certtype. outputs: - cert type from http input (if any) - CA chain - authority name (RM, CM, DRM) - scheme:host:port of server. array of one or more - cert serial number - cert pretty print - cert in base 64 encoding. - cmmf blob to import
- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BASE64_CERT
static java.lang.String
CERT_FINGERPRINT
static java.lang.String
CERT_NICKNAME
static java.lang.String
CERT_PRETTYPRINT
static java.lang.String
CERT_TYPE
static java.lang.String
CMMF_RESP
static java.lang.String
CRMF_REQID
static java.lang.String
ISSUED_CERT_SERIAL
static java.lang.String
PKCS7_RESP
-
Fields inherited from interface com.netscape.cms.servlet.common.ICMSTemplateFiller
AUTHORITY, ERROR, ERROR_DESCR, EXCEPTION, HOST, KEYREC_ID, PORT, REQUEST_ID, REQUEST_STATUS, SCHEME
-
-
Constructor Summary
Constructors Constructor Description ImportCertsTemplateFiller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSTemplateParams
getTemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e)
CMSTemplateParams
getX509TemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e)
-
-
-
Field Detail
-
CRMF_REQID
public static final java.lang.String CRMF_REQID
- See Also:
- Constant Field Values
-
ISSUED_CERT_SERIAL
public static final java.lang.String ISSUED_CERT_SERIAL
- See Also:
- Constant Field Values
-
CERT_TYPE
public static final java.lang.String CERT_TYPE
- See Also:
- Constant Field Values
-
BASE64_CERT
public static final java.lang.String BASE64_CERT
- See Also:
- Constant Field Values
-
CERT_PRETTYPRINT
public static final java.lang.String CERT_PRETTYPRINT
- See Also:
- Constant Field Values
-
CERT_FINGERPRINT
public static final java.lang.String CERT_FINGERPRINT
- See Also:
- Constant Field Values
-
CERT_NICKNAME
public static final java.lang.String CERT_NICKNAME
- See Also:
- Constant Field Values
-
CMMF_RESP
public static final java.lang.String CMMF_RESP
- See Also:
- Constant Field Values
-
PKCS7_RESP
public static final java.lang.String PKCS7_RESP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTemplateParams
public CMSTemplateParams getTemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e) throws java.lang.Exception
- Specified by:
getTemplateParams
in interfaceICMSTemplateFiller
- Parameters:
cmsReq
- CMS Requestauthority
- this authoritylocale
- locale of template.e
- unexpected exception e. ignored.- Throws:
java.lang.Exception
-
getX509TemplateParams
public CMSTemplateParams getX509TemplateParams(CMSRequest cmsReq, IAuthority authority, java.util.Locale locale, java.lang.Exception e) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-