#include <p6license.h>
Inherits P6R::p6ICom.
This interface supports the generation and verification of p6I18n licenses.
This interface supports a structured licenses format consisting of many name - value pairs. The license file is signed using a private key and verified using a public key.
A p6License object can only be used for either creating new licenses or verifying existing licenses at any one time. However, a single license object can be re-initialized any number of times changing the keys used and changing the LICENSE_OPERATION. So it is possible to use the same license object to first create a license and second by re-initializing the object to be in "LICENSE_VERIFY mode" then immediately verify the same license.
Note, that once a license file is generated it cannot be modified and re-signed. To change a p6License means creating a new license file with a different set of properties. Properties can only be set in a license via a call to one of the setPropxxx functions.
Also note, that LICENSE_VERIFY means that the license in question is read only. If the license is determined to be valid, then and only then, can the contents of the license be obtained via a call to one of the getPropXXX functions or via a call to enumLicense.
Definition at line 184 of file p6license.h.