1 |
/* CertPathBuilder.java -- bulids CertPath objects from Certificates. |
/* CertPathBuilder.java -- bulids CertPath objects from 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.Provider; |
import java.security.Provider; |
47 |
import java.security.Security; |
import java.security.Security; |
48 |
|
|
|
import gnu.java.security.Engine; |
|
|
|
|
49 |
/** |
/** |
50 |
* This class builds certificate paths (also called certificate chains), |
* This class builds certificate paths (also called certificate chains), |
51 |
* which can be used to establish trust for a particular certificate by |
* which can be used to establish trust for a particular certificate by |
130 |
{ |
{ |
131 |
return getInstance(algorithm, p[i]); |
return getInstance(algorithm, p[i]); |
132 |
} |
} |
133 |
catch (NoSuchAlgorithmException ignored) |
catch (NoSuchAlgorithmException e) |
134 |
{ |
{ |
135 |
|
// Ignored. |
136 |
} |
} |
137 |
} |
} |
138 |
|
|