Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss.crypto
Interface JSSSecureRandom

All Known Implementing Classes:
  PK11SecureRandom

Deprecated. Use the JCA interface instead (`SecureRandom`)

public interface JSSSecureRandom

An interface for secure random numbers.

Method Summary
`void` | `nextBytes(byte[] bytes)` Deprecated. Retrieves random bytes and stores them in the given array.
`void` | `setSeed(byte[] seed)` Deprecated. Seed the RNG with the given seed bytes.
`void` | `setSeed(long seed)` Deprecated. Seed the RNG with the eight bytes contained in `seed`.

Method Detail

### setSeed

    public void setSeed(byte[] seed)

  Deprecated.
  Seed the RNG with the given seed bytes.

### setSeed

    public void setSeed(long seed)

  Deprecated.
  Seed the RNG with the eight bytes contained in `seed`.

### nextBytes

    public void nextBytes(byte[] bytes)

  Deprecated.
  Retrieves random bytes and stores them in the given array.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD