Class ProfileClient


  • public class ProfileClient
    extends Client
    Author:
    Ade Lee
    • Constructor Detail

      • ProfileClient

        public ProfileClient​(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
      • retrieveProfile

        public ProfileData retrieveProfile​(java.lang.String id)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • retrieveProfileRaw

        public byte[] retrieveProfileRaw​(java.lang.String id)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • listProfiles

        public ProfileDataInfos listProfiles​(java.lang.Integer start,
                                             java.lang.Integer size)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • enableProfile

        public void enableProfile​(java.lang.String id)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • disableProfile

        public void disableProfile​(java.lang.String id)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createProfile

        public ProfileData createProfile​(ProfileData data)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createProfileRaw

        public byte[] createProfileRaw​(byte[] properties)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • modifyProfile

        public ProfileData modifyProfile​(ProfileData data)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • modifyProfileRaw

        public byte[] modifyProfileRaw​(java.lang.String profileId,
                                       byte[] properties)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteProfile

        public void deleteProfile​(java.lang.String id)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception