RFR [8043507]: javax.smartcardio.CardTerminals.list() fails on MacOSX

2014-05-20 Thread Ivan Gerasimov
Hello! The function javax.smartcardio.CardTerminals.list() sometimes fails when called from an app running on MacOSX. The problem is due to that CALL_SCardListReaders(_, _, _, &size) expects the size variable to be of size uint32_t on os x, but we provide a pointer to 64 bit int instead. As a

Signing operation on client side during SSL Handshake

2014-05-20 Thread Marcin Kaszubski
Hi, I want to use private key stored in client TPM to establish MTLS (so both client and server will be verified) connection with server. So during ssl handshake this key will be used to sign some data. I wanted to write my own provider and implement required services to achieve it. Unfortunatel

Re: RFR 8036779: sun.security.krb5.KdcComm interprets kdc_timeout asmsec instead of sec

2014-05-20 Thread Sean Mullan
On 05/19/2014 09:49 AM, Wang Weijun wrote: After some discussion with mit and heimdal lead engineers, I don't want to support ms at the moment. mit does not use kdc_timeout at all and heimdal's internal presentation is of seconds. So this is my plan: support "s" but if unspecified treat it as

Re: Signing operation on client side during SSL Handshake

2014-05-20 Thread Bradford Wetmore
You should continue following the code, but IIRC, internally "MD5andSHA1withRSA" does a Signature.getInstance("NONEwithRSA"), and then MessageDigest.getInstance("MD5") and ("SHA"). As long as your provider provides those algorithms and is prioritized ahead of other providers which do provide