We are trying to write our own provider for the KeyStore in JDK 1.2 .
One of the problems I have noticed is when you try to initialise a keystore
without having any input data. The docs recommend that we use the following :
keystore.load(null, null)
The Keystore api for the above does not call the corresponding SPI , when
this call is made. I would like to do something else, when the user tries to
do a null initialize, but am unable to implement it, as my provider never gets
invoked. All the call does is , mark the keystore as initialised and returns.
Can this be changed to pass even the null invocation to the provider, so that
we can decide what to do with such a call ?
Thanks,
Sangeeta