PrivateCredentials.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_net_ssl_PrivateCredentials__
  3. #define __gnu_javax_net_ssl_PrivateCredentials__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace net
  14. {
  15. namespace ssl
  16. {
  17. class PrivateCredentials;
  18. }
  19. }
  20. }
  21. }
  22. }
  23. class gnu::javax::net::ssl::PrivateCredentials : public ::java::lang::Object
  24. {
  25. public:
  26. PrivateCredentials();
  27. virtual void add(::java::io::InputStream *, ::java::io::InputStream *);
  28. virtual ::java::util::List * getPrivateKeys();
  29. virtual ::java::util::List * getCertChains();
  30. virtual void destroy();
  31. virtual jboolean isDestroyed();
  32. private:
  33. ::java::lang::String * readLine(::java::io::InputStream *);
  34. JArray< jbyte > * decryptKey(JArray< jbyte > *, ::java::lang::String *, JArray< jbyte > *);
  35. JArray< jbyte > * deriveKey(JArray< jbyte > *, jint);
  36. JArray< jbyte > * toByteArray(::java::lang::String *);
  37. public:
  38. static ::java::lang::String * BEGIN_DSA;
  39. static ::java::lang::String * END_DSA;
  40. static ::java::lang::String * BEGIN_RSA;
  41. static ::java::lang::String * END_RSA;
  42. private:
  43. ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) privateKeys;
  44. ::java::util::List * certChains;
  45. public:
  46. static ::java::lang::Class class$;
  47. };
  48. #endif // __gnu_javax_net_ssl_PrivateCredentials__