For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.srp
Class IALG

java.lang.Object
  extended bygnu.crypto.sasl.srp.IALG
All Implemented Interfaces:
java.lang.Cloneable

public final class IALG
extends java.lang.Object
implements java.lang.Cloneable

A Factory class that returns IALG (Integrity Algorithm) instances that operate as described in the draft-burdis-cat-sasl-srp-04 and later.

Version:
$Revision: 1.2 $

Method Summary
 java.lang.Object clone()
           
 byte[] doFinal()
           
static IALG getInstance(java.lang.String algorithm)
          Returns an instance of a SASL-SRP IALG implementation.
 void init(byte[] K)
           
 void update(byte[] data)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IALG getInstance(java.lang.String algorithm)
                        throws javax.security.sasl.SaslException

Returns an instance of a SASL-SRP IALG implementation.

Parameters:
algorithm - the name of the HMAC algorithm.
Returns:
an instance of this object.
Throws:
javax.security.sasl.SaslException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

init

public void init(byte[] K)
          throws javax.security.sasl.SaslException
Throws:
javax.security.sasl.SaslException

update

public void update(byte[] data)

doFinal

public byte[] doFinal()

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.