summaryrefslogtreecommitdiff
path: root/libjava/javax/security/auth/x500/X500Principal.h
blob: 75cdb05e7ef7b274c025bcc3a5b62bd681ddc8c2 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_security_auth_x500_X500Principal__
#define __javax_security_auth_x500_X500Principal__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace security
      {
          class OID;
      }
    }
  }
  namespace javax
  {
    namespace security
    {
      namespace auth
      {
        namespace x500
        {
            class X500Principal;
        }
      }
    }
  }
}

class javax::security::auth::x500::X500Principal : public ::java::lang::Object
{

  X500Principal();
public:
  X500Principal(::java::lang::String *);
  X500Principal(JArray< jbyte > *);
  X500Principal(::java::io::InputStream *);
  jint hashCode();
  jboolean equals(::java::lang::Object *);
  JArray< jbyte > * getEncoded();
  ::java::lang::String * getName();
  ::java::lang::String * getName(::java::lang::String *);
  ::java::lang::String * toString();
private:
  void writeObject(::java::io::ObjectOutputStream *);
  void readObject(::java::io::ObjectInputStream *);
  jint size();
  ::java::lang::String * getComponent(::gnu::java::security::OID *, jint);
  void encodeDer();
  void parseString(::java::lang::String *);
  ::java::lang::String * readAttributeType(::java::io::Reader *);
  ::java::lang::String * readAttributeValue(::java::io::Reader *);
  void parseDer(::java::io::InputStream *);
  void newRelativeDistinguishedName();
  void putComponent(::gnu::java::security::OID *, ::java::lang::String *);
  void putComponent(::java::lang::String *, ::java::lang::String *);
  static ::java::lang::String * compressWS(::java::lang::String *);
  static JArray< jbyte > * toByteArray(::java::lang::String *);
  static const jlong serialVersionUID = -500463348111345721LL;
public:
  static ::java::lang::String * CANONICAL;
  static ::java::lang::String * RFC1779;
  static ::java::lang::String * RFC2253;
private:
  static ::gnu::java::security::OID * CN;
  static ::gnu::java::security::OID * C;
  static ::gnu::java::security::OID * L;
  static ::gnu::java::security::OID * ST;
  static ::gnu::java::security::OID * STREET;
  static ::gnu::java::security::OID * O;
  static ::gnu::java::security::OID * OU;
  static ::gnu::java::security::OID * DC;
  static ::gnu::java::security::OID * UID;
  ::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
  ::java::util::Map * currentRdn;
  jboolean fixed;
  JArray< jbyte > * encoded;
  jint sep;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_security_auth_x500_X500Principal__