Package com.netscape.certsrv.authority
Class AuthorityClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.authority.AuthorityClient
-
public class AuthorityClient extends Client
- Author:
- Fraser Tweedale
-
-
Constructor Summary
Constructors Constructor Description AuthorityClient(PKIClient client, java.lang.String subsystem)AuthorityClient(SubsystemClient subsystemClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorityDatacreateCA(AuthorityData data)voiddeleteCA(java.lang.String aidString)java.util.List<AuthorityData>findCAs(java.lang.String id, java.lang.String parentID, java.lang.String dn, java.lang.String issuerDN)AuthorityDatagetCA(java.lang.String caIDString)java.util.List<AuthorityData>listCAs()AuthorityDatamodifyCA(AuthorityData data)-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
-
-
-
-
Field Detail
-
proxy
public AuthorityResource proxy
-
-
Constructor Detail
-
AuthorityClient
public AuthorityClient(SubsystemClient subsystemClient) throws java.lang.Exception
- Throws:
java.lang.Exception
-
AuthorityClient
public AuthorityClient(PKIClient client, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
listCAs
public java.util.List<AuthorityData> listCAs() throws java.lang.Exception
- Throws:
java.lang.Exception
-
findCAs
public java.util.List<AuthorityData> findCAs(java.lang.String id, java.lang.String parentID, java.lang.String dn, java.lang.String issuerDN) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getCA
public AuthorityData getCA(java.lang.String caIDString) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createCA
public AuthorityData createCA(AuthorityData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
modifyCA
public AuthorityData modifyCA(AuthorityData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteCA
public void deleteCA(java.lang.String aidString) throws java.lang.Exception- Throws:
java.lang.Exception
-
-