Class OcspServerImpl

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.xipki.ocsp.api.OcspServer

    public class OcspServerImpl
    extends Object
    implements org.xipki.ocsp.api.OcspServer
    Implementation of OcspServer.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • OcspServerImpl

        public OcspServerImpl​(org.xipki.license.api.OcspLicense license)
    • Method Detail

      • setSecurityFactory

        public void setSecurityFactory​(org.xipki.security.SecurityFactory securityFactory)
      • setConfFile

        public void setConfFile​(String confFile)
      • getResponderForPath

        public org.xipki.ocsp.api.ResponderAndPath getResponderForPath​(String path)
        Specified by:
        getResponderForPath in interface org.xipki.ocsp.api.OcspServer
      • isInitialized

        public boolean isInitialized()
      • init

        public void init()
                  throws org.xipki.util.exception.InvalidConfException,
                         org.xipki.password.PasswordResolverException
        Throws:
        org.xipki.util.exception.InvalidConfException
        org.xipki.password.PasswordResolverException
      • init

        public void init​(boolean force)
                  throws org.xipki.util.exception.InvalidConfException,
                         org.xipki.password.PasswordResolverException
        Throws:
        org.xipki.util.exception.InvalidConfException
        org.xipki.password.PasswordResolverException
      • answer

        public org.xipki.ocsp.api.OcspRespWithCacheInfo answer​(org.xipki.ocsp.api.Responder responder2,
                                                               byte[] request,
                                                               boolean viaGet)
        Specified by:
        answer in interface org.xipki.ocsp.api.OcspServer
      • healthCheck

        public boolean healthCheck​(org.xipki.ocsp.api.Responder responder2)
        Specified by:
        healthCheck in interface org.xipki.ocsp.api.OcspServer