Package com.netscape.certsrv.system
Class TPSConnectorClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.system.TPSConnectorClient
-
public class TPSConnectorClient extends Client
-
-
Constructor Summary
Constructors Constructor Description TPSConnectorClient(PKIClient client, java.lang.String subsystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TPSConnectorData
createConnector(java.lang.String tpsHost, java.lang.String tpsPort)
KeyData
createSharedSecret(java.lang.String id)
void
deleteConnector(java.lang.String id)
void
deleteConnector(java.lang.String host, java.lang.String port)
void
deleteSharedSecret(java.lang.String id)
TPSConnectorCollection
findConnectors(java.lang.String host, java.lang.String port, java.lang.Integer start, java.lang.Integer size)
TPSConnectorData
getConnector(java.lang.String id)
TPSConnectorData
getConnector(java.lang.String host, java.lang.String port)
KeyData
getSharedSecret(java.lang.String id)
void
init()
TPSConnectorData
modifyConnector(java.lang.String id, TPSConnectorData data)
KeyData
replaceSharedSecret(java.lang.String id)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
-
-
-
-
Constructor Detail
-
TPSConnectorClient
public TPSConnectorClient(PKIClient client, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
findConnectors
public TPSConnectorCollection findConnectors(java.lang.String host, java.lang.String port, java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConnector
public TPSConnectorData getConnector(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConnector
public TPSConnectorData getConnector(java.lang.String host, java.lang.String port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createConnector
public TPSConnectorData createConnector(java.lang.String tpsHost, java.lang.String tpsPort) throws java.lang.Exception
- Throws:
java.lang.Exception
-
modifyConnector
public TPSConnectorData modifyConnector(java.lang.String id, TPSConnectorData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteConnector
public void deleteConnector(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createSharedSecret
public KeyData createSharedSecret(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
replaceSharedSecret
public KeyData replaceSharedSecret(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteSharedSecret
public void deleteSharedSecret(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSharedSecret
public KeyData getSharedSecret(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteConnector
public void deleteConnector(java.lang.String host, java.lang.String port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-