Forum Stats

  • 3,838,749 Users
  • 2,262,397 Discussions


Get Keystore by browser and OS

2707335 Member Posts: 1
edited Jul 4, 2014 9:15AM in Cryptography

Hello all.

I'm quite noob in Criptography, so I think I need some help with this...

At this moment, I'm using JDK1.7

I have an application with keytore access. At this moment, I'm using Keystore.getInstance("Windows-MY"), to access the Windows Personal Keystore.

But, now, I need this application can be used in Linux, Android, Mac, Ipad and IPhone, and, so, I'll need make a dynamic detection and change "Windows-MY" for any other string...

How can I detect what is the OS in which my App is running?

And, when detected, What are the correct Keystore.getInstance(??) sentences I'll need?

Of course, if you know a library that make this work for me automatically, please, tell me.

Thanks a lot in advance.

Kind Regards.

This discussion has been closed.