Discuss this help topic in SecureBlackbox Forum


TElCMSSignature     See also     

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

This event is fired during the signature validation.


    event TSBCMSOCSPResponseNeededEvent OnOCSPResponseNeeded;
    delegate void TSBCMSOCSPResponseNeededEvent(Object Sender, TElCMSOCSPResponsesID ID, TElX509Certificate Cert, ref TElOCSPResponse Ocsp);

    Event OnOCSPResponseNeeded As TSBCMSOCSPResponseNeededEvent
    Delegate Sub TSBCMSOCSPResponseNeededEvent(ByVal Sender As Object, ByVal ID As TElCMSOCSPResponsesID, ByVal Cert As TElX509Certificate, ByRef Ocsp As TElOCSPResponse)

    property OnOCSPResponseNeeded: TSBCMSOCSPResponseNeededEvent;
    TSBCMSOCSPResponseNeededEvent = procedure(Sender : TObject; ID : TElCMSOCSPResponsesID; Cert : TElX509Certificate; var Ocsp : TElOCSPResponse) of object;

    void get_OnOCSPResponseNeeded(TSBCMSOCSPResponseNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOCSPResponseNeeded(TSBCMSOCSPResponseNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCMSOCSPResponseNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElCMSOCSPResponsesIDHandle ID, TElX509CertificateHandle Cert, TElOCSPResponseHandle &Ocsp);

    TSBCMSOCSPResponseNeededEvent|callable|NULL get_OnOCSPResponseNeeded()
    void set_OnOCSPResponseNeeded(TSBCMSOCSPResponseNeededEvent|callable|NULL $Value)
    callable TSBCMSOCSPResponseNeededEvent(TObject $Sender, TElCMSOCSPResponsesID $ID, TElX509Certificate $Cert, TElOCSPResponse &$Ocsp)

    TSBCMSOCSPResponseNeededEvent getOnOCSPResponseNeeded();
    void setOnOCSPResponseNeeded(TSBCMSOCSPResponseNeededEvent Value);
    TSBCMSOCSPResponseNeededEvent.Callback OnOCSPResponseNeeded = new TSBCMSOCSPResponseNeededEvent.Callback() {
        public TElOCSPResponse TSBCMSOCSPResponseNeededEventCallback(TObject Sender, TElCMSOCSPResponsesID ID, TElX509Certificate Cert) {


  • ID - identifier of the required OCSP response
  • Cert - certificate for which the OCSP response is needed
  • Ocsp - required OCSP response should be placed here


    This event is fired by TElCMSSignature during signature validation if a required OCSP response is missing. User should provide the required response through Ocsp parameter. This event is fired once for each missing OCSP response.

See also:     Validate     OnCRLNeeded     OnCertificateNeeded    

Discuss this help topic in SecureBlackbox Forum