Discuss this help topic in SecureBlackbox Forum


TElWebDAVServer     See also     

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

This event is fired when SRP data is needed.


    event TSBSSLServerSrpDbNeededEvent OnGetSrpDb;
    delegate bool TSBSSLServerSrpDbNeededEvent(System.Object Sender, string UserName; ref byte[] N, ref byte[] G, ref byte[] S, ref byte[] V);

    Event OnGetSrpDb As TSBSSLServerSrpDbNeededEvent
    Delegate Function TSBSSLServerSrpDbNeededEvent(ByVal Sender As System.Object, ByVal UserName As String, ByRef N As Byte(), ByRef G As Byte(), ByRef S As Byte(), ByRef V As Byte()) As Boolean

    property OnGetSrpDb : TSBSSLServerSrpDbNeededEvent;
    TSBSSLServerSrpDbNeededEvent = function(Sender : TObject; const UserName : string; var N, G, S, V : ByteArray) : boolean of object;

    void get_OnGetSrpDb(TSBServerSrpDbNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetSrpDb(TSBServerSrpDbNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBServerSrpDbNeededEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcUserName, int32_t szUserName, uint8_t pN[], int32_t &szN, uint8_t pG[], int32_t &szG, uint8_t pS[], int32_t &szS, uint8_t pV[], int32_t &szV);

    TSBServerSrpDbNeededEvent|callable|NULL get_OnGetSrpDb()
    void set_OnGetSrpDb(TSBServerSrpDbNeededEvent|callable|NULL $Value)
    callable TSBServerSrpDbNeededEvent(TObject $Sender, string $UserName, string &$N, string &$G, string &$S, string &$V)


  • UserName - username for which SRP data is requested.
  • N - safe prime number for SRP protocol.
  • G - the generator for the multiplicative group.
  • S - contains salt value.
  • V - specifies password verifier.
  • pcUserName - username for which SRP data is requested.
  • szUserName - the length of pcUserName.
  • pN -
  • szN - the length of pcN.
  • pG -
  • szG - the length of pcG.
  • pS -
  • szS - the length of pcS.
  • pV -
  • szV - the length of pcV.


    This event is fired by the server when SRP data is needed for client authentication. The handler must provide necessary information via the corresponding parameters.

See also:     OnKeyNeeded     Control    

Discuss this help topic in SecureBlackbox Forum