18#ifndef _DECAF_SECURITY_SECURERANDOMSPI_H_
19#define _DECAF_SECURITY_SECURERANDOMSPI_H_
virtual void providerNextBytes(unsigned char *bytes, int numBytes)=0
Generates the number of random bytes specified by the size parameter and write them to the passed byt...
virtual void providerSetSeed(const unsigned char *seed, int size)=0
Reseed the Random Number Generator, the value given supplements the previous seed value if any instea...
virtual unsigned char * providerGenerateSeed(int numBytes)=0
Generates a new set of seed bytes, the returned value may be used to seed another Random Number Gener...
virtual ~SecureRandomSpi()
#define DECAF_API
Definition Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25