summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/security/OID.h
blob: 40347732d08badffa9e94f2077a8e698e5699cdb (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
61
62
63
64
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_security_OID__
#define __gnu_java_security_OID__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
          class OID;
      }
    }
  }
}

class gnu::java::security::OID : public ::java::lang::Object
{

public:
  OID(JArray< jint > *);
  OID(JArray< jint > *, jboolean);
  OID(::java::lang::String *);
  OID(::java::lang::String *, jboolean);
  OID(::java::io::InputStream *, jint);
  OID(::java::io::InputStream *, jint, jboolean);
  OID(JArray< jbyte > *);
  OID(JArray< jbyte > *, jboolean);
  virtual JArray< jint > * getIDs();
  virtual JArray< jbyte > * getDER();
  virtual ::gnu::java::security::OID * getParent();
  virtual ::gnu::java::security::OID * getChild(jint);
  virtual ::gnu::java::security::OID * getRoot();
  virtual jboolean isRelative();
  virtual ::java::lang::Object * clone();
  virtual ::java::lang::String * toString();
  virtual jint hashCode();
  virtual jboolean equals(::java::lang::Object *);
  virtual jint compareTo(::java::lang::Object *);
private:
  static JArray< jint > * fromDER(JArray< jbyte > *, jboolean);
  static JArray< jint > * fromString(::java::lang::String *);
  static void encodeSubID(::java::io::ByteArrayOutputStream *, jint);
public: // actually package-private
  static const jlong serialVersionUID = 5722492029044597779LL;
private:
  JArray< jint > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
  ::java::lang::String * strRep;
  JArray< jbyte > * der;
  jboolean relative;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_security_OID__