1 |
2004-11-07 Casey Marshall <csm@gnu.org> |
2004-11-07 Casey Marshall <csm@gnu.org> |
2 |
|
|
3 |
|
Signed JAR file support. |
4 |
|
* java/net/URLClassLoader.java |
5 |
|
(JarURLResource.getCertificates): re-read jar entry to ensure |
6 |
|
certificates are picked up. |
7 |
|
(findClass): fill in class `signers' field, too. |
8 |
|
* java/util/jar/JarFile.java (META_INF): new constant. |
9 |
|
(PKCS7_DSA_SUFFIX): new constant. |
10 |
|
(PKCS7_RSA_SUFFIX): new constant. |
11 |
|
(DIGEST_KEY_SUFFIX): new constant. |
12 |
|
(SF_SUFFIX): new constant. |
13 |
|
(MD2_OID): new constant. |
14 |
|
(MD4_OID): new constant. |
15 |
|
(MD5_OID): new constant. |
16 |
|
(SHA1_OID): new constant. |
17 |
|
(DSA_ENCRYPTION_OID): new constant. |
18 |
|
(RSA_ENCRYPTION_OID): new constant. |
19 |
|
(signaturesRead): new field. |
20 |
|
(verified): new field. |
21 |
|
(entryCerts): new field. |
22 |
|
(DEBUG): new constant. |
23 |
|
(debug): new method. |
24 |
|
(JarEnumeration.nextElement): fill in entry certificates, read |
25 |
|
signatures if they haven't been read. |
26 |
|
(getEntry): likewise. |
27 |
|
(getInputStream): verify stream if it hasn't been verified |
28 |
|
yet. |
29 |
|
(readSignatures): new method. |
30 |
|
(verify): new method. |
31 |
|
(verifyHashes): new method. |
32 |
|
(readManifestEntry): new method. |
33 |
|
(EntryInputStream): new class. |
34 |
|
* java/util/zip/InflaterInputStream.java |
35 |
|
Don't defer to underlying stream for mark/reset. |
36 |
|
(markSupported): new method; return `false'. |
37 |
|
(mark): new method. |
38 |
|
(reset): new method. |
39 |
|
* gnu/java/io/Base64InputStream.java (decode): new class |
40 |
|
method. |
41 |
|
* gnu/java/security/der/DERReader.java don't make class |
42 |
|
final. |
43 |
|
(in): made protected. |
44 |
|
(encBuf): likewise. |
45 |
|
(readLength): likewise. |
46 |
|
* gnu/java/security/ber/BER.java, |
47 |
|
* gnu/java/security/ber/BEREncodingException.java, |
48 |
|
* gnu/java/security/ber/BERReader.java, |
49 |
|
* gnu/java/security/ber/BERValue.java, |
50 |
|
* gnu/java/security/pkcs/PKCS7SignedData.java, |
51 |
|
* gnu/java/security/pkcs/SignerInfo.java: |
52 |
|
new files. |
53 |
|
|
54 |
|
2004-11-07 Casey Marshall <csm@gnu.org> |
55 |
|
|
56 |
* gnu/java/security/provider/Gnu.java |
* gnu/java/security/provider/Gnu.java |
57 |
(<init>): add entries in a priviliged action. |
(<init>): add entries in a priviliged action. |
58 |
Add new algorithms. |
Add new algorithms. |