blob: c2e94966269fc22bfc5fbfda459acddaf85be696 (
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_security_x509_X500DistinguishedName__
#define __gnu_java_security_x509_X500DistinguishedName__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
{
namespace security
{
class OID;
namespace der
{
class DERReader;
}
namespace x509
{
class X500DistinguishedName;
}
}
}
}
}
class gnu::java::security::x509::X500DistinguishedName : public ::java::lang::Object
{
public:
X500DistinguishedName();
X500DistinguishedName(::java::lang::String *);
X500DistinguishedName(JArray< jbyte > *);
X500DistinguishedName(::java::io::InputStream *);
virtual ::java::lang::String * getName();
virtual void newRelativeDistinguishedName();
virtual jint size();
virtual jint countComponents();
virtual jboolean containsComponent(::gnu::java::security::OID *, ::java::lang::String *);
virtual ::java::lang::String * getComponent(::gnu::java::security::OID *);
virtual ::java::lang::String * getComponent(::gnu::java::security::OID *, jint);
virtual void putComponent(::gnu::java::security::OID *, ::java::lang::String *);
virtual void putComponent(::java::lang::String *, ::java::lang::String *);
virtual void setUnmodifiable();
virtual jint hashCode();
virtual jboolean equals(::java::lang::Object *);
virtual ::java::lang::String * toString();
virtual JArray< jbyte > * getDer();
private:
void parseString(::java::lang::String *);
::java::lang::String * readAttributeType(::java::io::Reader *);
::java::lang::String * readAttributeValue(::java::io::Reader *);
void parseDer(::gnu::java::security::der::DERReader *);
static ::java::lang::String * compressWS(::java::lang::String *);
public:
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 * T;
static ::gnu::java::security::OID * DNQ;
static ::gnu::java::security::OID * NAME;
static ::gnu::java::security::OID * GIVENNAME;
static ::gnu::java::security::OID * INITIALS;
static ::gnu::java::security::OID * GENERATION;
static ::gnu::java::security::OID * EMAIL;
static ::gnu::java::security::OID * DC;
static ::gnu::java::security::OID * UID;
private:
::java::util::List * __attribute__((aligned(__alignof__( ::java::lang::Object)))) components;
::java::util::Map * currentRdn;
jboolean fixed;
::java::lang::String * stringRep;
JArray< jbyte > * encoded;
jint sep;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_java_security_x509_X500DistinguishedName__
|