Class PKIConnection
java.lang.Object
com.netscape.certsrv.client.PKIConnection
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.mozilla.jss.ssl.SSLCertificateApprovalCallbackorg.apache.http.impl.client.CloseableHttpClientvoidsetCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) voidvoidstoreEntity(OutputStream out, org.apache.http.HttpEntity entity) voidstoreRequest(PrintStream out, org.apache.http.HttpRequest request) voidstoreResponse(PrintStream out, org.apache.http.HttpResponse response)
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
PKIConnection
- Throws:
Exception
-
-
Method Details
-
getConfig
-
getCallback
public org.mozilla.jss.ssl.SSLCertificateApprovalCallback getCallback() -
setCallback
public void setCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback) -
getHttpClient
public org.apache.http.impl.client.CloseableHttpClient getHttpClient() -
storeRequest
- Throws:
IOException
-
storeResponse
public void storeResponse(PrintStream out, org.apache.http.HttpResponse response) throws IOException - Throws:
IOException
-
storeEntity
- Throws:
IOException
-
getTarget
-
getOutput
-
setOutput
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-