How to extract Validity To and From X509Certificate in java?
I found the answer for my Question , API does provide methods to return these dates:
x509Certificate.getNotAfter()
- Validate To Date.
x509Certificate.getNotBefore()
- Validate Before Date.
There are API methods. The X509Certificate getNotBefore() and getNotAfter() methods should return those dates.