I am able to use the java.security.MessageDigest for “SHA-1” in the simulator, but when targeting hardware I get the following exception:
Exception in thread "Thread3" ej.sni.NativeException: Native not implemented yet (error code=-202) at com.is2t.support.security.NativeSecurityProvider.getMessageDigestSpi(NativeSecurityProvider.java:103) at java.security.MessageDigest.getInstance(MessageDigest.java:151)
The MessageDigest documentation implies that SHA should be in there…
Every implementation of the Java platform is required to support the following standard
However, digging deeper, is the java call being routed through the BSP to LLSEC_DIGEST.c?
Am I required to write the MessageDigest SHA-1 functionality in the BSP, or can MessageDigest(“SHA-1”) be implemented in Java to ‘simplify’ matters?