I am working on a java based licensing project. I have a digital certificate file and the data for which the signature was generated. Is there some API or means to get the public key from these information? Basically Public Key from the data and digital certificate information.
Share
Your question is very vague IMHO.
If the certificate file has the public key used to verify the signature then you can load it using standard java apis (assuming X509 Certificates).
Once you have the public key you can use it to verify the signature.
Is this what you want?