DHKeyPairX509Codec.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_javax_crypto_key_dh_DHKeyPairX509Codec__
  3. #define __gnu_javax_crypto_key_dh_DHKeyPairX509Codec__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace java
  12. {
  13. namespace security
  14. {
  15. class OID;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace crypto
  21. {
  22. namespace key
  23. {
  24. namespace dh
  25. {
  26. class DHKeyPairX509Codec;
  27. }
  28. }
  29. }
  30. }
  31. }
  32. namespace java
  33. {
  34. namespace security
  35. {
  36. class PrivateKey;
  37. class PublicKey;
  38. }
  39. }
  40. }
  41. class gnu::javax::crypto::key::dh::DHKeyPairX509Codec : public ::java::lang::Object
  42. {
  43. public:
  44. DHKeyPairX509Codec();
  45. virtual jint getFormatID();
  46. virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
  47. virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
  48. virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
  49. virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
  50. private:
  51. static ::gnu::java::security::OID * DH_ALG_OID;
  52. public:
  53. static ::java::lang::Class class$;
  54. };
  55. #endif // __gnu_javax_crypto_key_dh_DHKeyPairX509Codec__