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

Developer

API Reference

ICERTBAG_REMOVECERT()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ICertBag ICertBag_RemoveOpt()
Description
Remove a certificate from ICertBag.
Params
pif
[]:
the interface pointer.
nCertType
[]:
ID of the option to find in the options list, XOPT_ANY returns the nIndexth option, if there is one.
nIndex
[]:
which item (if there are multiple xOpts of the same id) to get. nIndex counts from most recently AddOpt()ed option, nIndex is zero-based.
Interface
Prototype
  •    int ICertBag_RemoveCert(ICertBag *pif, int32 nCertType, int32 nIndex);
    
Return
  • AEE_SUCCESS: Success. AEE_EFAILED: if the specified Cert couldn't be found. AEE_EREADONLY: if instance is read only.
    Other implementation specific error codes
Side Effect
  • None
Comments
This is exactly the same as IxOpts_RemoveOpt.