September 2002
Intermediate to advanced
416 pages
14h 46m
English
RandomData
This is the interface used by secure
random number generators in the JXTA platform. There is no public API
that creates or returns such a generator; you can instantiate an
instance of the jxta.security.impl.random.JRandom
class, if necessary.
public interface RandomData { // Public Constants public static final byte ALG_PSEUDO_RANDOM; // =1 public static final byte ALG_SECURE_RANDOM; // =2 // Public Instance Methods public abstract void generateData(byte[ ] buffer, short offset, short length); public abstract void setSeed(byte[ ] buffer, short offset, short length); }
Read now
Unlock full access