ARCFourSpi.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_jce_cipher_ARCFourSpi__
  3. #define __gnu_javax_crypto_jce_cipher_ARCFourSpi__
  4. #pragma interface
  5. #include <javax/crypto/CipherSpi.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 cipher
  28. {
  29. class ARCFourSpi;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. namespace java
  36. {
  37. namespace security
  38. {
  39. class AlgorithmParameters;
  40. class Key;
  41. class SecureRandom;
  42. namespace spec
  43. {
  44. class AlgorithmParameterSpec;
  45. }
  46. }
  47. }
  48. }
  49. class gnu::javax::crypto::jce::cipher::ARCFourSpi : public ::javax::crypto::CipherSpi
  50. {
  51. public:
  52. ARCFourSpi();
  53. public: // actually protected
  54. virtual jint engineGetBlockSize();
  55. virtual void engineSetMode(::java::lang::String *);
  56. virtual void engineSetPadding(::java::lang::String *);
  57. virtual JArray< jbyte > * engineGetIV();
  58. virtual jint engineGetOutputSize(jint);
  59. virtual ::java::security::AlgorithmParameters * engineGetParameters();
  60. virtual void engineInit(jint, ::java::security::Key *, ::java::security::SecureRandom *);
  61. virtual void engineInit(jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *);
  62. virtual void engineInit(jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *);
  63. virtual JArray< jbyte > * engineUpdate(JArray< jbyte > *, jint, jint);
  64. virtual jint engineUpdate(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
  65. virtual JArray< jbyte > * engineDoFinal(JArray< jbyte > *, jint, jint);
  66. virtual jint engineDoFinal(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint);
  67. private:
  68. ::gnu::java::security::prng::IRandom * __attribute__((aligned(__alignof__( ::javax::crypto::CipherSpi)))) keystream;
  69. public:
  70. static ::java::lang::Class class$;
  71. };
  72. #endif // __gnu_javax_crypto_jce_cipher_ARCFourSpi__