OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / javax / crypto / key / dh / DHKeyPairPKCS8Codec.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_javax_crypto_key_dh_DHKeyPairPKCS8Codec__
5 #define __gnu_javax_crypto_key_dh_DHKeyPairPKCS8Codec__
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 java
17     {
18       namespace security
19       {
20           class OID;
21       }
22     }
23     namespace javax
24     {
25       namespace crypto
26       {
27         namespace key
28         {
29           namespace dh
30           {
31               class DHKeyPairPKCS8Codec;
32           }
33         }
34       }
35     }
36   }
37   namespace java
38   {
39     namespace security
40     {
41         class PrivateKey;
42         class PublicKey;
43     }
44   }
45 }
46
47 class gnu::javax::crypto::key::dh::DHKeyPairPKCS8Codec : public ::java::lang::Object
48 {
49
50 public:
51   DHKeyPairPKCS8Codec();
52   virtual jint getFormatID();
53   virtual JArray< jbyte > * encodePublicKey(::java::security::PublicKey *);
54   virtual JArray< jbyte > * encodePrivateKey(::java::security::PrivateKey *);
55   virtual ::java::security::PublicKey * decodePublicKey(JArray< jbyte > *);
56   virtual ::java::security::PrivateKey * decodePrivateKey(JArray< jbyte > *);
57 private:
58   static ::gnu::java::security::OID * DH_ALG_OID;
59 public:
60   static ::java::lang::Class class$;
61 };
62
63 #endif // __gnu_javax_crypto_key_dh_DHKeyPairPKCS8Codec__