18#ifndef _DECAF_SECURITY_SECURERANDOMSPI_H_
19#define _DECAF_SECURITY_SECURERANDOMSPI_H_
Interface class used by Security Service Providers to implement a source of secure random bytes.
Definition: SecureRandomSpi.h:34
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()
Base class used as a Marker for all Security Provider Interface classes in the Decaf Security API.
Definition: SecuritySpi.h:32
#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