SSLRSASignatureImpl.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__
  3. #define __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__
  4. #pragma interface
  5. #include <java/security/SignatureSpi.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace classpath
  12. {
  13. namespace debug
  14. {
  15. class SystemLogger;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace net
  21. {
  22. namespace ssl
  23. {
  24. namespace provider
  25. {
  26. class SSLRSASignatureImpl;
  27. }
  28. }
  29. }
  30. }
  31. }
  32. namespace java
  33. {
  34. namespace security
  35. {
  36. class MessageDigest;
  37. class PrivateKey;
  38. class PublicKey;
  39. namespace interfaces
  40. {
  41. class RSAPrivateKey;
  42. class RSAPublicKey;
  43. }
  44. }
  45. }
  46. }
  47. class gnu::javax::net::ssl::provider::SSLRSASignatureImpl : public ::java::security::SignatureSpi
  48. {
  49. public:
  50. SSLRSASignatureImpl();
  51. public: // actually protected
  52. virtual void engineInitVerify(::java::security::PublicKey *);
  53. virtual void engineInitSign(::java::security::PrivateKey *);
  54. virtual void engineUpdate(jbyte);
  55. virtual void engineUpdate(JArray< jbyte > *, jint, jint);
  56. virtual JArray< jbyte > * engineSign();
  57. virtual jboolean engineVerify(JArray< jbyte > *);
  58. virtual void engineSetParameter(::java::lang::String *, ::java::lang::Object *);
  59. virtual ::java::lang::Object * engineGetParameter(::java::lang::String *);
  60. private:
  61. static ::gnu::classpath::debug::SystemLogger * logger;
  62. ::java::security::interfaces::RSAPublicKey * __attribute__((aligned(__alignof__( ::java::security::SignatureSpi)))) pubkey;
  63. ::java::security::interfaces::RSAPrivateKey * privkey;
  64. ::java::security::MessageDigest * md5;
  65. ::java::security::MessageDigest * sha;
  66. jboolean initSign;
  67. jboolean initVerify;
  68. public:
  69. static ::java::lang::Class class$;
  70. };
  71. #endif // __gnu_javax_net_ssl_provider_SSLRSASignatureImpl__