|
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.KDF
public class KDF
The SASL-SRP KDF implementation, which is also used, depending on how it was instantiated, as a secure Pseudo Random Number Generator.
Method Summary | |
---|---|
byte[] |
derive(int length)
Returns a designated number of bytes suitable for use in the SASL SRP mechanism. |
(package private) static KDF |
getInstance(byte[] K)
A Factory mehod that returns an instance of a KDF based on
supplied seed data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
static final KDF getInstance(byte[] K)
A Factory mehod that returns an instance of a KDF
based on
supplied seed data.
K
- the SASL SRP shared secret for a KDF
to be used for
CALG and IALG setup. null
otherwise.
KDF
.public byte[] derive(int length)
Returns a designated number of bytes suitable for use in the SASL SRP mechanism.
length
- the number of bytes needed.
|
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 |