1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_security_KeyStore__
|
5 |
|
|
#define __java_security_KeyStore__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace security
|
17 |
|
|
{
|
18 |
|
|
class Key;
|
19 |
|
|
class KeyStore;
|
20 |
|
|
class KeyStoreSpi;
|
21 |
|
|
class Provider;
|
22 |
|
|
namespace cert
|
23 |
|
|
{
|
24 |
|
|
class Certificate;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
class java::security::KeyStore : public ::java::lang::Object
|
31 |
|
|
{
|
32 |
|
|
|
33 |
|
|
public: // actually protected
|
34 |
|
|
KeyStore(::java::security::KeyStoreSpi *, ::java::security::Provider *, ::java::lang::String *);
|
35 |
|
|
public:
|
36 |
|
|
static ::java::security::KeyStore * getInstance(::java::lang::String *);
|
37 |
|
|
static ::java::security::KeyStore * getInstance(::java::lang::String *, ::java::lang::String *);
|
38 |
|
|
static ::java::security::KeyStore * getInstance(::java::lang::String *, ::java::security::Provider *);
|
39 |
|
|
static ::java::lang::String * getDefaultType();
|
40 |
|
|
virtual ::java::security::Provider * getProvider();
|
41 |
|
|
virtual ::java::lang::String * getType();
|
42 |
|
|
virtual ::java::security::Key * getKey(::java::lang::String *, JArray< jchar > *);
|
43 |
|
|
virtual JArray< ::java::security::cert::Certificate * > * getCertificateChain(::java::lang::String *);
|
44 |
|
|
virtual ::java::security::cert::Certificate * getCertificate(::java::lang::String *);
|
45 |
|
|
virtual ::java::util::Date * getCreationDate(::java::lang::String *);
|
46 |
|
|
virtual void setKeyEntry(::java::lang::String *, ::java::security::Key *, JArray< jchar > *, JArray< ::java::security::cert::Certificate * > *);
|
47 |
|
|
virtual void setKeyEntry(::java::lang::String *, JArray< jbyte > *, JArray< ::java::security::cert::Certificate * > *);
|
48 |
|
|
virtual void setCertificateEntry(::java::lang::String *, ::java::security::cert::Certificate *);
|
49 |
|
|
virtual void deleteEntry(::java::lang::String *);
|
50 |
|
|
virtual ::java::util::Enumeration * aliases();
|
51 |
|
|
virtual jboolean containsAlias(::java::lang::String *);
|
52 |
|
|
virtual jint size();
|
53 |
|
|
virtual jboolean isKeyEntry(::java::lang::String *);
|
54 |
|
|
virtual jboolean isCertificateEntry(::java::lang::String *);
|
55 |
|
|
virtual ::java::lang::String * getCertificateAlias(::java::security::cert::Certificate *);
|
56 |
|
|
virtual void store(::java::io::OutputStream *, JArray< jchar > *);
|
57 |
|
|
virtual void load(::java::io::InputStream *, JArray< jchar > *);
|
58 |
|
|
private:
|
59 |
|
|
static ::java::lang::String * KEY_STORE;
|
60 |
|
|
::java::security::KeyStoreSpi * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyStoreSpi;
|
61 |
|
|
::java::security::Provider * provider;
|
62 |
|
|
::java::lang::String * type;
|
63 |
|
|
public:
|
64 |
|
|
static ::java::lang::Class class$;
|
65 |
|
|
};
|
66 |
|
|
|
67 |
|
|
#endif // __java_security_KeyStore__
|