Package com.iizix.license
Interface IDesignerLicenseSystem
- All Superinterfaces:
IBasicUserInfoDetailNames
,IGenericLicenseSystem
The license system interface.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface com.iizix.user.IBasicUserInfoDetailNames
DETAIL_AdditionalEmail, DETAIL_Address, DETAIL_Address_2, DETAIL_Address_3, DETAIL_City, DETAIL_CompanyDivision, DETAIL_CompanyName, DETAIL_Country, DETAIL_CroppedUploadedProfileImage, DETAIL_DBAdministrationUserName, DETAIL_DeveloperGroupID, DETAIL_DeveloperID, DETAIL_Email, DETAIL_EmailVerify, DETAIL_FirstName, DETAIL_FixedPassword, DETAIL_FullName, DETAIL_HomeFax, DETAIL_HomeMobile, DETAIL_HomePhone, DETAIL_JobTitle, DETAIL_LargeProfileImage, DETAIL_LastName, DETAIL_LocalizedFirstName, DETAIL_LocalizedFullName, DETAIL_LocalizedLastName, DETAIL_LocalizedMiddleName, DETAIL_LocalizedTitle, DETAIL_MiddleName, DETAIL_Phone, DETAIL_Phone_2, DETAIL_PinCode, DETAIL_RecoveryAnswer, DETAIL_RecoveryQuestion, DETAIL_StateProvince, DETAIL_ThumbnailProfileImage, DETAIL_Title, DETAIL_UploadedProfileImage, DETAIL_UploadedProfileImageCrop, DETAIL_WorkFax, DETAIL_WorkMobile, DETAIL_WorkPhone, DETAIL_ZipCode, detailsSet, profilePictureDetailsList
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeveloperAppPropCnrData
(PropCnr appPropCnr) Adds the required information in the AppPropCnr property container for the application.void
addDeveloperManifestAttributes
(Attributes attributes) Adds the required manifest entries for the development code signing.Gets the Developer ID to use for app licensing.Gets the developer group ID.Gets the developer ID.void
setCodeSigningPrincipal
(X500Principal principal) Assigns the X500Principal for the iiziApp code signing certificate.void
Signs the iiziApp Jar file.verifyAppJar
(JarFile jar, PropCnr appPropCnr) Verifies that an iiziApp Jar is signed with the developer certificate.Methods inherited from interface com.iizix.license.IGenericLicenseSystem
activate, addListener, assignCallback, assignFeedBack, completeRegistration, dispose, extendTrial, getDatabaseAdministratorUser, getDetails, getInstallationID, getProfilePicture, getProfilePicture, getSignature, getSignedInUser, getTrialDuration, getTrialExtension, getTrialStarted, getValidityPeriod, initialize, isConnected, isTrialMode, performOfflineRegistration, preClose, preOpen, removeListener, removeProfilePictures, requestEmailVerification, resetPassword, save, setProfilePicture, setRecoveryEmail, signIn, signOut, signUp, validate, verifyEmailCode, verifyEmailTaken
Field Details
CODE_SIGNING_PRINCIPAL
The Licensee Code Signing Principal name- See Also:
Method Details
setCodeSigningPrincipal
Assigns the X500Principal for the iiziApp code signing certificate.- Parameters:
principal
- The principal, or null to remove it.
getAppDeveloperID
String getAppDeveloperID()Gets the Developer ID to use for app licensing.- Returns:
- The Developer Group ID or the Developer ID, whichever comes first as non-null.
getDeveloperGroupID
String getDeveloperGroupID()Gets the developer group ID. A group can be a Company, or other, rather than the developer ID.- Returns:
- The developer group ID, null if not yet registered, empty string for individual developer.
getDeveloperID
String getDeveloperID()Gets the developer ID.- Returns:
- The developer ID, null if not yet registered.
addDeveloperAppPropCnrData
Adds the required information in the AppPropCnr property container for the application.- Parameters:
appPropCnr
- The application property container.- Throws:
IOException
- For failures in the AppPropCnr structure.
addDeveloperManifestAttributes
Adds the required manifest entries for the development code signing.- Parameters:
attributes
- The main attributes of the Jar file being created.- Throws:
IOException
- If there are any problems with the developer configuration.
signJar
Signs the iiziApp Jar file.- Parameters:
jarFile
- The Jar file to sign.- Throws:
IOException
- For I/O errors.
verifyAppJar
Verifies that an iiziApp Jar is signed with the developer certificate.- Parameters:
jar
- The Jar file.appPropCnr
- The application property container.- Returns:
- An error message, or null for success.
- Throws:
IOException
- For I/O errors.NotFoundException
- If the developer signature cannot be found.IllegalArgumentException
- If the developer signature is in error somehow.