Obtaining the certificate chain
问题 I am working with X509 certificates in Java. Given a certificate is it possible to find all other certificates in the signing hierarchy until you reach the root certificate? I have a certificate file (with a .cer extension) and I want to extract the parent signing certificate. I want to keep finding the parent of that certificate untill I get the final root certificate, which is self signed. I have checked the X509Certificate certificate APIs and relevant APIs in java.security.cert but could