Retrieves the tag value from a Global Context for the specified algorithm.
#include "hurtti.h"
sb_Tag hu_GlobalContextTag(sb_GlobalCtx ctx, sb_Tag tag)
BlackBerry 10.0.0
Global Context
A tag which specifies which algorithm the tag is being requested for. Currently, only HU_TAG_TYPE_AES is supported.
The tag value. This will be 0 if the tag for the requested algorithm could not be determined. This occurs when ctx is NULL, ctx has not had a provider registered, or the adapter being queried does not support RTTI. This function is only supported in SB Crypto-C 5.5 and onwards. HU_TAG_LIB(tag) can be used on the returned tag to extract the provider that is registered.