| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean[] | |
| private TrustAnchor | |
| private int | |
| private List | |
| private static final boolean[] | |
| private boolean | |
| private boolean | |
| private static final Debug | |
| private static final int | |
| private OCSPResponse. | |
| private final boolean | |
| private static final long | |
| private RevocationChecker. | |
| private List | |
| private Map | |
| private boolean | |
| private PKIX. | |
| private PublicKey | |
| private X509Certificate | |
| private URI | |
| private RevocationChecker. | |
| private boolean | |
| private final LinkedList |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | buildToNewKey(X509Certificate
the currCert, PublicKey X509Certificate to be checkedthe prevKey, Set<X509Certificate> PublicKey of the certificate whose key
cannot be used to vouch for the CRL and should be ignoreda stackedCerts)Set of X509Certificates>
whose revocation status depends on the
establishment of this path.Tries to find a CertPath that establishes a key that can be used to verify the revocation status of a given certificate. |
| pack-priv static boolean | Returns: a boolean specifying if the cert is allowed to vouch for the validity of a CRLan X509Certificate to check cert)Checks that a cert can be used to verify a CRL. |
| public void | check(Certificate cert, Collection<String> unresolvedCritExts)
Implements abstract 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. |
| private void | check(X509Certificate xcert, Collection<String> unresolvedCritExts, PublicKey pubKey, boolean crlSignFlag)
|
| private void | |
| private void | checkCRLs(X509Certificate cert, Collection<String> unresolvedCritExts, Set<X509Certificate> stackedCerts, PublicKey pubKey, boolean signFlag)
|
| private void | checkCRLs(X509Certificate cert, PublicKey prevKey, X509Certificate prevCert, boolean signFlag, boolean allowSeparateKey, Set<X509Certificate> stackedCerts, Set<TrustAnchor> anchors)
|
| private void | |
| private static X509Certificate | getResponderCert(RevocationChecker.
|
| private static X509Certificate | |
| private static X509Certificate | |
| private static X509Certificate | |
| private static RevocationChecker. | |
| public List | getSoftFailExceptions()
Implements abstract java. Returns a list containing the exceptions that are ignored by the
revocation checker when the |
| public Set | getSupportedExtensions()
Implements abstract java. Returns an immutable |
| pack-priv void | |
| public void | init(boolean forward)
Implements abstract java. Implements java. Initializes the internal state of this |
| pack-priv static boolean | |
| public boolean | isForwardCheckingSupported()
Implements abstract java. Implements java. Indicates if forward checking is supported. |
| private boolean | |
| private static String | |
| private static URI | |
| private void | |
| private Collection | Returns: a collection of approved crls (or an empty collection)a set of possible CRLs to test for acceptability crls, X509Certificate the certificate whose revocation status is being checked cert, PublicKey the public key of the issuer of cert prevKey, boolean true if prevKey was trusted to sign CRLsthe reason code mask reasonsMask, Set<TrustAnchor> a anchors)Set of TrustAnchors>Internal method that verifies a set of possible_crls, and sees if each is approved, based on the cert. |
| private void | verifyWithSeparateSigningKey(X509Certificate
the cert, PublicKey X509Certificate to be checkedthe prevKey, boolean PublicKey that failedtrue if that key was trusted to sign CRLsa stackedCerts)Set of X509Certificates
whose revocation status depends on the
non-revoked status of this cert. To avoid
circular dependencies, we assume they're
revoked while checking the revocation
status of this cert.We have a cert whose revocation status couldn't be verified by a CRL issued by the cert that issued the CRL. |
| ALL_REASONS | back to summary |
|---|---|
| private static final boolean[] ALL_REASONS | |
| anchor | back to summary |
|---|---|
| private TrustAnchor anchor | |
| certIndex | back to summary |
|---|---|
| private int certIndex | |
| certStores | back to summary |
|---|---|
| private List<CertStore> certStores | |
| CRL_SIGN_USAGE | back to summary |
|---|---|
| private static final boolean[] CRL_SIGN_USAGE | |
| crlDP | back to summary |
|---|---|
| private boolean crlDP | |
| crlSignFlag | back to summary |
|---|---|
| private boolean crlSignFlag | |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| DEFAULT_NONCE_BYTES | back to summary |
|---|---|
| private static final int DEFAULT_NONCE_BYTES | |
| issuerInfo | back to summary |
|---|---|
| private OCSPResponse. | |
| legacy | back to summary |
|---|---|
| private final boolean legacy | |
| MAX_CLOCK_SKEW | back to summary |
|---|---|
| private static final long MAX_CLOCK_SKEW | |
| mode | back to summary |
|---|---|
| private RevocationChecker. | |
| ocspExtensions | back to summary |
|---|---|
| private List<Extension> ocspExtensions Hides java. | |
| ocspResponses | back to summary |
|---|---|
| private Map<X509Certificate, byte[]> ocspResponses Hides java. | |
| onlyEE | back to summary |
|---|---|
| private boolean onlyEE | |
| params | back to summary |
|---|---|
| private PKIX. | |
| prevPubKey | back to summary |
|---|---|
| private PublicKey prevPubKey | |
| responderCert | back to summary |
|---|---|
| private X509Certificate responderCert | |
| responderURI | back to summary |
|---|---|
| private URI responderURI | |
| rp | back to summary |
|---|---|
| private RevocationChecker. | |
| softFail | back to summary |
|---|---|
| private boolean softFail | |
| softFailExceptions | back to summary |
|---|---|
| private final LinkedList<CertPathValidatorException> softFailExceptions | |
| RevocationChecker | back to summary |
|---|---|
| pack-priv RevocationChecker() | |
| RevocationChecker | back to summary |
|---|---|
| pack-priv RevocationChecker(TrustAnchor anchor, PKIX. | |
| buildToNewKey | back to summary |
|---|---|
| private void buildToNewKey(X509Certificate currCert, PublicKey prevKey, Set<X509Certificate> stackedCerts) throws CertPathValidatorException Tries to find a CertPath that establishes a key that can be used to verify the revocation status of a given certificate. Ignores keys that have previously been tried. Throws a CertPathValidatorException if no such key could be found.
| |
| certCanSignCrl | back to summary |
|---|---|
| pack-priv static boolean certCanSignCrl(X509Certificate cert) Checks that a cert can be used to verify a CRL.
| |
| check | back to summary |
|---|---|
| public void check(Certificate cert, Collection<String> unresolvedCritExts) 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
| |
| check | back to summary |
|---|---|
| private void check(X509Certificate xcert, Collection<String> unresolvedCritExts, PublicKey pubKey, boolean crlSignFlag) throws CertPathValidatorException | |
| checkApprovedCRLs | back to summary |
|---|---|
| private void checkApprovedCRLs(X509Certificate cert, Set<X509CRL> approvedCRLs) throws CertPathValidatorException | |
| checkCRLs | back to summary |
|---|---|
| private void checkCRLs(X509Certificate cert, Collection<String> unresolvedCritExts, Set<X509Certificate> stackedCerts, PublicKey pubKey, boolean signFlag) throws CertPathValidatorException | |
| checkCRLs | back to summary |
|---|---|
| private void checkCRLs(X509Certificate cert, PublicKey prevKey, X509Certificate prevCert, boolean signFlag, boolean allowSeparateKey, Set<X509Certificate> stackedCerts, Set<TrustAnchor> anchors) throws CertPathValidatorException | |
| checkOCSP | back to summary |
|---|---|
| private void checkOCSP(X509Certificate cert, Collection<String> unresolvedCritExts) throws CertPathValidatorException | |
| getResponderCert | back to summary |
|---|---|
| private static X509Certificate getResponderCert(RevocationChecker. | |
| getResponderCert | back to summary |
|---|---|
| private static X509Certificate getResponderCert(String subject, Set<TrustAnchor> anchors, List<CertStore> stores) throws CertPathValidatorException | |
| getResponderCert | back to summary |
|---|---|
| private static X509Certificate getResponderCert(String issuer, String serial, Set<TrustAnchor> anchors, List<CertStore> stores) throws CertPathValidatorException | |
| getResponderCert | back to summary |
|---|---|
| private static X509Certificate getResponderCert(X509CertSelector sel, Set<TrustAnchor> anchors, List<CertStore> stores) throws CertPathValidatorException | |
| getRevocationProperties | back to summary |
|---|---|
| private static RevocationChecker. | |
| getSoftFailExceptions | back to summary |
|---|---|
| public List Implements abstract java. Doc from java. Returns a list containing the exceptions that are ignored by the
revocation checker when the
An implementation of
| |
| 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 |
|---|---|
| pack-priv void init(TrustAnchor anchor, PKIX. | |
| 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
| |
| isCausedByNetworkIssue | back to summary |
|---|---|
| pack-priv static boolean isCausedByNetworkIssue(String type, CertStoreException cse) | |
| 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
| |
| isSoftFailException | back to summary |
|---|---|
| private boolean isSoftFailException(CertPathValidatorException e) | |
| stripOutSeparators | back to summary |
|---|---|
| private static String stripOutSeparators(String value) | |
| toURI | back to summary |
|---|---|
| private static URI toURI(String uriString) throws CertPathValidatorException | |
| updateState | back to summary |
|---|---|
| private void updateState(X509Certificate cert) throws CertPathValidatorException | |
| verifyPossibleCRLs | back to summary |
|---|---|
| private Collection Internal method that verifies a set of possible_crls, and sees if each is approved, based on the cert.
| |
| verifyWithSeparateSigningKey | back to summary |
|---|---|
| private void verifyWithSeparateSigningKey(X509Certificate cert, PublicKey prevKey, boolean signFlag, Set<X509Certificate> stackedCerts) throws CertPathValidatorException We have a cert whose revocation status couldn't be verified by a CRL issued by the cert that issued the CRL. See if we can find a valid CRL issued by a separate key that can verify the revocation status of this certificate. Note that this does not provide support for indirect CRLs, only CRLs signed with a different key (but the same issuer name) as the certificate being checked.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final RevocationChecker. | |
| public static final RevocationChecker. | |
| public static final RevocationChecker. | |
| public static final RevocationChecker. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RevocationChecker. | |
| public static RevocationChecker. |
| ONLY_CRLS | back to summary |
|---|---|
| public static final RevocationChecker. | |
| ONLY_OCSP | back to summary |
|---|---|
| public static final RevocationChecker. | |
| PREFER_CRLS | back to summary |
|---|---|
| public static final RevocationChecker. | |
| PREFER_OCSP | back to summary |
|---|---|
| public static final RevocationChecker. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static RevocationChecker. | |
| values | back to summary |
|---|---|
| public static RevocationChecker. | |
| Access | Constructor and Description |
|---|---|
| pack-priv | RejectKeySelector(Set<PublicKey>
a badPublicKeys)Set of
PublicKeys that
should be rejected (or null
if no such check should be done)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the Certificate should be
selected, false otherwisethe cert)Certificate to be checkedOverrides java. Implements java. Decides whether a |
| public String | Returns: aString describing the contents of the
CertSelectorOverrides java. Return a printable representation of the |
| badKeySet | back to summary |
|---|---|
| private final Set<PublicKey> badKeySet | |
| RejectKeySelector | back to summary |
|---|---|
| pack-priv RejectKeySelector(Set<PublicKey> badPublicKeys) Creates a new | |
| match | back to summary |
|---|---|
| public boolean match(Certificate cert) Overrides java. Implements java. Decides whether a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a printable representation of the | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| private |
| crlDPEnabled | back to summary |
|---|---|
| pack-priv boolean crlDPEnabled | |
| ocspEnabled | back to summary |
|---|---|
| pack-priv boolean ocspEnabled | |
| ocspIssuer | back to summary |
|---|---|
| pack-priv String ocspIssuer | |
| ocspNonce | back to summary |
|---|---|
| pack-priv boolean ocspNonce | |
| ocspSerial | back to summary |
|---|---|
| pack-priv String ocspSerial | |
| ocspSubject | back to summary |
|---|---|
| pack-priv String ocspSubject | |
| ocspUrl | back to summary |
|---|---|
| pack-priv String ocspUrl | |
| onlyEE | back to summary |
|---|---|
| pack-priv boolean onlyEE | |
| RevocationProperties | back to summary |
|---|---|
| private RevocationProperties() | |