Discuss this help topic in SecureBlackbox Forum

TElOCSPClass.OnCertificateNeeded

TElOCSPClass     See also     


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


This event is fired when the component could not find a certificate used to sign the request.

Declaration

[C#]
    event TSBOCSPCertificateNeededEvent OnCertificateNeeded;
    delegate void TSBOCSPCertificateNeededEvent(Object Sender, ref TElX509Certificate Certificate);

[VB.NET]
    Event OnCertificateNeeded As TSBOCSPCertificateNeededEvent
    Delegate Sub TSBOCSPCertificateNeededEvent(ByVal Sender As Object, ByRef Certificate As TElX509Certificate)

[Pascal]
    property OnCertificateNeeded : TSBOCSPCertificateNeededEvent;
    TSBOCSPCertificateNeededEvent = procedure(Sender : TObject; var Certificate : TElX509Certificate) of object;

[C++]
    void get_OnCertificateNeeded(TSBOCSPCertificateNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCertificateNeeded(TSBOCSPCertificateNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBOCSPCertificateNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle &Certificate);

[PHP]
    TSBOCSPCertificateNeededEvent|callable|NULL get_OnCertificateNeeded()
    void set_OnCertificateNeeded(TSBOCSPCertificateNeededEvent|callable|NULL $Value)
    callable TSBOCSPCertificateNeededEvent(TObject $Sender, TElX509Certificate &$Certificate)

[Java]
    TSBOCSPCertificateNeededEvent getOnCertificateNeeded();
    void setOnCertificateNeeded(TSBOCSPCertificateNeededEvent Value);
    TSBOCSPCertificateNeededEvent.Callback OnCertificateNeeded = new TSBOCSPCertificateNeededEvent.Callback() {
        public TElX509Certificate TSBOCSPCertificateNeededEventCallback(TObject Sender) {
            //...
        }
    }

Parameters

  • Certificate -

Description

    This event is fired when the component received a signed request (or response) from the peer, and the certificate was not included with the signature. You need to search for the certificate and provide it via the corresponding parameter. You can use RequestorName as a hint.

See also:     RequestorName     SigningCertStorage    

Discuss this help topic in SecureBlackbox Forum