Class WolfCryptRandom

java.lang.Object
java.security.SecureRandomSpi
com.wolfssl.provider.jce.WolfCryptRandom
All Implemented Interfaces:
java.io.Serializable

public final class WolfCryptRandom
extends java.security.SecureRandomSpi
wolfCrypt JCE RNG/SecureRandom wrapper
Version:
1.0, March 2017
Author:
wolfSSL
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    WolfCryptRandom()  
  • Method Summary

    Modifier and Type Method Description
    protected byte[] engineGenerateSeed​(int numBytes)  
    protected void engineNextBytes​(byte[] bytes)  
    protected void engineSetSeed​(byte[] seed)  
    protected void finalize()  

    Methods inherited from class java.security.SecureRandomSpi

    engineGetParameters, engineNextBytes, engineReseed, toString

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • engineGenerateSeed

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

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

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

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable