| java.lang.Object | |
| ↳ | java.security.cert.CertStore |
This class provides the functionality to retrieve Certificates and
CRLs from a read-only repository. This repository may be very large
and may store trusted as well as untrusted certificates.
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
CertStore instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the list of
CRLs for the specified CRLSelector
from this certificate store. | |||||||||||
Returns a copy of the certificate store parameters that were used to
initialize this instance.
| |||||||||||
Returns the list of
Certificates for the specified CertSelector from this certificate store. | |||||||||||
Returns the default
CertStore type from the Security
Properties. | |||||||||||
Creates a new
CertStore instance from the specified provider with
the specified type and initialized with the specified parameters. | |||||||||||
Creates a new
CertStore instance with the specified type and
initialized with the specified parameters. | |||||||||||
Creates a new
CertStore instance from the specified provider with
the specified type and initialized with the specified parameters. | |||||||||||
Returns the security provider.
| |||||||||||
Returns the certificate store type.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
Creates a new CertStore instance.
| storeSpi | the implementation delegate. |
|---|---|
| provider | the security provider. |
| type | the certificate store type. |
| params | the certificate store parameters (may be null. |
Returns the list of CRLs for the specified CRLSelector
from this certificate store.
| selector | the selector containing the criteria to search for certificate revocation lists in this store. |
|---|
CRLs that match the criteria of the specified
selector| CertStoreException | if error(s) occur. |
|---|
Returns a copy of the certificate store parameters that were used to initialize this instance.
null if
none were specified.Returns the list of Certificates for the specified CertSelector from this certificate store.
| selector | the selector containing the criteria to search for certificates in this certificate store. |
|---|
Certificates that match the criteria of the
specified selector.| CertStoreException | if error(s) occur. |
|---|
Returns the default CertStore type from the Security
Properties.
CertStore type from the Security
Properties, or the string "LDAP" if it cannot be
determined.Creates a new CertStore instance from the specified provider with
the specified type and initialized with the specified parameters.
| type | the certificate store type. |
|---|---|
| params | the certificate store parameters (may be null). |
| provider | the name of the provider. |
| NoSuchAlgorithmException | if the specified provider cannot provide the requested certificate store type. |
|---|---|
| NoSuchProviderException | if no provider with the specified name can be found. |
| InvalidAlgorithmParameterException | if the specified parameters cannot be used to initialize this certificate store instance. |
| IllegalArgumentException | if provider is null of empty. |
| NullPointerException | if type is null. |
Creates a new CertStore instance with the specified type and
initialized with the specified parameters.
| type | the certificate store type. |
|---|---|
| params | the certificate store parameters (may be null). |
| NoSuchAlgorithmException | if no provider can provide the specified certificate store type. |
|---|---|
| InvalidAlgorithmParameterException | if the specified parameters cannot be used to initialize this certificate store instance. |
| NullPointerException | if the type is null. |
Creates a new CertStore instance from the specified provider with
the specified type and initialized with the specified parameters.
| type | the certificate store type. |
|---|---|
| params | the certificate store parameters (may be null). |
| provider | the name of the provider. |
| NoSuchAlgorithmException | if the specified provider cannot provide the requested certificate store type. |
|---|---|
| InvalidAlgorithmParameterException | if the specified parameters cannot be used to initialize this certificate store instance. |
| IllegalArgumentException | if provider is null. |
| NullPointerException | if type is null. |
Returns the security provider.
Returns the certificate store type.