Discuss this help topic in SecureBlackbox Forum

TElSRPCredential.Load

TElSRPCredential     See also     


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


Loads the SRP credentials.

Declaration

[C#/Java]
    void Load(string Data);
    void Load(string Username, byte[] Salt, byte[] Prime, byte[] Generator, byte[] Verifier);

[VB.NET]
    Sub Load(ByVal Data As String)
    Sub Load(ByVal Username As String, ByVal Salt As Byte(), ByVal Prime As Byte(), ByVal Generator As Byte(), ByVal Verifier As Byte())

[Pascal]
    procedure Load(const Data : string);
    procedure Load(const Username : string; const Salt, Prime, Generator, Verifier : ByteArray);

[C++]
    void Load(const std::string &Data);
    void Load(const std::string &Username, const std::vector<uint8_t> &Salt, const std::vector<uint8_t> &Prime, const std::vector<uint8_t> &Generator, const std::vector<uint8_t> &Verifier);

[PHP]
    void Load(string $Data)
    void Load(string $Username, array of byte|string|NULL $Salt, array of byte|string|NULL $Prime, array of byte|string|NULL $Generator, array of byte|string|NULL $Verifier)

Parameters

  • Data - the string containing the SRP credentials in the following format: "<username><TAB><b64 encoded salt><TAB><b64 encoded prime><TAB><b64 encoded generator><TAB><b64 encoded verifier>".
  • Username - specifies the username.
  • Salt - specifies the salt.
  • Prime - specifies the safe prime.
  • Generator - specifies the value of the generator.
  • Verifier - specifies the value of the verifier.

Description

    Use this method to set the SRP credentials.

See also:     Save     Generate    

Discuss this help topic in SecureBlackbox Forum