isLibraryLoaded
Checks if the native library is loaded and ready to use.
Use case: Call this during app initialization to fail fast if the library is missing:
if (!ShieldedKeyDeriver.isLibraryLoaded()) {
throw IllegalStateException("Shielded crypto not available: ${getLoadError()}")
}Content copied to clipboard
Return
true if native library loaded successfully, false otherwise