Package com.iizix.license
Class DeveloperSignature
java.lang.Object
com.iizix.license.DeveloperSignature
Class holding the developer signature of an iiziApp.
- Author:
- Christopher Mindus
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionDeveloperSignature
(String email, String name, byte[] did, String organizationUnit, String organizationName, String localityName, String stateName, String country) Constructor to generate code signing certificate.DeveloperSignature
(X509Certificate certificate) Constructor from a X.509 certificate.Method Summary
Modifier and TypeMethodDescriptionGets the certificate used for signing the iiziApp Jar file.
Field Details
Constructor Details
DeveloperSignature
Constructor from a X.509 certificate.- Parameters:
certificate
- The developer certificate.- Throws:
NullPointerException
- If certificate is null.IllegalArgumentException
- If it is not a valid developer certificate.
DeveloperSignature
public DeveloperSignature(String email, String name, byte[] did, String organizationUnit, String organizationName, String localityName, String stateName, String country) throws Exception Constructor to generate code signing certificate.- Parameters:
email
- The email or user name.name
- The developer name.did
- The developer ID.organizationUnit
-organizationName
-localityName
-stateName
-country
-- Throws:
Exception
- For errors in strings that won't make it as LDAP or X500Principal.
Method Details