com.maverick.ssh.components.jce
Class SecureRND

java.lang.Object
  extended by com.maverick.ssh.components.jce.SecureRND
All Implemented Interfaces:
SshSecureRandomGenerator

public class SecureRND
extends java.lang.Object
implements SshSecureRandomGenerator

Secure random number generator implementation for JCE provider.


Constructor Summary
SecureRND()
           
 
Method Summary
 void nextBytes(byte[] bytes)
           
 void nextBytes(byte[] bytes, int off, int len)
           
 int nextInt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureRND

public SecureRND()
          throws java.security.NoSuchAlgorithmException
Throws:
java.security.NoSuchAlgorithmException
Method Detail

nextBytes

public void nextBytes(byte[] bytes)
Specified by:
nextBytes in interface SshSecureRandomGenerator

nextBytes

public void nextBytes(byte[] bytes,
                      int off,
                      int len)
               throws SshException
Specified by:
nextBytes in interface SshSecureRandomGenerator
Throws:
SshException

nextInt

public int nextInt()
Specified by:
nextInt in interface SshSecureRandomGenerator


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.