Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.crypto.key.srp6
Class SRPAlgorithm  view SRPAlgorithm download SRPAlgorithm.java

java.lang.Object
  extended bygnu.javax.crypto.key.srp6.SRPAlgorithm

public class SRPAlgorithm
extends java.lang.Object

Utilities for use with SRP-6 based methods and protocols.

Reference:

  1. SRP Protocol Design
    Thomas J. Wu.


Field Summary
static java.math.BigInteger N_1024
           
static java.math.BigInteger N_1280
           
static java.math.BigInteger N_1536
           
static java.math.BigInteger N_2048
           
static java.math.BigInteger N_264
           
static java.math.BigInteger N_384
           
static java.math.BigInteger N_512
           
static java.math.BigInteger N_640
           
static java.math.BigInteger N_768
           
private static java.math.BigInteger ONE
           
private static java.math.BigInteger TWO
           
private static java.math.BigInteger ZERO
           
 
Constructor Summary
private SRPAlgorithm()
          Trivial constructor to enforce usage through class methods.
 
Method Summary
static void checkParams(java.math.BigInteger N, java.math.BigInteger g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

N_2048

public static final java.math.BigInteger N_2048

N_1536

public static final java.math.BigInteger N_1536

N_1280

public static final java.math.BigInteger N_1280

N_1024

public static final java.math.BigInteger N_1024

N_768

public static final java.math.BigInteger N_768

N_640

public static final java.math.BigInteger N_640

N_512

public static final java.math.BigInteger N_512

N_384

public static final java.math.BigInteger N_384

N_264

public static final java.math.BigInteger N_264

ZERO

private static final java.math.BigInteger ZERO

ONE

private static final java.math.BigInteger ONE

TWO

private static final java.math.BigInteger TWO
Constructor Detail

SRPAlgorithm

private SRPAlgorithm()
Trivial constructor to enforce usage through class methods.

Method Detail

checkParams

public static void checkParams(java.math.BigInteger N,
                               java.math.BigInteger g)