Package | Description |
---|---|
java.security.cert |
Modifier and Type | Class and Description |
---|---|
class |
X509CertSelector
A concrete implementation of
CertSelector for X.509 certificates,
which allows a number of criteria to be set when accepting certificates,
from validity dates, to issuer and subject distinguished names, to some
of the various X.509 extensions. |
Modifier and Type | Method and Description |
---|---|
CertSelector |
PKIXParameters.getTargetCertConstraints()
Returns the constraints placed on the target certificate, or null
if there are none.
|
Modifier and Type | Method and Description |
---|---|
abstract Collection |
CertStoreSpi.engineGetCertificates(CertSelector selector)
Get the certificates from this store, filtering them through the
specified CertSelector.
|
Collection |
CertStore.getCertificates(CertSelector selector)
Get a collection of certificates from this CertStore, optionally
filtered by the specified CertSelector.
|
void |
PKIXParameters.setTargetCertConstraints(CertSelector targetConstraints)
Sets the constraints placed on the target certificate.
|
Constructor and Description |
---|
PKIXBuilderParameters(KeyStore keystore,
CertSelector targetConstraints)
Create a new PKIXBuilderParameters object, populating the trusted
certificates set with all X.509 certificates found in the given key
store.
|
PKIXBuilderParameters(Set trustAnchors,
CertSelector targetConstraints)
Create a new PKIXBuilderParameters object, populating the trusted
certificates set with the elements of the given set, each of which
must be a
TrustAnchor . |