summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/x509/ext/KeyUsage.h
blob: 4293755ad270b91aeeb81cb4b110cbc36b0fadc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_x509_ext_KeyUsage__
#define __gnu_java_security_x509_ext_KeyUsage__

#pragma interface

#include <gnu/java/security/x509/ext/Extension$Value.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
          class OID;
        namespace der
        {
            class BitString;
        }
        namespace x509
        {
          namespace ext
          {
              class KeyUsage;
          }
        }
      }
    }
  }
}

class gnu::java::security::x509::ext::KeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
{

public:
  KeyUsage(JArray< jbyte > *);
  virtual ::gnu::java::security::der::BitString * getKeyUsage();
  virtual ::java::lang::String * toString();
  static ::gnu::java::security::OID * ID;
  static const jint DIGITAL_SIGNATURE = 0;
  static const jint NON_REPUDIATION = 1;
  static const jint KEY_ENCIPHERMENT = 2;
  static const jint DATA_ENCIPHERMENT = 3;
  static const jint KEY_AGREEMENT = 4;
  static const jint KEY_CERT_SIGN = 5;
  static const jint CRL_SIGN = 6;
  static const jint ENCIPHER_ONLY = 7;
  static const jint DECIPHER_ONLY = 8;
private:
  ::gnu::java::security::der::BitString * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyUsage;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_x509_ext_KeyUsage__