Package com.netscape.certsrv.client
Class PKIConnection
- java.lang.Object
-
- com.netscape.certsrv.client.PKIConnection
-
public class PKIConnection extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description PKIConnection(ClientConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetOutput()voidsetCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback)voidsetOutput(java.io.File output)voidstoreEntity(java.io.OutputStream out, org.apache.http.HttpEntity entity)voidstoreRequest(java.io.File file, org.apache.http.HttpRequest request)voidstoreResponse(java.io.File file, org.apache.http.HttpResponse response)javax.ws.rs.client.WebTargettarget(java.lang.String path)
-
-
-
Constructor Detail
-
PKIConnection
public PKIConnection(ClientConfig config)
-
-
Method Detail
-
setCallback
public void setCallback(org.mozilla.jss.ssl.SSLCertificateApprovalCallback callback)
-
storeRequest
public void storeRequest(java.io.File file, org.apache.http.HttpRequest request) throws java.io.IOException- Throws:
java.io.IOException
-
storeResponse
public void storeResponse(java.io.File file, org.apache.http.HttpResponse response) throws java.io.IOException- Throws:
java.io.IOException
-
storeEntity
public void storeEntity(java.io.OutputStream out, org.apache.http.HttpEntity entity) throws java.io.IOException- Throws:
java.io.IOException
-
target
public javax.ws.rs.client.WebTarget target(java.lang.String path) throws java.lang.Exception- Throws:
java.lang.Exception
-
getOutput
public java.io.File getOutput()
-
setOutput
public void setOutput(java.io.File output)
-
-