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