StoreOCSPResponse Event
This event is fired when a OCSP Response should be stored along with a signature.
Syntax
public class DefaultAsicsignerEventListener implements AsicsignerEventListener { ... public void storeOCSPResponse(AsicsignerStoreOCSPResponseEvent e) {} ... } public class AsicsignerStoreOCSPResponseEvent { 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.