Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnBeforeCertificateRetrieverUse

TElX509CertificateValidator     See also     


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


This event is fired before retrieving a CA certificate.

Declaration

[C#/Java]
    event TSBBeforeCertificateRetrieverUseEvent OnBeforeCertificateRetrieverUse;
    delegate void TSBBeforeCertificateRetrieverUseEvent(Object Sender, TElX509Certificate Certificate, TSBGeneralName NameType, string Location, ref TElCustomCertificateRetriever Retriever);

[VB.NET]
    Event OnBeforeCertificateRetrieverUse As TSBBeforeCertificateRetrieverUseEvent
    Delegate Sub TSBBeforeCertificateRetrieverUseEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal NameType As TSBGeneralName, ByVal Location As String, ByRef Retriever As TElCustomCertificateRetriever)

[Pascal]
    property OnBeforeCertificateRetrieverUse : TSBBeforeCertificateRetrieverUseEvent;
    TSBBeforeCertificateRetrieverUseEvent = procedure(Sender : TObject; Certificate : TElX509Certificate; NameType : TSBGeneralName; const Location : string; var Retriever : TElCustomCertificateRetriever) of object;

[C++]
    void get_OnBeforeCertificateRetrieverUse(TSBBeforeCertificateRetrieverUseEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeCertificateRetrieverUse(TSBBeforeCertificateRetrieverUseEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBBeforeCertificateRetrieverUseEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TSBGeneralNameRaw NameType, const char * pcLocation, int32_t szLocation, TElCustomCertificateRetrieverHandle &Retriever);

[PHP]
    TSBBeforeCertificateRetrieverUseEvent|callable|NULL get_OnBeforeCertificateRetrieverUse()
    void set_OnBeforeCertificateRetrieverUse(TSBBeforeCertificateRetrieverUseEvent|callable|NULL $Value)
    callable TSBBeforeCertificateRetrieverUseEvent(TObject $Sender, TElX509Certificate $Certificate, integer $NameType, string $Location, TElCustomCertificateRetriever &$Retriever)

Parameters

  • Certificate - the certificate for which the signing certificate is needed.
  • NameType - specifies the name type of the certificate location.
  • Location - specifies certificate location.
  • Retriever - the component to be used for certificate retrieval.
  • pcLocation - specifies certificate location.
  • szLocation - the length of pcLocation.

Name types:


Description

    This event is fired by TElX509CertificateValidator when it needs the signing certificate. The user should provide TElCustomCertificateRetriever object which will be used to retrieve the certificate.

See also:     OnCACertificateRetrieved    

Discuss this help topic in SecureBlackbox Forum