Discuss this help topic in SecureBlackbox Forum

TElSAMLRedirectBinding.OnRedirectBinderVerify

TElSAMLRedirectBinding     See also     


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


This event is fired when a signature needs to be verified.

Declaration

[C#]
    event TSBSAMLRedirectBinderVerify OnRedirectBinderVerify;
    delegate void TSBSAMLRedirectBinderVerify(Object Sender, string URL, string SignatureAlg, byte[] Signature);

[VB.NET]
    Event OnRedirectBinderVerify As TSBSAMLRedirectBinderVerify
    Delegate Sub TSBSAMLRedirectBinderVerify(ByVal Sender As Object, ByVal URL As String, ByVal SignatureAlg As String, ByVal Signature As Byte())

[Pascal]
    property OnRedirectBinderVerify : TSBSAMLRedirectBinderVerify;
    TSBSAMLRedirectBinderVerify = function(Sender : TObject; const URL, SignatureAlg : string; const Signature : ByteArray) : boolean of object;

[C++]
    void get_OnRedirectBinderVerify(TSBSAMLRedirectBinderVerify &pMethodOutResult, void * &pDataOutResult);
    void set_OnRedirectBinderVerify(TSBSAMLRedirectBinderVerify pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLRedirectBinderVerify)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, const char * pcSignatureAlg, int32_t szSignatureAlg, const uint8_t pSignature[], int32_t szSignature);

[PHP]
    TSBSAMLRedirectBinderVerify|callable|NULL get_OnRedirectBinderVerify()
    void set_OnRedirectBinderVerify(TSBSAMLRedirectBinderVerify|callable|NULL $Value)
    callable TSBSAMLRedirectBinderVerify(TObject $Sender, string $URL, string $SignatureAlg, string $Signature)

[Java]
    TSBSAMLRedirectBinderVerify getOnRedirectBinderVerify();
    void setOnRedirectBinderVerify(TSBSAMLRedirectBinderVerify Value);
    TSBSAMLRedirectBinderVerify.Callback OnRedirectBinderVerify = new TSBSAMLRedirectBinderVerify.Callback() {
        public boolean TSBSAMLRedirectBinderVerifyCallback(TObject Sender, String URL, String SignatureAlg, byte[] Signature) {
            //...
        }
    }

Parameters

  • URL - the signed query string.
  • SignatureAlg - specifies the signature algorithm.
  • Signature - the signature to be verified.
  • pcURL - the signed query string.
  • szURL - the length of pcURL.
  • pcSignatureAlg - specifies the signature algorithm.
  • szSignatureAlg - the length of pcSignatureAlg.
  • pSignature - the signature to be verified.
  • szSignature - the length of pSignature.

Description

This event is fired by TElSAMLRedirectBinding when it needs to verify a signature.

See also:     OnRedirectBinderSign    

Discuss this help topic in SecureBlackbox Forum