Validate that the license file was generated by this component given the key pair used in the call to initialize.
If this function returns eOk, then the contents of the license can be examined either with calls to getPropXXX or enumLicense. Also note, that valid licenses are read only and no calls to setPropXXX will be allowed.
Multiple license files can be verified in a row. Upon each call to this function all state of a previous license is cleared.
- Parameters
-
pFilePath | [ in ] Location of an existing license file. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eAccess | LICENSE_VERIFY is not set. |
P6R::eInvalidArg | pFilePath was set to NULL. |
P6R::eNotFound | Cannot open file at pFilePath. |
P6R::eFail | The license file has been modified and is no longer valid. |