java.lang.Object | |
↳ | java.security.cert.CertStore |
This class provides the functionality to retrieve Certificate
s and CRL
s 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
CRL s 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
Certificate s 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
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 CRL
s for the specified CRLSelector
from this certificate store.
selector | the selector containing the criteria to search for certificate revocation lists in this store. |
---|
CRL
s that match the criteria of the specified selectorCertStoreException | 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 Certificate
s for the specified CertSelector
from this certificate store.
selector | the selector containing the criteria to search for certificates in this certificate store. |
---|
Certificate
s 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. |
---|---|
InvalidAlgorithmParameterException | if the specified parameters cannot be used to initialize this certificate store instance. |
IllegalArgumentException | if provider == null |
NullPointerException | if type == 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 type == 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. |
---|---|
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 == null || provider.isEmpty() |
NullPointerException | if type is null . |
Returns the security provider.
Returns the certificate store type.