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 AuthorityData
createCA(AuthorityData data)
void
deleteCA(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)
AuthorityData
getCA(java.lang.String caIDString)
java.util.List<AuthorityData>
listCAs()
AuthorityData
modifyCA(AuthorityData data)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, getClient, getName, getSubsystem, removeClient
-
-
-
-
Field Detail
-
proxy
public AuthorityResource proxy
-
-
Constructor Detail
-
AuthorityClient
public AuthorityClient(SubsystemClient subsystemClient) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
AuthorityClient
public AuthorityClient(PKIClient client, java.lang.String subsystem) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
-
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
-
-