OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [jar/] [JarFile.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_jar_JarFile__
5
#define __java_util_jar_JarFile__
6
 
7
#pragma interface
8
 
9
#include <java/util/zip/ZipFile.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace security
19
      {
20
          class OID;
21
        namespace pkcs
22
        {
23
            class SignerInfo;
24
        }
25
        namespace provider
26
        {
27
            class Gnu;
28
        }
29
      }
30
    }
31
  }
32
  namespace java
33
  {
34
    namespace security
35
    {
36
      namespace cert
37
      {
38
          class Certificate;
39
      }
40
    }
41
  }
42
}
43
 
44
class java::util::jar::JarFile : public ::java::util::zip::ZipFile
45
{
46
 
47
public: // actually package-private
48
  static void debug(::java::lang::Object *);
49
public:
50
  JarFile(::java::lang::String *);
51
  JarFile(::java::lang::String *, jboolean);
52
  JarFile(::java::io::File *);
53
  JarFile(::java::io::File *, jboolean);
54
  JarFile(::java::io::File *, jboolean, jint);
55
private:
56
  void verify();
57
  ::java::util::jar::Manifest * readManifest();
58
public:
59
  virtual ::java::util::Enumeration * entries();
60
  virtual ::java::util::zip::ZipEntry * getEntry(::java::lang::String *);
61
  virtual ::java::io::InputStream * getInputStream(::java::util::zip::ZipEntry *);
62
  virtual ::java::util::jar::JarEntry * getJarEntry(::java::lang::String *);
63
  virtual ::java::util::jar::Manifest * getManifest();
64
public: // actually package-private
65
  virtual void readSignatures();
66
private:
67
  void verify(JArray< ::java::security::cert::Certificate * > *, ::gnu::java::security::pkcs::SignerInfo *, ::java::lang::String *, ::java::util::Set *);
68
  jboolean verifyHashes(::java::lang::String *, ::java::util::jar::Attributes *, ::java::util::HashMap *);
69
public:
70
  static ::java::lang::String * MANIFEST_NAME;
71
private:
72
  static ::java::lang::String * META_INF;
73
  static ::java::lang::String * PKCS7_DSA_SUFFIX;
74
  static ::java::lang::String * PKCS7_RSA_SUFFIX;
75
  static ::java::lang::String * DIGEST_KEY_SUFFIX;
76
  static ::java::lang::String * SF_SUFFIX;
77
public: // actually package-private
78
  static ::gnu::java::security::provider::Gnu * provider;
79
private:
80
  static ::gnu::java::security::OID * MD2_OID;
81
  static ::gnu::java::security::OID * MD4_OID;
82
  static ::gnu::java::security::OID * MD5_OID;
83
  static ::gnu::java::security::OID * SHA1_OID;
84
  static ::gnu::java::security::OID * DSA_ENCRYPTION_OID;
85
  static ::gnu::java::security::OID * RSA_ENCRYPTION_OID;
86
  ::java::util::jar::Manifest * __attribute__((aligned(__alignof__( ::java::util::zip::ZipFile)))) manifest;
87
public: // actually package-private
88
  jboolean verify__;
89
private:
90
  jboolean manifestRead;
91
public: // actually package-private
92
  jboolean signaturesRead;
93
  ::java::util::HashMap * verified;
94
  ::java::util::HashMap * entryCerts;
95
private:
96
  ::java::util::HashMap * digestAlgorithms;
97
public: // actually package-private
98
  static jboolean DEBUG;
99
public:
100
  static ::java::lang::Class class$;
101
};
102
 
103
#endif // __java_util_jar_JarFile__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.