Overview | Package | Class | Tree | Deprecated | Index | Help
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

    void setSeed(byte[] seed)

  Deprecated.
  Seed the RNG with the given seed bytes.

### setSeed

    void setSeed(long seed)

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

### nextBytes

    void nextBytes(byte[] bytes)

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

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