[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-dev] Patch for MSCAPI support, when using SVNKIt

From: Markus Oberlassnig <markus.oberlassnig_at_ilogs.at>
Date: Thu, 24 Jun 2010 05:23:12 -0700 (PDT)

There is also the possibility to check if the java used by the user is patched.

We can do the following check
Provider pjacapi = Security.getProvider("CAPI"); //$NON-NLS-1$
        Provider pmscapi = Security.getProvider("SunMSCAPI"); //$NON-NLS-1$
        if (pmscapi != null) {
                try {
                                Class.forName("sun.security.mscapi.NONEwithRSASignature");
                        } catch (ClassNotFoundException e1) {
                                pmscapi = null;
                        }
        }

The class sun.security.mscapi.NONEwithRSASignature will not be available on original java at this time until they fix it.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=2625613

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2010-06-24 14:23:20 CEST

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.