Discuss this help topic in SecureBlackbox Forum

TElWebDAVServer.OnGetSrpDb

TElWebDAVServer     See also     


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


This event is fired when SRP data is needed.

Declaration

[C#/Java]
    event TSBServerSrpDbNeededEvent OnGetSrpDb;
    delegate void TSBServerSrpDbNeededEvent(Object Sender, string UserName, ref byte[] N, ref byte[] G, ref byte[] S, ref byte[] V);

[VB.NET]
    Event OnGetSrpDb As TSBServerSrpDbNeededEvent
    Delegate Sub TSBServerSrpDbNeededEvent(ByVal Sender As Object, ByVal UserName As String, ByRef N As Byte(), ByRef G As Byte(), ByRef S As Byte(), ByRef V As Byte())

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

[C++]
    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);

[PHP]
    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)

Parameters

  • 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.

Description

    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