Class 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$
    • Constructor Detail

      • ImportCertsTemplateFiller

        public ImportCertsTemplateFiller()
    • 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 interface ICMSTemplateFiller
        Parameters:
        cmsReq - CMS Request
        authority - this authority
        locale - 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