com.nimbusds.srp6.cli
Class SRP6Server

java.lang.Object
  extended by com.nimbusds.srp6.cli.SRP6Tool
      extended by com.nimbusds.srp6.cli.SRP6Server

public class SRP6Server
extends SRP6Tool

Interactive command-line server for Secure Remote Password (SRP-6a) authentication. Can be used to test and debug client-side SRP-6a authentication.

Uses the default Nimbus SRP routines for computing the password key 'x', the server and client evidence messages ('M1' and 'M2').

Version:
1.4 (2011-11-28)
Author:
Vladimir Dzhuvinov

Field Summary
 
Fields inherited from class com.nimbusds.srp6.cli.SRP6Tool
console
 
Constructor Summary
SRP6Server()
          Creates a new SRP-6a command-line server.
 
Method Summary
static void main(java.lang.String[] args)
          The main entry point to the command-line SRP-6a server.
 void run()
          Runs the SRP-6a command-line tool.
 
Methods inherited from class com.nimbusds.srp6.cli.SRP6Tool
getConfig, readBigInteger, readInput, readInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRP6Server

public SRP6Server()
           throws java.io.IOException
Creates a new SRP-6a command-line server.

Throws:
java.io.IOException
Method Detail

run

public void run()
         throws java.io.IOException
Runs the SRP-6a command-line tool.

Specified by:
run in class SRP6Tool
Throws:
java.io.IOException - On missing / bad input or console I/O exception.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The main entry point to the command-line SRP-6a server.

Parameters:
args - The command line arguments.
Throws:
java.lang.Exception - On a CLI or SRP-6a exception.