Package Summary  Overview Summary

class:DrbgParameters.NextBytes [NONE]

All Implemented Interfaces:
SecureRandomParameters
Enclosing class:
DrbgParameters

public static final class DrbgParameters.NextBytesextends Object implements SecureRandomParameters
DRBG parameters for random bits generation. It is used in SecureRandom.nextBytes(byte[], SecureRandomParameters) .
Since:
9

method:getStrength() [NONE]

  • getStrength

    public int getStrength()
    Returns the security strength requested in bits.
    Returns:
    the strength requested, or -1 if the effective strength should be used.
  • method:getPredictionResistance() [NONE]

    getPredictionResistance

    public boolean getPredictionResistance()
    Returns whether prediction resistance is requested.
    Returns:
    whether prediction resistance is requested

    method:getAdditionalInput() [NONE]

    getAdditionalInput

    public byte[] getAdditionalInput()
    Returns the requested additional input.
    Returns:
    the requested additional input, null if not requested. A new byte array is returned each time this method is called.

    © 2023 Oracle Corporation and/or its affiliates