SecureRandomSpi


SecureRandomSpi java.security

Java 1.2 serializable

This abstract class defines the service-provider interface for SecureRandom . A security provider must implement a concrete subclass of this class for each pseudorandom number-generation algorithm it supports. Applications never need to use or subclass this class.

Figure 14-37. java.security.SecureRandomSpi

 public abstract class  SecureRandomSpi  implements Serializable {  // Public Constructors  public  SecureRandomSpi  ( );  // Protected Instance Methods  protected abstract byte[ ]  engineGenerateSeed  (int  numBytes  );        protected abstract void  engineNextBytes  (byte[ ]  bytes  );        protected abstract void  engineSetSeed  (byte[ ]  seed  );   } 

Passed To

SecureRandom.SecureRandom( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net