Loading
Hi, we are trying to use FlxPublisherGenerateCapabilityRequest(). In our case without trusted storage but according to documentation, that should not be a problem. We get an error that we cannot understand.

When we use FlxPublisherGenerateCapabilityRequest() for the first time with initialized clientObject info (publisher/identity) we get:

ERROR : category - external, code - 0x00000008, system - 0x00000000, location - 1011, data -

 

Could you please explain what the error is about?

How can we solve it?

 

One more note: when we use provided example CapabilityRequest.c with same IdentityClient.h, we don't get such error.

 

Thanks in advance!


  • Apologies for the delay in responding. The device kits (the C API based kits that come with APIs beginning "Flx") require a storage callout implementation being provided for capability request/response processing. We provide reference implementations of those callouts which assume file based storage, but may be replaced with alternative implementations which persist storage only in memory. You can write your own or if you create a support ticket that we can share an example implementation that hopefully does something like you need.

    Do be aware that some of the security mechanisms (such as preventing message replay) will not be available to you if you do not persist responses in trusted storage.

    I don't know your use case but the device kits also support license buffers which are another way of distributing licenses but do not require a storage callout to be implemented (see the Basic Client example in your kit), although you would need to persist the license buffer somewhere.

    If you are running on a platform which is supported by our XT kits (if using the C XT kits the APIs begin "Flc") then in memory trusted storage is supported out of the box by passing a null pointer as the storage path.

    Hope that helps.

    Expand Post

Loading
Feed Detail