StoreOCSPResponse Event
This event is fired when a OCSP Response should be stored along with a signature.
Syntax
public class DefaultSoapsignerEventListener implements SoapsignerEventListener { ... public void storeOCSPResponse(SoapsignerStoreOCSPResponseEvent e) {} ... } public class SoapsignerStoreOCSPResponseEvent { public byte[] OCSPResponse; public String URI; }
Remarks
This event could occur if you are verifying XAdES-C form or higher. OCSPResponse parameter contains an OCSP Response in binary form that should be stored along with a signature, and the user should provide the URI of the stored OCSP Response.