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. |
54 |
* |
* |
55 |
* @since JDK 1.4 |
* @since 1.4 |
56 |
*/ |
*/ |
57 |
public class CertStore |
public class CertStore |
58 |
{ |
{ |
268 |
* @return The collection of certificates. |
* @return The collection of certificates. |
269 |
* @throws CertStoreException If the certificates cannot be retrieved. |
* @throws CertStoreException If the certificates cannot be retrieved. |
270 |
*/ |
*/ |
271 |
public final Collection getCertificates(CertSelector selector) |
public final Collection<? extends Certificate> getCertificates(CertSelector selector) |
272 |
throws CertStoreException |
throws CertStoreException |
273 |
{ |
{ |
274 |
return storeSpi.engineGetCertificates(selector); |
return storeSpi.engineGetCertificates(selector); |
286 |
* @return The collection of certificate revocation lists. |
* @return The collection of certificate revocation lists. |
287 |
* @throws CertStoreException If the CRLs cannot be retrieved. |
* @throws CertStoreException If the CRLs cannot be retrieved. |
288 |
*/ |
*/ |
289 |
public final Collection getCRLs(CRLSelector selector) |
public final Collection<? extends CRL> getCRLs(CRLSelector selector) |
290 |
throws CertStoreException |
throws CertStoreException |
291 |
{ |
{ |
292 |
return storeSpi.engineGetCRLs(selector); |
return storeSpi.engineGetCRLs(selector); |