Discuss this help topic in SecureBlackbox Forum

TElXAdESProcessor.OnStoreOCSPResponse

TElXAdESProcessor     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when the URI of an OCSP response is needed.

Declaration

[C#]
    event TSBXAdESStoreOCSPResponseEvent OnStoreOCSPResponse;
    delegate void TSBXAdESStoreOCSPResponseEvent(Object Sender, TElOCSPResponse OCSPResponse, ref string URI);

[VB.NET]
    Event OnStoreOCSPResponse As TSBXAdESStoreOCSPResponseEvent
    Delegate Sub TSBXAdESStoreOCSPResponseEvent(ByVal Sender As Object, ByVal OCSPResponse As TElOCSPResponse, ByRef URI As String)

[Pascal]
    property OnStoreOCSPResponse : TSBXAdESStoreOCSPResponseEvent;
    TSBXAdESStoreOCSPResponseEvent = procedure(Sender : TObject; OCSPResponse : TElOCSPResponse; var URI : WideString) of object;

[C++]
    void get_OnStoreOCSPResponse(TSBXAdESStoreOCSPResponseEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnStoreOCSPResponse(TSBXAdESStoreOCSPResponseEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXAdESStoreOCSPResponseEvent)(void * _ObjectData, TObjectHandle Sender, TElOCSPResponseHandle OCSPResponse, sb_char16_t * pcURI, int32_t &szURI);

[PHP]
    TSBXAdESStoreOCSPResponseEvent|callable|NULL get_OnStoreOCSPResponse()
    void set_OnStoreOCSPResponse(TSBXAdESStoreOCSPResponseEvent|callable|NULL $Value)
    callable TSBXAdESStoreOCSPResponseEvent(TObject $Sender, TElOCSPResponse $OCSPResponse, string &$URI)

[Java]
    TSBXAdESStoreOCSPResponseEvent getOnStoreOCSPResponse();
    void setOnStoreOCSPResponse(TSBXAdESStoreOCSPResponseEvent Value);
    TSBXAdESStoreOCSPResponseEvent.Callback OnStoreOCSPResponse = new TSBXAdESStoreOCSPResponseEvent.Callback() {
        public String TSBXAdESStoreOCSPResponseEventCallback(TObject Sender, TElOCSPResponse OCSPResponse) {
            //...
        }
    }

Parameters

  • OCSPResponse - the OCSP response which reference is needed.
  • URI - specifies the URI of the OCSP response.
  • pcURI - specifies the URI of the OCSP response.
  • szURI - the length of pcURI.

Description

    This event is fired by TElXAdESProcessor when it needs to store a revocation info reference. User should provide the URI of the OCSP response via the corresponding parameter.

See also:     OnStoreCertificate     OnStoreCRL     AddAttributeRevocationRefs     AddCompleteRevocationRefs    

Discuss this help topic in SecureBlackbox Forum