| Package | Description | 
|---|---|
| java.security.cert | Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static CertStore | CertStore. getInstance(String type,
           CertStoreParameters params)Returns a  CertStoreobject that implements the specifiedCertStoretype and is initialized with the specified
 parameters. | |
| static CertStore | CertStore. getInstance(String type,
           CertStoreParameters params,
           Provider provider)Returns a  CertStoreobject that implements the specifiedCertStoretype. | |
| static CertStore | CertStore. getInstance(String type,
           CertStoreParameters params,
           String provider)Returns a  CertStoreobject that implements the specifiedCertStoretype. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| List<CertStore> | PKIXParameters. getCertStores()Returns an immutable  ListofCertStores that
 are used to find certificates and CRLs. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | PKIXParameters. addCertStore(CertStore store)Adds a  CertStoreto the end of the list ofCertStores used in finding certificates and CRLs. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | PKIXParameters. setCertStores(List<CertStore> stores)Sets the list of  CertStores to be used in finding
 certificates and CRLs. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.