Module java.base
Package java.security

Class DrbgParameters.NextBytes

    • Method Detail

      • getStrength

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

        public boolean getPredictionResistance()
        Returns whether prediction resistance is requested.
        Returns:
        whether prediction resistance is requested
      • 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.