000025472 - How to run RSA BSAFE Cert-J in an applet

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000025472
Applies ToRSA BSAFE Cert-J 1.0
RSA BSAFE Cert-J 1.8
IssueHow to run RSA BSAFE Cert-J in an applet
Catching an exception concerning JSAFE_DeviceBuilderNative
CauseIn RSA BSAFE Cert-J, there is a default device string that is "Native/Java".  Because of this Cert-J tries first to see if the user is using Native and if that doesn't work then they move to Java. This causes a problem when running in an applet
ResolutionCall the following:

    CertJ.setDefaultDevice ("Java");

This call will set the devault device to Java so RSA BSAFE Cert-J will not try to access the native code at all.
Legacy Article IDa2280