Top Description Methods
org.bouncycastle.tls.crypto

public Interface TlsSRP6VerifierGenerator

Imports
java.math.BigInteger

Base interface for a generator for SRP-6 verifiers.

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

A new verifier for use in future SRP authentication
generateVerifier
(byte[]
The salt to use, generally should be large and random
salt
,
byte[]
The user's identifying information (eg. username)
identity
,
byte[]
The user's password
password
)

Creates a new SRP-6 verifier value.

Method Detail

generateVerifierback to summary
public BigInteger generateVerifier(byte[] salt, byte[] identity, byte[] password)

Creates a new SRP-6 verifier value.

Parameters
salt:byte[]

The salt to use, generally should be large and random

identity:byte[]

The user's identifying information (eg. username)

password:byte[]

The user's password

Returns:BigInteger

A new verifier for use in future SRP authentication