OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / security / x509 / ext / KeyUsage.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_security_x509_ext_KeyUsage__
5 #define __gnu_java_security_x509_ext_KeyUsage__
6
7 #pragma interface
8
9 #include <gnu/java/security/x509/ext/Extension$Value.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         namespace der
22         {
23             class BitString;
24         }
25         namespace x509
26         {
27           namespace ext
28           {
29               class KeyUsage;
30           }
31         }
32       }
33     }
34   }
35 }
36
37 class gnu::java::security::x509::ext::KeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
38 {
39
40 public:
41   KeyUsage(JArray< jbyte > *);
42   virtual ::gnu::java::security::der::BitString * getKeyUsage();
43   virtual ::java::lang::String * toString();
44   static ::gnu::java::security::OID * ID;
45   static const jint DIGITAL_SIGNATURE = 0;
46   static const jint NON_REPUDIATION = 1;
47   static const jint KEY_ENCIPHERMENT = 2;
48   static const jint DATA_ENCIPHERMENT = 3;
49   static const jint KEY_AGREEMENT = 4;
50   static const jint KEY_CERT_SIGN = 5;
51   static const jint CRL_SIGN = 6;
52   static const jint ENCIPHER_ONLY = 7;
53   static const jint DECIPHER_ONLY = 8;
54 private:
55   ::gnu::java::security::der::BitString * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyUsage;
56 public:
57   static ::java::lang::Class class$;
58 };
59
60 #endif // __gnu_java_security_x509_ext_KeyUsage__