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

Developer

API Reference

IPUBKEYUTIL_LOOKUPOIDMAPPING()

Brew Release
Brew MP 1.0.2
See Also
IPubKeyUtil_AddOIDMapping()
Description

This function can be used to look up OID mappings. Mappings added using AddOIDMapping are searched and if OID being searched for is not found, AEE_ENOSUCH is returned.
Params
pif
[]:
[in] interface pointer
uOID
[]:
[in] unique OID. puHashCTXClassID[out]place to store class ID of context implementing/supporting this algorithm. May be NULL.
nPadType
[]:
[out] place to store signature/padding types. May be NULL.
Interface
Prototype
  • int IPubKeyUtil_LookupOIDMapping(IPubKeyUtil *pif, unsigned uOID,
                                     AEECLASSID *puHashCTXClassID, int *pnPadType)
    
Return
  • AEE_SUCCESS: Parse completed successfully
    AEE_ENOSUCH: OID mapping not present.
    AEE_EUNSUPPORTED: Api not supported in this version of implemenation
    -- other error codes as returned by implementation

Side Effect
  • None