Discuss this help topic in SecureBlackbox Forum

TElSAMLRedirectBinding.OnRedirectBinderSign

TElSAMLRedirectBinding     See also     


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


This event is fired when a query needs to be signed.

Declaration

[C#]
    event TSBSAMLRedirectBinderSign OnRedirectBinderSign;
    delegate void TSBSAMLRedirectBinderSign(Object Sender, string URL, string SignatureAlg);

[VB.NET]
    Event OnRedirectBinderSign As TSBSAMLRedirectBinderSign
    Delegate Sub TSBSAMLRedirectBinderSign(ByVal Sender As Object, ByVal URL As String, ByVal SignatureAlg As String)

[Pascal]
    property OnRedirectBinderSign : TSBSAMLRedirectBinderSign;
    TSBSAMLRedirectBinderSign = function(Sender : TObject; const URL, SignatureAlg : string): ByteArray of object;

[C++]
    void get_OnRedirectBinderSign(TSBSAMLRedirectBinderSign &pMethodOutResult, void * &pDataOutResult);
    void set_OnRedirectBinderSign(TSBSAMLRedirectBinderSign pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLRedirectBinderSign)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, const char * pcSignatureAlg, int32_t szSignatureAlg);

[PHP]
    TSBSAMLRedirectBinderSign|callable|NULL get_OnRedirectBinderSign()
    void set_OnRedirectBinderSign(TSBSAMLRedirectBinderSign|callable|NULL $Value)
    callable TSBSAMLRedirectBinderSign(TObject $Sender, string $URL, string $SignatureAlg)

[Java]
    TSBSAMLRedirectBinderSign getOnRedirectBinderSign();
    void setOnRedirectBinderSign(TSBSAMLRedirectBinderSign Value);
    TSBSAMLRedirectBinderSign.Callback OnRedirectBinderSign = new TSBSAMLRedirectBinderSign.Callback() {
        public byte[] TSBSAMLRedirectBinderSignCallback(TObject Sender, String URL, String SignatureAlg) {
            //...
        }
    }

Parameters

  • URL - contains URL query to be signed.
  • SignatureAlg - specifies the signature algorithm to be used.
  • pcURL - contains URL query to be signed.
  • szURL - the length of pcURL.
  • pcSignatureAlg - specifies the signature algorithm to be used.
  • szSignatureAlg - the length of pcSignatureAlg.

Description

This event is fired by TElSAMLRedirectBinding when it needs to sign a message (query string). The handler should compute and return the signature value.

See also:     OnRedirectBindingVerify    

Discuss this help topic in SecureBlackbox Forum