com.maverick.ssh.components.jce
Class SecureRND
java.lang.Object
com.maverick.ssh.components.jce.SecureRND
- All Implemented Interfaces:
- SshSecureRandomGenerator
public class SecureRND
- extends Object
- implements SshSecureRandomGenerator
Secure random number generator implementation for JCE provider.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureRND
public SecureRND()
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
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 © 2012. All Rights Reserved.