Deprecated
use org.bouncycastle.pkix.jcajce.PKIXCertPathReviewer in the bcpkix package
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| protected CertPath | |
| protected List | |
| private static final String | |
| protected Date | |
| protected List | |
| private boolean | |
| protected int | |
| protected List | |
| protected PKIXParameters | |
| protected PolicyNode | |
| private static final String | |
| private static final String | |
| protected PublicKey | |
| protected TrustAnchor | |
| protected Date |
| Access | Constructor and Description |
|---|---|
| public | PKIXCertPathReviewer(CertPath
the certPath, PKIXParameters CertPath to validatethe params)PKIXParameters to useCreates a PKIXCertPathReviewer and initializes it with the given |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | |
| protected void | checkCRLs(PKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, Vector<E> crlDistPointUrls, int index)
|
| private void | |
| private void | |
| private void | |
| protected void | checkRevocation(PKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, Vector<E> crlDistPointUrls, Vector<E> ocspUrls, int index)
|
| private void | |
| protected void | |
| public CertPath | |
| public int | |
| private X509CRL | |
| protected Vector | |
| public List | Returns: the Array of Lists which contain the error messagesReturns an Array of Lists which contains a List of global error messages and a List of error messages for each certificate in the path. |
| public List | Returns: List of error messages for the certificatethe index of the certificate in the CertPath index)Returns an List of error messages for the certificate at the given index in the CertPath. |
| public List | Returns: the Array of Lists which contain the notification messagesReturns an Array of Lists which contains a List of global notification messages and a List of botification messages for each certificate in the path. |
| public List | Returns: List of notification messages for the certificatethe index of the certificate in the CertPath index)Returns an List of notification messages for the certificate at the given index in the CertPath. |
| protected Vector | |
| public PolicyNode | |
| public PublicKey | |
| public TrustAnchor | |
| protected Collection | |
| public void | init(CertPath
the certPath, PKIXParameters CertPath to validatethe params)PKIXParameters to useInitializes the PKIXCertPathReviewer with the given |
| private String | |
| public boolean | |
| private boolean |
| AUTH_INFO_ACCESS | back to summary |
|---|---|
| private static final String AUTH_INFO_ACCESS | |
| certPath | back to summary |
|---|---|
| protected CertPath certPath | |
| certs | back to summary |
|---|---|
| protected List<E> certs | |
| CRL_DIST_POINTS | back to summary |
|---|---|
| private static final String CRL_DIST_POINTS | |
| currentDate | back to summary |
|---|---|
| protected Date currentDate | |
| errors | back to summary |
|---|---|
| protected List<E>[] errors | |
| initialized | back to summary |
|---|---|
| private boolean initialized | |
| n | back to summary |
|---|---|
| protected int n | |
| notifications | back to summary |
|---|---|
| protected List<E>[] notifications | |
| pkixParams | back to summary |
|---|---|
| protected PKIXParameters pkixParams | |
| policyTree | back to summary |
|---|---|
| protected PolicyNode policyTree | |
| QC_STATEMENT | back to summary |
|---|---|
| private static final String QC_STATEMENT | |
| RESOURCE_NAME | back to summary |
|---|---|
| private static final String RESOURCE_NAME | |
| subjectPublicKey | back to summary |
|---|---|
| protected PublicKey subjectPublicKey | |
| trustAnchor | back to summary |
|---|---|
| protected TrustAnchor trustAnchor | |
| validDate | back to summary |
|---|---|
| protected Date validDate | |
| PKIXCertPathReviewer | back to summary |
|---|---|
| public PKIXCertPathReviewer(CertPath certPath, PKIXParameters params) throws CertPathReviewerException Creates a PKIXCertPathReviewer and initializes it with the given
| |
| PKIXCertPathReviewer | back to summary |
|---|---|
| public PKIXCertPathReviewer() Creates an empty PKIXCertPathReviewer. Don't forget to call init() to initialize the object. | |
| addError | back to summary |
|---|---|
| protected void addError(ErrorBundle msg) | |
| addError | back to summary |
|---|---|
| protected void addError(ErrorBundle msg, int index) | |
| addNotification | back to summary |
|---|---|
| protected void addNotification(ErrorBundle msg) | |
| addNotification | back to summary |
|---|---|
| protected void addNotification(ErrorBundle msg, int index) | |
| checkCriticalExtensions | back to summary |
|---|---|
| private void checkCriticalExtensions() | |
| checkCRLs | back to summary |
|---|---|
| protected void checkCRLs(PKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, Vector<E> crlDistPointUrls, int index) throws CertPathReviewerException | |
| checkNameConstraints | back to summary |
|---|---|
| private void checkNameConstraints() | |
| checkPathLength | back to summary |
|---|---|
| private void checkPathLength() | |
| checkPolicy | back to summary |
|---|---|
| private void checkPolicy() | |
| checkRevocation | back to summary |
|---|---|
| protected void checkRevocation(PKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey, Vector<E> crlDistPointUrls, Vector<E> ocspUrls, int index) throws CertPathReviewerException | |
| checkSignatures | back to summary |
|---|---|
| private void checkSignatures() | |
| doChecks | back to summary |
|---|---|
| protected void doChecks() | |
| getCertPath | back to summary |
|---|---|
public CertPath getCertPath()
| |
| getCertPathSize | back to summary |
|---|---|
public int getCertPathSize()
| |
| getCRL | back to summary |
|---|---|
| private X509CRL getCRL(String location) throws CertPathReviewerException | |
| getCRLDistUrls | back to summary |
|---|---|
| protected Vector | |
| getErrors | back to summary |
|---|---|
| public List Returns an Array of Lists which contains a List of global error messages and a List of error messages for each certificate in the path. The global error List is at index 0. The error lists for each certificate at index 1 to n. The error messages are of type.
| |
| getErrors | back to summary |
|---|---|
| public List Returns an List of error messages for the certificate at the given index in the CertPath. If index == -1 then the list of global errors is returned with errors not specific to a certificate.
| |
| getNotifications | back to summary |
|---|---|
| public List Returns an Array of Lists which contains a List of global notification messages and a List of botification messages for each certificate in the path. The global notificatio List is at index 0. The notification lists for each certificate at index 1 to n. The error messages are of type.
| |
| getNotifications | back to summary |
|---|---|
| public List Returns an List of notification messages for the certificate at the given index in the CertPath. If index == -1 then the list of global notifications is returned with notifications not specific to a certificate.
| |
| getOCSPUrls | back to summary |
|---|---|
| protected Vector | |
| getPolicyTree | back to summary |
|---|---|
public PolicyNode getPolicyTree()
| |
| getSubjectPublicKey | back to summary |
|---|---|
public PublicKey getSubjectPublicKey()
| |
| getTrustAnchor | back to summary |
|---|---|
public TrustAnchor getTrustAnchor()
| |
| getTrustAnchors | back to summary |
|---|---|
| protected Collection | |
| init | back to summary |
|---|---|
| public void init(CertPath certPath, PKIXParameters params) throws CertPathReviewerException Initializes the PKIXCertPathReviewer with the given
| |
| IPtoString | back to summary |
|---|---|
| private String IPtoString(byte[] ip) | |
| isValidCertPath | back to summary |
|---|---|
public boolean isValidCertPath()
| |
| processQcStatements | back to summary |
|---|---|
| private boolean processQcStatements(X509Certificate cert, int index) | |