Class DeveloperSignature

java.lang.Object
com.iizix.license.DeveloperSignature

public class DeveloperSignature extends Object
Class holding the developer signature of an iiziApp.
Author:
Christopher Mindus
  • Field Details

    • developerID

      public final UUID developerID
      The developer ID.
    • developerName

      public final String developerName
      The developer name.
    • email

      public final String email
      The developer email.
  • Constructor Details

    • DeveloperSignature

      public DeveloperSignature(X509Certificate certificate)
      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

    • getCertificate

      public X509Certificate getCertificate()
      Gets the certificate used for signing the iiziApp Jar file.
      Returns:
      The certificate, or null if this instance is not created from a certificate.