java > java.security > java.security.securerandom >

Class: java.security.SecureRandom
    java.lang.Object
       java.util.Random
               java.security.SecureRandom


public class SecureRandom extends Random


FIELDS:

CONSTRUCTORS:
public SecureRandom()

public SecureRandom(byte[] seed)

protected SecureRandom(SecureRandomSpi secureRandomSpi, Provider provider)


METHODS:
public byte[] generateSeed(int numBytes)

public String getAlgorithm()

public static SecureRandom getInstance(String algorithm)
Throws: NoSuchAlgorithmException

public static SecureRandom getInstance(String algorithm, String provider)
Throws: NoSuchAlgorithmException
Throws: NoSuchProviderException
Throws: IllegalArgumentException

public static SecureRandom getInstance(String algorithm, Provider provider)
Throws: NoSuchAlgorithmException
Throws: IllegalArgumentException

public final Provider getProvider()

public static byte[] getSeed(int numBytes)

protected final int next(int numBits)
Overrides: Random

public void nextBytes(byte[] bytes)
Overrides: Random

public void setSeed(byte[] seed)

public void setSeed(long seed)
Overrides: Random


INHERITED METHODS:
setSeed(long), next(int), nextBytes(byte[]), nextInt(), nextInt(int), nextLong(), nextBoolean(), nextFloat(), nextDouble(), nextGaussian(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net