Discuss this help topic in SecureBlackbox Forum

TElSRPCredential.Generate

TElSRPCredential     See also     


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


Generates the password verifier.

Declaration

[C#/Java]
    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)

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