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

Developer

API Reference

ICERTBAG_ADDCERTBAG()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ICertBag IxOpts_AddOpt()
Description
Add one cert bag to another resulting in nested cert bags.
Params
pif
[]:
the interface pointer.
piNewBag
[]:
the bag to be added.
Interface
Prototype
  •    int ICertBag_AddCertBag(ICertBag *pif, ICertBag *piNewBag);
    
Return
  • AEE_SUCCESS: if the options could be added successfully. AEE_ENOMEMORY: if enough memory couldn't be allocated AEE_EREADONLY: if instance is read only.
    Other implementation specific error codes
Side Effect
  • None
Comments
This is exactly the same as IxOpt_AddOpt with opt ID XOPT_DEFAULTS. The bag being added, piNewBag, is addref'd. The indexing of certs in nested bags is handled the same as nesting for standard xOpts