StoreCertificate Event
This event is fired when a certificate should be stored along with a signature.
Syntax
public class DefaultAsicverifierEventListener implements AsicverifierEventListener { ... public void storeCertificate(AsicverifierStoreCertificateEvent e) {} ... } public class AsicverifierStoreCertificateEvent { public byte[] cert; public String URI; }
Remarks
This event could occur if you are verifying XAdES-C form or higher. Cert parameter contains a certificate in binary form that should be stored along with a signature, and the user should provide the URI of the stored certificate.