Class HsmProxyResponder


  • public class HsmProxyResponder
    extends Object
    The responder of HSM proxy.
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • HsmProxyResponder

        public HsmProxyResponder​(boolean logReqResp,
                                 String reverseProxyMode,
                                 org.xipki.security.pkcs11.P11CryptServiceFactory p11CryptServiceFactory,
                                 Collection<org.xipki.security.X509Cert> clientCerts)
                          throws org.xipki.security.XiSecurityException,
                                 org.xipki.pkcs11.wrapper.TokenException
        Throws:
        org.xipki.security.XiSecurityException
        org.xipki.pkcs11.wrapper.TokenException
    • Method Detail

      • service

        public void service​(org.xipki.util.http.XiHttpRequest req,
                            org.xipki.util.http.XiHttpResponse resp)
                     throws IOException
        Throws:
        IOException
      • service

        public org.xipki.util.http.HttpResponse service​(String path,
                                                        byte[] requestBytes,
                                                        org.xipki.util.http.XiHttpRequest request)