Class FixedSecureRandom.LinuxPrngSecureRandomSpi

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    FixedSecureRandom

    public static class FixedSecureRandom.LinuxPrngSecureRandomSpi
    extends java.security.SecureRandomSpi
    SecureRandomSpi which passes all requests to the Linux PRNG (/dev/urandom).
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] engineGenerateSeed​(int size)  
      protected void engineNextBytes​(byte[] bytes)  
      protected void engineSetSeed​(byte[] bytes)  
      • Methods inherited from class java.security.SecureRandomSpi

        engineGetParameters, engineNextBytes, engineReseed, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LinuxPrngSecureRandomSpi

        public LinuxPrngSecureRandomSpi()
    • Method Detail

      • engineSetSeed

        protected void engineSetSeed​(byte[] bytes)
        Specified by:
        engineSetSeed in class java.security.SecureRandomSpi
      • engineNextBytes

        protected void engineNextBytes​(byte[] bytes)
        Specified by:
        engineNextBytes in class java.security.SecureRandomSpi
      • engineGenerateSeed

        protected byte[] engineGenerateSeed​(int size)
        Specified by:
        engineGenerateSeed in class java.security.SecureRandomSpi