API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

JAMS_IINSTALL_VERIFYJAR()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function performs the following checks on the JAR: * Compares the JAD's expected JAR size with the actual size of the JAR file. * Extracts the manifest, * Verifies manifest mandatory attributes and verifies it against JAD. * Verifies profile and configuration details. * Verifies the signature (if present) unless the "protection_domain" and "cert_chain_index" properties are set prior to calling this function.
Params
me
[]:
Pointer to the interface object.
pszJARPath
[]:
Absolute file path of the JAR.
pISignal
[]:
Signal to set when the JAR has been verified. The result of the verification can be determined by checking the value of the "midp_status_code" property.
Interface
Prototype
  •    AEEResult jams_IInstall_VerifyJar
       (
          jams_IInstall*	me,
          const char*	pszJARPath,
          ISignal*		pISignal
       );
    
Return
  • One of the following BREW error codes: AEE_SUCCESS JAR verification successfully initiated. Note this only indicates the verification was successfully started. AEE_EBADSTATE Installation process was not in the INITIATED or VERIFIED_JAD state, or the "midp_status_code" is not MIDP_STATUS_SUCCESS. AEE_EFAILED or other Unspecified error.
Side Effect
  • None
Comments
None