|Applies To||RSA BSAFE Cert-J|
|Issue||How to determine version of RSA BSAFE Cert-J library|
When more than one RSA BSAFE Cert-J library is available, it may be necessary to compare results or features. For development reasons, it maybe best to have the application display which library was used to create the class file.
RSA BSAFE Cert-J includes a static integer CertJ.CERT_J_VERSION which contains the version number. The following is an example that displays the version of Cert-J used:
System.out.println("CertJ Version is " + CertJ.CERT_J_VERSION);
NOTE: As this is a static variable, it will be included at compile time. This means it will only confirm the library used to compile the class and not the one used at runtime.
|Legacy Article ID||a22344|