1 |
/* CertStore -- stores and retrieves certificates. |
/* CertStore -- stores and retrieves certificates. |
2 |
Copyright (C) 2003 Free Software Foundation, Inc. |
Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
38 |
|
|
39 |
package java.security.cert; |
package java.security.cert; |
40 |
|
|
41 |
|
import gnu.java.security.Engine; |
42 |
|
|
43 |
import java.security.InvalidAlgorithmParameterException; |
import java.security.InvalidAlgorithmParameterException; |
44 |
import java.security.NoSuchAlgorithmException; |
import java.security.NoSuchAlgorithmException; |
45 |
import java.security.NoSuchProviderException; |
import java.security.NoSuchProviderException; |
46 |
import java.security.PrivilegedAction; |
import java.security.PrivilegedAction; |
47 |
import java.security.Provider; |
import java.security.Provider; |
48 |
import java.security.Security; |
import java.security.Security; |
|
|
|
49 |
import java.util.Collection; |
import java.util.Collection; |
50 |
|
|
|
import gnu.java.security.Engine; |
|
|
|
|
51 |
/** |
/** |
52 |
* A CertStore is a read-only repository for certificates and |
* A CertStore is a read-only repository for certificates and |
53 |
* certificate revocation lists. |
* certificate revocation lists. |
145 |
{ |
{ |
146 |
return getInstance(type, params, p[i]); |
return getInstance(type, params, p[i]); |
147 |
} |
} |
148 |
catch (NoSuchAlgorithmException ignored) |
catch (NoSuchAlgorithmException e) |
149 |
{ |
{ |
150 |
|
// Ignored. |
151 |
} |
} |
152 |
} |
} |
153 |
|
|