package opc.ua.services.common;

import java.util.Date;

public class SoftwareCertificate {

	private String productName;
	private String productUri;
	private String vendorName;
	private byte[] vendorProductCertificate;
	private String softwareVersion;
	private String buildNumber;
	private Date buildDate;
	private String issuedBy;
	private Date issueDate;
	private Profile supportedProfiles;

	private class Profile {
		private String organizationUri;
		private String profileId;
		private String complianceTool;
		private Date complianceDate;
		
		/** 
		 * UNTESTED_0 the profiled capability has not been tested successfully
		 * PARTIAL_1    the profiled capability has been partially tested and has
         *    passed critical tests, as defined by the certifying authority.
		 * SELFTESTED_2 the profiled capability has been successfully tested using a
         *    self-test system authorized by the certifying authority.
		 * CERTIFIED_3  the profiled capability has been successfully tested by a
         *    testing organisation authorized by the certifying authority.
         */
		private String complianceLevel;
		
		private String[] unsupportedUnitIds;
		
	}
}
