GnuPrivateKeyring.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_keyring_GnuPrivateKeyring__
  3. #define __gnu_javax_crypto_keyring_GnuPrivateKeyring__
  4. #pragma interface
  5. #include <gnu/javax/crypto/keyring/BaseKeyring.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace javax
  12. {
  13. namespace crypto
  14. {
  15. namespace keyring
  16. {
  17. class GnuPrivateKeyring;
  18. }
  19. }
  20. }
  21. }
  22. namespace java
  23. {
  24. namespace security
  25. {
  26. class Key;
  27. class PublicKey;
  28. namespace cert
  29. {
  30. class Certificate;
  31. }
  32. }
  33. }
  34. }
  35. class gnu::javax::crypto::keyring::GnuPrivateKeyring : public ::gnu::javax::crypto::keyring::BaseKeyring
  36. {
  37. public:
  38. GnuPrivateKeyring(::java::lang::String *, jint, ::java::lang::String *, ::java::lang::String *, jint);
  39. GnuPrivateKeyring();
  40. virtual jboolean containsPrivateKey(::java::lang::String *);
  41. virtual ::java::security::Key * getPrivateKey(::java::lang::String *, JArray< jchar > *);
  42. virtual void putPrivateKey(::java::lang::String *, ::java::security::Key *, JArray< jchar > *);
  43. virtual jboolean containsPublicKey(::java::lang::String *);
  44. virtual ::java::security::PublicKey * getPublicKey(::java::lang::String *);
  45. virtual void putPublicKey(::java::lang::String *, ::java::security::PublicKey *);
  46. virtual jboolean containsCertPath(::java::lang::String *);
  47. virtual JArray< ::java::security::cert::Certificate * > * getCertPath(::java::lang::String *);
  48. virtual void putCertPath(::java::lang::String *, JArray< ::java::security::cert::Certificate * > *);
  49. public: // actually protected
  50. virtual void load(::java::io::InputStream *, JArray< jchar > *);
  51. virtual void store(::java::io::OutputStream *, JArray< jchar > *);
  52. private:
  53. static ::java::util::logging::Logger * log;
  54. public:
  55. static const jint USAGE = 3;
  56. public: // actually protected
  57. ::java::lang::String * __attribute__((aligned(__alignof__( ::gnu::javax::crypto::keyring::BaseKeyring)))) mac;
  58. jint maclen;
  59. ::java::lang::String * cipher;
  60. ::java::lang::String * mode;
  61. jint keylen;
  62. public:
  63. static ::java::lang::Class class$;
  64. };
  65. #endif // __gnu_javax_crypto_keyring_GnuPrivateKeyring__