iaik.security.random
Interface SeedGenListener

All Known Implementing Classes:
RandomDemoAWT10, RandomDemoAWT11

public interface SeedGenListener

The SeedGenListener interface is used with SeedGenerators. SeedGenerators can be instructed to call a method each time random bits are generated to allow the calling application to find out when seed generation is finished or to let them display a progress indicator for the user.

Version:
File Revision 11
See Also:
SeedGenerator

Method Summary
 void bitsGenerated(int bitsReady, int bitsTotal)
          Method to be called by SeedGenerators each time new random bits are generated. bitsReady is the number of random bits already generated, bitsTotal is the total number of bits to be generated.
 

Method Detail

bitsGenerated

public void bitsGenerated(int bitsReady,
                          int bitsTotal)
Method to be called by SeedGenerators each time new random bits are generated. bitsReady is the number of random bits already generated, bitsTotal is the total number of bits to be generated. This method solely informs the application of the progress of seed generation, it serves no other functional purpose.

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK