CipherSpi.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_crypto_CipherSpi__
  3. #define __javax_crypto_CipherSpi__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace nio
  12. {
  13. class ByteBuffer;
  14. }
  15. namespace security
  16. {
  17. class AlgorithmParameters;
  18. class Key;
  19. class SecureRandom;
  20. namespace spec
  21. {
  22. class AlgorithmParameterSpec;
  23. }
  24. }
  25. }
  26. namespace javax
  27. {
  28. namespace crypto
  29. {
  30. class CipherSpi;
  31. }
  32. }
  33. }
  34. class javax::crypto::CipherSpi : public ::java::lang::Object
  35. {
  36. public:
  37. CipherSpi();
  38. public: // actually protected
  39. virtual JArray< jbyte > * engineDoFinal(JArray< jbyte > *, jint, jint) = 0;
  40. virtual jint engineDoFinal(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint) = 0;
  41. virtual jint engineDoFinal(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
  42. virtual jint engineGetBlockSize() = 0;
  43. virtual JArray< jbyte > * engineGetIV() = 0;
  44. virtual jint engineGetKeySize(::java::security::Key *);
  45. virtual jint engineGetOutputSize(jint) = 0;
  46. virtual ::java::security::AlgorithmParameters * engineGetParameters() = 0;
  47. virtual void engineInit(jint, ::java::security::Key *, ::java::security::SecureRandom *) = 0;
  48. virtual void engineInit(jint, ::java::security::Key *, ::java::security::AlgorithmParameters *, ::java::security::SecureRandom *) = 0;
  49. virtual void engineInit(jint, ::java::security::Key *, ::java::security::spec::AlgorithmParameterSpec *, ::java::security::SecureRandom *) = 0;
  50. virtual void engineSetMode(::java::lang::String *) = 0;
  51. virtual void engineSetPadding(::java::lang::String *) = 0;
  52. virtual ::java::security::Key * engineUnwrap(JArray< jbyte > *, ::java::lang::String *, jint);
  53. virtual JArray< jbyte > * engineUpdate(JArray< jbyte > *, jint, jint) = 0;
  54. virtual jint engineUpdate(JArray< jbyte > *, jint, jint, JArray< jbyte > *, jint) = 0;
  55. virtual jint engineUpdate(::java::nio::ByteBuffer *, ::java::nio::ByteBuffer *);
  56. virtual JArray< jbyte > * engineWrap(::java::security::Key *);
  57. public:
  58. static ::java::lang::Class class$;
  59. };
  60. #endif // __javax_crypto_CipherSpi__