Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


oracle.security.crypto.jce.provider
Class SRRandomBitsSource

java.lang.Object
  extended by oracle.security.crypto.core.RandomBitsSource
      extended by oracle.security.crypto.jce.provider.SRRandomBitsSource


public final class SRRandomBitsSource
extends oracle.security.crypto.core.RandomBitsSource

Field Summary
static int DEFAULT_SEED_SIZE
           

 

Constructor Summary
SRRandomBitsSource(java.security.SecureRandom random)
           

 

Method Summary
 void clear()
           
 int next(int bits)
           
 byte randomByte()
           
 byte[] randomBytes(byte[] bytes)
           
 void seed(byte[] seed)
           
 void seed(oracle.security.crypto.core.EntropySource es)
           

 

Methods inherited from class oracle.security.crypto.core.RandomBitsSource
a, getDefault, randomBigInt, randomBigInteger, seed, setDefault

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

DEFAULT_SEED_SIZE

public static int DEFAULT_SEED_SIZE

Constructor Detail

SRRandomBitsSource

public SRRandomBitsSource(java.security.SecureRandom random)

Method Detail

seed

public void seed(byte[] seed)
Specified by:
seed in class oracle.security.crypto.core.RandomBitsSource

seed

public void seed(oracle.security.crypto.core.EntropySource es)
Specified by:
seed in class oracle.security.crypto.core.RandomBitsSource

next

public int next(int bits)

randomByte

public byte randomByte()
Specified by:
randomByte in class oracle.security.crypto.core.RandomBitsSource

randomBytes

public byte[] randomBytes(byte[] bytes)
Overrides:
randomBytes in class oracle.security.crypto.core.RandomBitsSource

clear

public void clear()
Specified by:
clear in class oracle.security.crypto.core.RandomBitsSource

Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


Copyright © 2005, 2009, Oracle. All rights reserved.