CSPRNGSpi.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_jce_prng_CSPRNGSpi__
  3. #define __gnu_javax_crypto_jce_prng_CSPRNGSpi__
  4. #pragma interface
  5. #include <java/security/SecureRandomSpi.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. namespace prng
  16. {
  17. class IRandom;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace crypto
  24. {
  25. namespace jce
  26. {
  27. namespace prng
  28. {
  29. class CSPRNGSpi;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. }
  36. class gnu::javax::crypto::jce::prng::CSPRNGSpi : public ::java::security::SecureRandomSpi
  37. {
  38. public:
  39. CSPRNGSpi();
  40. public: // actually protected
  41. virtual JArray< jbyte > * engineGenerateSeed(jint);
  42. virtual void engineNextBytes(JArray< jbyte > *);
  43. virtual void engineSetSeed(JArray< jbyte > *);
  44. private:
  45. ::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::java::security::SecureRandomSpi)))) adaptee;
  46. jboolean virgin;
  47. public:
  48. static ::java::lang::Class class$;
  49. };
  50. #endif // __gnu_javax_crypto_jce_prng_CSPRNGSpi__