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

Developer

API Reference

ICERTBAG_ADDOPT()

Brew Release
Brew MP 1.0.2
See Also
ICertBag ICertBag_AddCert IxOpts_AddOpt CERTDATAOPT
Description
This function is inherited from IxOpts_AddOpt().
Interface
Side Effect
  • None
Comments
When adding certs, ICertBag_AddCert is preferred because it provides length checking. If it is not used, some buffer length checking should be used with AddOpt to prevent buffer overruns. The specific options defined for certificate types are CERTDATAOPT_ROOT_CERTS, CERTDATAOPT_LEAF_CERT or CERTDATAOPT_BRANCH_CERTS.