56 |
* |
* |
57 |
* @author Mark Benvenuto |
* @author Mark Benvenuto |
58 |
* @author Casey Marshall |
* @author Casey Marshall |
59 |
* @since JDK 1.2 |
* @since 1.2 |
60 |
* @status Fully compatible with JDK 1.4. |
* @status Fully compatible with JDK 1.4. |
61 |
*/ |
*/ |
62 |
public class CertificateFactory |
public class CertificateFactory |
249 |
* @throws CertificateException If an error occurs decoding the |
* @throws CertificateException If an error occurs decoding the |
250 |
* certificates. |
* certificates. |
251 |
*/ |
*/ |
252 |
public final Collection generateCertificates(InputStream inStream) |
public final Collection<? extends Certificate> generateCertificates(InputStream inStream) |
253 |
throws CertificateException |
throws CertificateException |
254 |
{ |
{ |
255 |
return certFacSpi.engineGenerateCertificates(inStream); |
return certFacSpi.engineGenerateCertificates(inStream); |
291 |
* InputStream data. |
* InputStream data. |
292 |
* @throws CRLException If an error occurs decoding the CRLs. |
* @throws CRLException If an error occurs decoding the CRLs. |
293 |
*/ |
*/ |
294 |
public final Collection generateCRLs(InputStream inStream) |
public final Collection<? extends CRL> generateCRLs(InputStream inStream) |
295 |
throws CRLException |
throws CRLException |
296 |
{ |
{ |
297 |
return certFacSpi.engineGenerateCRLs( inStream ); |
return certFacSpi.engineGenerateCRLs( inStream ); |
338 |
* @throws CertificateException If an error occurs generating the |
* @throws CertificateException If an error occurs generating the |
339 |
* CertPath. |
* CertPath. |
340 |
*/ |
*/ |
341 |
public final CertPath generateCertPath(List certificates) |
public final CertPath generateCertPath(List<? extends Certificate> certificates) |
342 |
throws CertificateException |
throws CertificateException |
343 |
{ |
{ |
344 |
return certFacSpi.engineGenerateCertPath(certificates); |
return certFacSpi.engineGenerateCertPath(certificates); |
351 |
* |
* |
352 |
* @return The Iterator of supported encodings. |
* @return The Iterator of supported encodings. |
353 |
*/ |
*/ |
354 |
public final Iterator getCertPathEncodings() |
public final Iterator<String> getCertPathEncodings() |
355 |
{ |
{ |
356 |
return certFacSpi.engineGetCertPathEncodings(); |
return certFacSpi.engineGetCertPathEncodings(); |
357 |
} |
} |