This section describes how to integrate Security Builder functionality into your application.
The BlackBerry 10 Native SDK contains the BlackBerry OS Cryptographic Kernel (version
5.6), which has been validated to FIPS 140-2, Level 1, under Certificate # 1578.
Access to Native SDK functionality is provided through
Security Builder Crypto.
To use this functionality with your application, you must link your application with libhuapi.so.5.
Your application must call the
Security Builder Crypto functions in the following order for proper usage:
- Create a global context.
- Enable support for the Security Builder GSE algorithms by calling hu_RegisterSbg56().
- Enable a system-specific source of seed by calling hu_RegisterSystemSeed().
- Initialize the Security Builder GSE cryptographic module by calling hu_InitSbg56().
- Call Security Builder Crypto functions as required by your application.
- Call hu_DestroyGlobalCtx() to destroy the global context before exiting your application.