AuthenticatedEntry.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_keyring_AuthenticatedEntry__
  3. #define __gnu_javax_crypto_keyring_AuthenticatedEntry__
  4. #pragma interface
  5. #include <gnu/javax/crypto/keyring/MaskableEnvelopeEntry.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 AuthenticatedEntry;
  18. class Properties;
  19. }
  20. namespace mac
  21. {
  22. class IMac;
  23. }
  24. }
  25. }
  26. }
  27. }
  28. class gnu::javax::crypto::keyring::AuthenticatedEntry : public ::gnu::javax::crypto::keyring::MaskableEnvelopeEntry
  29. {
  30. public:
  31. AuthenticatedEntry(::java::lang::String *, jint, ::gnu::javax::crypto::keyring::Properties *);
  32. private:
  33. AuthenticatedEntry();
  34. public:
  35. static ::gnu::javax::crypto::keyring::AuthenticatedEntry * decode(::java::io::DataInputStream *);
  36. void authenticate(JArray< jbyte > *);
  37. void verify(JArray< jbyte > *);
  38. public: // actually protected
  39. void encodePayload();
  40. private:
  41. ::gnu::javax::crypto::mac::IMac * getMac(JArray< jbyte > *);
  42. public:
  43. static const jint TYPE = 2;
  44. static ::java::lang::Class class$;
  45. };
  46. #endif // __gnu_javax_crypto_keyring_AuthenticatedEntry__