I am using the java.security package to verify some digital signatures. Basically I am calling the verify method of the Signature class. I want to understand the internal logic of the verify method. Therefore I have extracted the Signature.class from the rt.jar, decompiled it and then put it in proper package structure in my eclipse project. However, it is not compiling and complaining about “cannot resolve” errors. I am fixing them one by one by decompiling other inbuilt java classes but this seems to be endless. Is this the correct approach to debug in-built java api’s or is there some other recommended approach ?
I am using the java.security package to verify some digital signatures. Basically I am
Share
I’d added source of the API using attach source into the eclipse and use the default debugger to debug the app