How do I figure out what security provider my JVM is using?

L

laredotornado

Hi,

I'm using Java 1.5. How do I figure out what security provider I'm
using?

Thanks, - Dave
 
L

Lothar Kimmeringer

laredotornado said:
I'm using Java 1.5. How do I figure out what security provider I'm
using?

java.security.Security.getProviders();


Regards, Lothar
--
Lothar Kimmeringer E-Mail: (e-mail address removed)
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
 
R

Roedy Green

I'm using Java 1.5. How do I figure out what security provider I'm
using?

Here's a general trick to solve that sort of problem.

look up the Javadoc for the object in question, e.g.
java.security.Provider.

At the top of the page is a link called "USE".

Click that. Then look for methods that return a Provider.

Scanning the list, a possible candidate looks like
Provider[] Security.getProviders
--
Roedy Green Canadian Mind Products
http://mindprod.com

Nothing is so good as it seems beforehand.
~ George Eliot (born: 1819-11-22 died: 1880-12-22 at age: 61) (Mary Ann Evans)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top