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

Developer

API Reference

JAMS_IAPPCONTROL_SETROOTCERTSTATE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes jams_IAppControl_GetNthRootCert
Description
This function sets the state of a root certificate. The possible states and their meanings are given in the parameter description.
Params
me
[]:
Pointer to the interface object.
pCertChain
[]:
Pointer to the IQI object representing the root certificate to enable or disable. This must be one of the objects returned by jams_IAppControl_GetNthRootCert.
nCertState
[]:
New state of the root certificate. The following states are currently
Interface
Prototype
  •    AEEResult jams_IAppControl_SetRootCertState
       (
          jams_IAppControl* me,
          IQI*              pCertChain,
          uint32            nCertState
       );
    
Return
  • One of the following BREW error codes: AEE_SUCCESS : The root certificate was successfully changed. AEE_EFAILED or other error code: Unspecified error.
Side Effect
  • None
Comments
None