2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_security_x509_ext_KeyUsage__
5 #define __gnu_java_security_x509_ext_KeyUsage__
9 #include <gnu/java/security/x509/ext/Extension$Value.h>
10 #include <gcj/array.h>
37 class gnu::java::security::x509::ext::KeyUsage : public ::gnu::java::security::x509::ext::Extension$Value
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;
55 ::gnu::java::security::der::BitString * __attribute__((aligned(__alignof__( ::gnu::java::security::x509::ext::Extension$Value)))) keyUsage;
57 static ::java::lang::Class class$;
60 #endif // __gnu_java_security_x509_ext_KeyUsage__