For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.prng
Class ICMRandomSpi

java.lang.Object
  |
  +--java.security.SecureRandomSpi
        |
        +--gnu.crypto.jce.prng.ICMRandomSpi
All Implemented Interfaces:
java.io.Serializable

public class ICMRandomSpi
extends java.security.SecureRandomSpi

An Adapter class around ICMGenerator to allow using this algorithm as a JCE SecureRandom.

See Also:
Serialized Form

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

Constructor Detail

ICMRandomSpi

public ICMRandomSpi()
Method Detail

engineGenerateSeed

public byte[] engineGenerateSeed(int numBytes)
Specified by:
engineGenerateSeed in class java.security.SecureRandomSpi

engineNextBytes

public void engineNextBytes(byte[] bytes)
Specified by:
engineNextBytes in class java.security.SecureRandomSpi

engineSetSeed

public void engineSetSeed(byte[] seed)
Specified by:
engineSetSeed in class java.security.SecureRandomSpi

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003, 2004 Free Software Foundation, Inc.