Get signing chain from CMSSignedData
问题 How can I get a signing chain from a CMSSignedData (BouncyCastle) to verify it with the signing chain store? Certificate[] storeCertChain = store.getCertificateChain(alias) Isn't there a command or something like this I can get the signing chain of the data? Or get the certificate from it and there from the signing chain? 回答1: The chain of the certificate used to sign might be in the CMSSignedData , but it's not mandatory. According to RFC 3852, a CMS SignedData has the following structure