| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| public static final int | CHAIN_VALIDITY_MODEL
This model uses the following validity model. |
| private final List | |
| protected static final String[] | |
| private final List | |
| private Date | |
| private final long | |
| private final long | |
| private final Map | |
| private final PKIXJcaJceHelper | |
| private final boolean | |
| private static Logger | |
| public static final int | PKIX_VALIDITY_MODEL
This is the default PKIX validity model. |
| private X509Certificate | |
| private final Set | |
| private final Date | |
| private final int | |
| private X500Principal | |
| private PublicKey |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | check(Certificate
the certificate, Collection<String> Certificate to be checkeda collection)Collection of OID strings
representing the current set of unresolved critical extensionsImplements abstract java. |
| protected void | checkCRLs(PKIXExtendedParameters
PKIX parameters. pkixParams, Date currentDate, Date The date when the certificate revocation status should be
checked. validityDate, X509Certificate Certificate to check if it is revoked. cert, X509Certificate The issuer certificate of the certificate sign, PublicKey cert.The public key of the issuer certificate workingPublicKey, List<E> sign.The certificates of the certification path. certPathCerts, PKIXJcaJceHelper helper)Checks a certificate if it is revoked. |
| public Object | |
| private Set | downloadCRLs(X500Principal issuer, Date currentDate, ASN1Primitive crlDpPrimitive, JcaJceHelper helper)
|
| pack-priv static List | getAdditionalStoresFromCRLDistributionPoint(CRLDistPoint crldp, Map<GeneralName, PKIXCRLStore<T extends CRL>> namedCRLStoreMap)
|
| public Set | getSupportedExtensions()
Implements abstract java. Set of X.509 certificate extensions
that this PKIXCertPathChecker supports (i.e. recognizes, is
able to process), or null if no extensions are supported.
|
| public void | init(boolean
the order that certificates are presented to
the forward)check method. If true, certificates
are presented from target to most-trusted CA (forward); if
false, from most-trusted CA to target (reverse).Implements abstract java. Implements java. PKIXCertPathChecker.
|
| public boolean | isForwardCheckingSupported()
Implements abstract java. Implements java. |
| canSoftFail | back to summary |
|---|---|
| private final boolean canSoftFail | |
| CHAIN_VALIDITY_MODEL | back to summary |
|---|---|
| public static final int CHAIN_VALIDITY_MODEL This model uses the following validity model. Each certificate must have
been valid at the moment where is was used. That means the end
certificate must have been valid at the time the signature was done. The
CA certificate which signed the end certificate must have been valid,
when the end certificate was signed. The CA (or Root CA) certificate must
have been valid, when the CA certificate was signed and so on. So the
| |
| crlCertStores | back to summary |
|---|---|
| private final List<CertStore> crlCertStores | |
| crlReasons | back to summary |
|---|---|
| protected static final String[] crlReasons | |
| crls | back to summary |
|---|---|
| private final List<Store<CRL>> crls | |
| currentDate | back to summary |
|---|---|
| private Date currentDate | |
| failHardMaxTime | back to summary |
|---|---|
| private final long failHardMaxTime | |
| failLogMaxTime | back to summary |
|---|---|
| private final long failLogMaxTime | |
| failures | back to summary |
|---|---|
| private final Map<X500Principal, Long> failures | |
| helper | back to summary |
|---|---|
| private final PKIXJcaJceHelper helper | |
| isCheckEEOnly | back to summary |
|---|---|
| private final boolean isCheckEEOnly | |
| LOG | back to summary |
|---|---|
| private static Logger LOG | |
| PKIX_VALIDITY_MODEL | back to summary |
|---|---|
| public static final int PKIX_VALIDITY_MODEL This is the default PKIX validity model. Actually there are two variants
of this: The PKIX model and the modified PKIX model. The PKIX model
verifies that all involved certificates must have been valid at the
current time. The modified PKIX model verifies that all involved
certificates were valid at the time of signing. Both are indirectly chosen
with the | |
| signingCert | back to summary |
|---|---|
| private X509Certificate signingCert | |
| trustAnchors | back to summary |
|---|---|
| private final Set<TrustAnchor> trustAnchors | |
| validationDate | back to summary |
|---|---|
| private final Date validationDate | |
| validityModel | back to summary |
|---|---|
| private final int validityModel | |
| workingIssuerName | back to summary |
|---|---|
| private X500Principal workingIssuerName | |
| workingPublicKey | back to summary |
|---|---|
| private PublicKey workingPublicKey | |
| X509RevocationChecker | back to summary |
|---|---|
| private X509RevocationChecker(X509RevocationChecker. | |
| addIssuers | back to summary |
|---|---|
| private void addIssuers(final List<X500Principal> issuerList, CertStore certStore) throws CertStoreException | |
| addIssuers | back to summary |
|---|---|
| private void addIssuers(final List<X500Principal> issuerList, Store<CRL> certStore) | |
| check | back to summary |
|---|---|
| public void check(Certificate certificate, Collection<String> collection) throws CertPathValidatorException Implements abstract java. Doc from java. Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions. The certificates are presented in the order
specified by the
| |
| checkCRLs | back to summary |
|---|---|
| protected void checkCRLs(PKIXExtendedParameters pkixParams, Date currentDate, Date validityDate, X509Certificate cert, X509Certificate sign, PublicKey workingPublicKey, List<E> certPathCerts, PKIXJcaJceHelper helper) throws AnnotatedException, CertPathValidatorException Checks a certificate if it is revoked.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Returns a clone of this object. Calls the
| |
| downloadCRLs | back to summary |
|---|---|
| private Set | |
| getAdditionalStoresFromCRLDistributionPoint | back to summary |
|---|---|
| pack-priv static List | |
| getSupportedExtensions | back to summary |
|---|---|
| public Set Implements abstract java. Doc from java. Returns an immutable
Each element of the set is a
All X.509 certificate extensions that a | |
| init | back to summary |
|---|---|
| public void init(boolean forward) throws CertPathValidatorException Implements abstract java. Implements java. Doc from java. Initializes the internal state of this
The
| |
| isForwardCheckingSupported | back to summary |
|---|---|
| public boolean isForwardCheckingSupported() Implements abstract java. Implements java. Doc from java. Indicates if forward checking is supported. Forward checking refers
to the ability of the
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private List | |
| private List | |
| private long | |
| private long | |
| private boolean | |
| private Provider | |
| private String | |
| private Set | |
| private Date | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public X509RevocationChecker. | |
| public X509RevocationChecker. | |
| public X509RevocationChecker | Returns: a new X509RevocationChecker.Build a revocation checker conforming to the current builder. |
| public X509RevocationChecker. | Returns: the current builder instance.true if only end-entities should be checked, false otherwise. isTrue)
|
| public X509RevocationChecker. | |
| public X509RevocationChecker. | Returns: the current builder instance.true soft failure should be enabled, false otherwise. isTrue, long the time that can pass between the first failure and the most recent. maxTime)Configure soft failure if CRLs/OCSP not available. |
| public X509RevocationChecker. | Returns: the current builder instance.true soft failure should be enabled, false otherwise. isTrue, long the time that can pass between the first failure and the most recent. maxTime)Configure soft failure with a hard limit if CRLs/OCSP not available. |
| public X509RevocationChecker. | |
| public X509RevocationChecker. | Returns: the current builder instance.provider to use. provider)Configure to use the installed provider with name ProviderName. |
| public X509RevocationChecker. | Returns: the current builder instance.name of the installed provider to use. providerName)Configure to use the installed provider with name ProviderName. |
| canSoftFail | back to summary |
|---|---|
| private boolean canSoftFail | |
| crlCertStores | back to summary |
|---|---|
| private List<CertStore> crlCertStores | |
| crls | back to summary |
|---|---|
| private List<Store<CRL>> crls | |
| failHardMaxTime | back to summary |
|---|---|
| private long failHardMaxTime | |
| failLogMaxTime | back to summary |
|---|---|
| private long failLogMaxTime | |
| isCheckEEOnly | back to summary |
|---|---|
| private boolean isCheckEEOnly | |
| provider | back to summary |
|---|---|
| private Provider provider | |
| providerName | back to summary |
|---|---|
| private String providerName | |
| trustAnchors | back to summary |
|---|---|
| private Set<TrustAnchor> trustAnchors | |
| validityDate | back to summary |
|---|---|
| private Date validityDate | |
| validityModel | back to summary |
|---|---|
| private int validityModel | |
| Builder | back to summary |
|---|---|
| public Builder(TrustAnchor trustAnchor) Base constructor.
| |
| Builder | back to summary |
|---|---|
| public Builder(Set<TrustAnchor> trustAnchors) Base constructor.
| |
| Builder | back to summary |
|---|---|
| public Builder(KeyStore trustStore) throws KeyStoreException Base constructor.
| |
| addCrls | back to summary |
|---|---|
| public X509RevocationChecker. Add a collection of CRLs to the checker.
| |
| addCrls | back to summary |
|---|---|
| public X509RevocationChecker. Add a collection of CRLs to the checker.
| |
| build | back to summary |
|---|---|
| public X509RevocationChecker build() Build a revocation checker conforming to the current builder.
| |
| setCheckEndEntityOnly | back to summary |
|---|---|
public X509RevocationChecker.
| |
| setDate | back to summary |
|---|---|
| public X509RevocationChecker. Set the current date for checking if not today.
| |
| setSoftFail | back to summary |
|---|---|
| public X509RevocationChecker. Configure soft failure if CRLs/OCSP not available. If maxTime is greater than zero it represents the acceptable downtime for any responders or distribution points we are trying to connect to, with downtime measured from the first failure. Initially failures will log at Level.WARNING, once maxTime is exceeded any failures will be logged as Level.SEVERE. Setting maxTime to zero will mean 1 failure will be allowed before failures are logged as severe.
| |
| setSoftFailHardLimit | back to summary |
|---|---|
| public X509RevocationChecker. Configure soft failure with a hard limit if CRLs/OCSP not available. If maxTime is greater than zero it represents the acceptable downtime for any responders or distribution points we are trying to connect to, with downtime measured from the first failure. Initially failures will log at Level.WARNING, once 75% of maxTime is exceeded any failures will be logged as Level.SEVERE. At maxTime any failures will be treated as hard, setting maxTime to zero will mean 1 failure will be allowed.
| |
| setValidityModel | back to summary |
|---|---|
public X509RevocationChecker.
| |
| usingProvider | back to summary |
|---|---|
| public X509RevocationChecker. Configure to use the installed provider with name ProviderName.
| |
| usingProvider | back to summary |
|---|---|
| public X509RevocationChecker. Configure to use the installed provider with name ProviderName.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Collection |
| Access | Constructor and Description |
|---|---|
| public | LocalCRLStore(Store<CRL>
- initial contents for the store, this is copied. collection)Basic constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Collection | Returns: a possibly empty collection of matching objects.the selector to match against. selector)Implements org. |
| public Iterator | iterator()
Implements org. |
| _local | back to summary |
|---|---|
| private Collection<CRL> _local | |
| LocalCRLStore | back to summary |
|---|---|
| public LocalCRLStore(Store<CRL> collection) Basic constructor. | |
| getMatches | back to summary |
|---|---|
| public Collection Implements org. Return the matches in the collection for the passed in selector.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Returns an iterator over a set of elements of type T. | |