Added in API level 35

DrbgParameters.Reseed

public static final class DrbgParameters.Reseed
extends Object implements SecureRandomParameters

java.lang.Object
   ↳ java.security.DrbgParameters.Reseed


DRBG parameters for reseed. It is used in SecureRandom#reseed(SecureRandomParameters).

Summary

Public methods

byte[] getAdditionalInput()

Returns the requested additional input.

boolean getPredictionResistance()

Returns whether prediction resistance is requested.

Inherited methods

Public methods

getAdditionalInput

Added in API level 35
public byte[] getAdditionalInput ()

Returns the requested additional input.

Returns
byte[] the requested additional input, or null if not requested. A new byte array is returned each time this method is called.

getPredictionResistance

Added in API level 35
public boolean getPredictionResistance ()

Returns whether prediction resistance is requested.

Returns
boolean whether prediction resistance is requested