For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.prng
Class CSPRNGSpi

java.lang.Object
  extended by java.security.SecureRandomSpi
      extended by gnu.crypto.jce.prng.CSPRNGSpi
All Implemented Interfaces:
Serializable

public class CSPRNGSpi
extends SecureRandomSpi

The implementation of the continuously-seeded SecureRandom Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
CSPRNGSpi()
           
 
Method Summary
protected  byte[] engineGenerateSeed(int count)
           
protected  void engineNextBytes(byte[] buffer)
           
protected  void engineSetSeed(byte[] seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSPRNGSpi

public CSPRNGSpi()
          throws ClassNotFoundException,
                 MalformedURLException,
                 NumberFormatException
Throws:
ClassNotFoundException
MalformedURLException
NumberFormatException
Method Detail

engineGenerateSeed

protected byte[] engineGenerateSeed(int count)
Specified by:
engineGenerateSeed in class SecureRandomSpi

engineNextBytes

protected void engineNextBytes(byte[] buffer)
Specified by:
engineNextBytes in class SecureRandomSpi

engineSetSeed

protected void engineSetSeed(byte[] seed)
Specified by:
engineSetSeed in class SecureRandomSpi

For the latest news and information visit
The GNU Crypto project

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