Class CaConf


  • public class CaConf
    extends Object
    CA configuration.
    Since:
    2.1.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • CaConf

        public CaConf​(InputStream confFileZipStream,
                      org.xipki.security.SecurityFactory securityFactory)
               throws IOException,
                      org.xipki.util.exception.InvalidConfException,
                      CaMgmtException
        Constructor from ZIP input stream. The specified stream is closed after this method call.
        Parameters:
        confFileZipStream - the input stream containing the zipped CA configuration.
        securityFactory - An SecurityFactory with helper methods.
        Throws:
        IOException - if IO error occurs while reading the input stream.
        org.xipki.util.exception.InvalidConfException - if the CA configuration is not valid.
        CaMgmtException - if other non-RuntimeException error occurs.