1 |
/* KeyStore.java --- Key Store Class |
/* KeyStore.java --- Key Store Class |
2 |
Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc. |
Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package java.security; |
package java.security; |
40 |
import java.io.InputStream; |
|
41 |
|
import gnu.java.security.Engine; |
42 |
|
|
43 |
import java.io.IOException; |
import java.io.IOException; |
44 |
|
import java.io.InputStream; |
45 |
import java.io.OutputStream; |
import java.io.OutputStream; |
46 |
import java.security.cert.CertificateException; |
import java.security.cert.CertificateException; |
47 |
import java.util.Date; |
import java.util.Date; |
48 |
import java.util.Enumeration; |
import java.util.Enumeration; |
49 |
|
|
|
import gnu.java.security.Engine; |
|
|
|
|
50 |
/** |
/** |
51 |
* Keystore represents an in-memory collection of keys and |
* Keystore represents an in-memory collection of keys and |
52 |
* certificates. There are two types of entries: |
* certificates. There are two types of entries: |
131 |
{ |
{ |
132 |
return getInstance(type, p[i]); |
return getInstance(type, p[i]); |
133 |
} |
} |
134 |
catch (KeyStoreException ignore) |
catch (KeyStoreException e) |
135 |
{ |
{ |
136 |
|
// Ignore. |
137 |
} |
} |
138 |
} |
} |
139 |
|
|