Add API to obtain certificates in source stamp signer's lineage am: 5983b339ae

Original change: https://googleplex-android-review.googlesource.com/c/platform/tools/apksig/+/12692890

Change-Id: Ib50fea2def50bab22fb7677e0371dba5f13123ba