StoreCertificate Event
This event is fired when a certificate should be stored along with a signature.
Syntax
public class DefaultOfficeverifierEventListener implements OfficeverifierEventListener { ... public void storeCertificate(OfficeverifierStoreCertificateEvent e) {} ... } public class OfficeverifierStoreCertificateEvent { 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.