This class uses the URICertStore class to fetch CRLs. The URICertStore class also implements CRL caching: see the class description for more information.
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean[] | |
| private static final Debug |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static X509CRL | |
| public static Collection | getCRLs(X509CRLSelector selector, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, List<CertStore> certStores, boolean[] reasonsMask, Set<TrustAnchor> trustAnchors, Date validity, String variant, TrustAnchor anchor)
Return the X509CRLs matching this selector. |
| private static Collection | getCRLs(X509CRLSelector selector, X509CertImpl certImpl, DistributionPoint point, boolean[] reasonsMask, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, List<CertStore> certStores, Set<TrustAnchor> trustAnchors, Date validity, String variant, TrustAnchor anchor)
Download CRLs from the given distribution point, verify and return them. |
| private static Collection | getCRLs(X500Name name, X500Principal certIssuer, List<CertStore> certStores)
Fetch CRLs from certStores. |
| private static GeneralNames | getFullNames(X500Name issuer, RDN rdn)
Append relative name to the issuer name and return a new GeneralNames object. |
| private static boolean | issues(X509CertImpl
the certificate cert, X509CRLImpl the CRL to be verified crl, String the name of the signature provider provider)Verifies whether a CRL is issued by a certain certificate |
| pack-priv static boolean | Returns: true if ok, false if notthe certificate whose revocation status is being checked certImpl, DistributionPoint one of the distribution points of the certificate point, X509CRL the CRL crl, boolean[] the interim reasons mask reasonsMask, boolean true if prevKey can be used to verify the CRL signFlag, PublicKey the public key that verifies the certificate's signature prevKey, X509Certificate the certificate whose public key verifies
prevCert, String certImpl's signaturethe Signature provider to use provider, Set<TrustAnchor> a trustAnchors, List<CertStore> Set of TrustAnchorsa certStores, Date List of CertStores to be used in
finding certificates and CRLsthe time for which the validity of the CRL issuer's
certification path should be determined validity, String variant, TrustAnchor anchor)Verifies a CRL for the given certificate's Distribution Point to ensure it is appropriate for checking the revocation status. |
| ALL_REASONS | back to summary |
|---|---|
| private static final boolean[] ALL_REASONS | |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| DistributionPointFetcher | back to summary |
|---|---|
| private DistributionPointFetcher() Private instantiation only. | |
| getCRL | back to summary |
|---|---|
| private static X509CRL getCRL(URIName name) throws CertStoreException Download CRL from given URI. | |
| getCRLs | back to summary |
|---|---|
| public static Collection Return the X509CRLs matching this selector. The selector must be an X509CRLSelector with certificateChecking set. | |
| getCRLs | back to summary |
|---|---|
| private static Collection Download CRLs from the given distribution point, verify and return them. See the top of the class for current limitations.
| |
| getCRLs | back to summary |
|---|---|
| private static Collection Fetch CRLs from certStores.
| |
| getFullNames | back to summary |
|---|---|
| private static GeneralNames getFullNames(X500Name issuer, RDN rdn) throws IOException Append relative name to the issuer name and return a new GeneralNames object. | |
| issues | back to summary |
|---|---|
| private static boolean issues(X509CertImpl cert, X509CRLImpl crl, String provider) throws IOException Verifies whether a CRL is issued by a certain certificate
| |
| verifyCRL | back to summary |
|---|---|
| pack-priv static boolean verifyCRL(X509CertImpl certImpl, DistributionPoint point, X509CRL crl, boolean[] reasonsMask, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, Set<TrustAnchor> trustAnchors, List<CertStore> certStores, Date validity, String variant, TrustAnchor anchor) throws CRLException, IOException Verifies a CRL for the given certificate's Distribution Point to ensure it is appropriate for checking the revocation status.
| |