Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnCertificateValidate

TElSAMLIdentityProvider     See also     


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


This event is fired when a cient-side TLS authentication is used, to validate client's certificate.

Declaration

[C#]
    event TSBCertificateValidateEvent OnCertificateValidate;
    delegate void TSBCertificateValidateEvent(Object Sender, TElX509Certificate X509Certificate, ref TSBCertificateValidity Validity, ref int Reason);

[VB.NET]
    Event OnCertificateValidate As TSBCertificateValidateEvent
    Delegate Sub TSBCertificateValidateEvent(ByVal Sender As Object, ByVal X509Certificate As TElX509Certificate, ByRef Validity As TSBCertificateValidity, ByRef Reason As Integer)

[Pascal]
    property OnCertificateValidate : TSBCertificateValidateEvent;
    TSBCertificateValidateEvent = procedure(Sender : TObject; X509Certificate : TElX509Certificate; var Validity : TSBCertificateValidity; var Reason : TSBCertificateValidityReason) of object;

[C++]
    void get_OnCertificateValidate(TSBCertificateValidateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCertificateValidate(TSBCertificateValidateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCertificateValidateEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle X509Certificate, X509Certificate, uint8_t * Validity, uint32_t * Reason);

[PHP]
    TSBCertificateValidateEvent|callable|NULL get_OnCertificateValidate()
    void set_OnCertificateValidate(TSBCertificateValidateEvent|callable|NULL $Value)
    callable TSBCertificateValidateEvent(TObject $Sender, TElX509Certificate $X509Certificate, integer &$Validity, integer &$Reason)

[Java]
    TSBCertificateValidateEvent getOnCertificateValidate();
    void setOnCertificateValidate(TSBCertificateValidateEvent Value);
    TSBCertificateValidateEvent.Callback OnCertificateValidate = new TSBCertificateValidateEvent.Callback() {
        public void TSBCertificateValidateEventCallback(TObject Sender, TElX509Certificate X509Certificate, TElX509CertificateValidateResult Res) {
            //...
        }
    }

Parameters

  • X509Certificate - the certificate to be validated.
  • Validity - specifies the certificate validity status.
  • Reason - specifies validity reason.
  • Res - [Java] References an instance of the object, which contains Validity and Reason properties.

TSBCertificateValidity values

TSBCertificateValidityReason values

Description

This event's handler should check the validity of the client's certificate and return the corresponding validity and validity reason.

See also:     WantAuthnRequestsSigned    

Discuss this help topic in SecureBlackbox Forum