How can I get the certificate chain from P7B file. P7B file only contains the certificate and public key. I wanted to get the certificate chain and attach signature to pdf file. I am using Bouncy Castle library for this.
Any help would be appreciated.