public class ProfileClient extends Client
| Modifier and Type | Field and Description |
|---|---|
ProfileResource |
profileClient |
| Constructor and Description |
|---|
ProfileClient(PKIClient client,
java.lang.String subsystem) |
| Modifier and Type | Method and Description |
|---|---|
ProfileData |
createProfile(ProfileData data) |
byte[] |
createProfileRaw(byte[] properties) |
void |
deleteProfile(java.lang.String id) |
void |
disableProfile(java.lang.String id) |
void |
enableProfile(java.lang.String id) |
void |
init() |
ProfileDataInfos |
listProfiles(java.lang.Integer start,
java.lang.Integer size) |
ProfileData |
modifyProfile(ProfileData data) |
byte[] |
modifyProfileRaw(java.lang.String profileId,
byte[] properties) |
ProfileData |
retrieveProfile(java.lang.String id) |
byte[] |
retrieveProfileRaw(java.lang.String id) |
addClient, createProxy, getClient, getName, getSubsystem, removeClientpublic ProfileResource profileClient
public ProfileClient(PKIClient client, java.lang.String subsystem) throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void init()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic ProfileData retrieveProfile(java.lang.String id) throws java.lang.Exception
java.lang.Exceptionpublic byte[] retrieveProfileRaw(java.lang.String id)
throws java.lang.Exception
java.lang.Exceptionpublic ProfileDataInfos listProfiles(java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
java.lang.Exceptionpublic void enableProfile(java.lang.String id)
throws java.lang.Exception
java.lang.Exceptionpublic void disableProfile(java.lang.String id)
throws java.lang.Exception
java.lang.Exceptionpublic ProfileData createProfile(ProfileData data) throws java.lang.Exception
java.lang.Exceptionpublic byte[] createProfileRaw(byte[] properties)
throws java.lang.Exception
java.lang.Exceptionpublic ProfileData modifyProfile(ProfileData data) throws java.lang.Exception
java.lang.Exceptionpublic byte[] modifyProfileRaw(java.lang.String profileId,
byte[] properties)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteProfile(java.lang.String id)
throws java.lang.Exception
java.lang.Exception