Discuss this help topic in SecureBlackbox Forum

TElSRPCredential.Generate

TElSRPCredential     See also     


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


Generates the password verifier.

Declaration

[C#]
    void Generate(string Username, string Password, TSBSRPCredentialPrimeLen PrimeLen);
    void Generate(string Username, string Password, byte[] Prime, byte[] Generator);

[VB.NET]
    Sub Generate(ByVal Username As String, ByVal Password As String, ByVal PrimeLen As TSBSRPCredentialPrimeLen)
    Sub Generate(ByVal Username As String, ByVal Password As String, ByVal Prime As Byte(), ByVal Generator As Byte())

[Pascal]
    procedure Generate(const Username : string; const Password : string; const PrimeLen : TSBSRPCredentialPrimeLen);
    procedure Generate(const Username : string; const Password : string; const Prime : ByteArray; const Generator : ByteArray);

[C++]
    void Generate(const std::string &Username, const std::string &Password, TSBSRPCredentialPrimeLen PrimeLen);
    void Generate(const std::string &Username, const std::string &Password, const std::vector<uint8_t> &Prime, const std::vector<uint8_t> &Generator);

[PHP]
    void Generate(string $Username, string $Password, integer $PrimeLen)
    void Generate(string $Username, string $Password, array of byte|string|NULL $Prime, array of byte|string|NULL $Generator)

[Java]
    void generate(String Username, String Password, byte[] Prime, byte[] Generator);
    void generate(String Username, String Password, TSBSRPCredentialPrimeLen PrimeLen);

Parameters

  • Username - specifies the username.
  • Password - specifies the password.
  • PrimeLen - specifies the length of the safe prime in bits.
  • Prime - specifies the safe prime.
  • Generator - specifies the value of the generator.

Values:

Description

    Call this method to generate the password verifier.

See also:     Verifier     Prime     Generator    

Discuss this help topic in SecureBlackbox Forum