|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.crypto.sasl.srp.IALG
A Factory class that returns IALG (Integrity Algorithm) instances that operate as described in the draft-burdis-cat-sasl-srp-04 and later.
Method Summary | |
---|---|
Object |
clone()
|
byte[] |
doFinal()
|
(package private) static IALG |
getInstance(String algorithm)
Returns an instance of a SASL-SRP IALG implementation. |
void |
init(KDF kdf)
|
int |
length()
Returns the length (in bytes) of this SASL SRP Integrity Algorithm. |
void |
update(byte[] data)
|
void |
update(byte[] data,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
static IALG getInstance(String algorithm) throws SaslException
Returns an instance of a SASL-SRP IALG implementation.
algorithm
- the name of the HMAC algorithm.
SaslException
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public void init(KDF kdf) throws SaslException
SaslException
public void update(byte[] data)
public void update(byte[] data, int offset, int length)
public byte[] doFinal()
public int length()
Returns the length (in bytes) of this SASL SRP Integrity Algorithm.
|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |