OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / crypto / key / OutgoingMessage.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_crypto_key_OutgoingMessage__
5 #define __gnu_javax_crypto_key_OutgoingMessage__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace crypto
19       {
20         namespace key
21         {
22             class OutgoingMessage;
23         }
24       }
25     }
26   }
27   namespace java
28   {
29     namespace math
30     {
31         class BigInteger;
32     }
33     namespace security
34     {
35         class Key;
36         class PrivateKey;
37         class PublicKey;
38     }
39   }
40 }
41
42 class gnu::javax::crypto::key::OutgoingMessage : public ::java::lang::Object
43 {
44
45 public:
46   OutgoingMessage();
47   virtual JArray< jbyte > * toByteArray();
48   virtual JArray< jbyte > * wrap();
49   virtual void writePublicKey(::java::security::PublicKey *);
50   virtual void writePrivateKey(::java::security::PrivateKey *);
51   virtual void writeMPI(::java::math::BigInteger *);
52   virtual void writeString(::java::lang::String *);
53 private:
54   void writeKey(::java::security::Key *);
55   jint getKeyType(::java::security::Key *);
56   ::java::io::ByteArrayOutputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out;
57 public:
58   static ::java::lang::Class class$;
59 };
60
61 #endif // __gnu_javax_crypto_key_OutgoingMessage__