public class FixedBCPKIXCertPathReviewer
extends org.bouncycastle.x509.PKIXCertPathReviewer
Modifier and Type | Field and Description |
---|---|
protected ExtPKIXParameters |
pkixParams |
static String |
RESOURCE_NAME |
certPath, certs, errors, n, notifications, policyTree, subjectPublicKey, trustAnchor, validDate
ANY_POLICY, AUTHORITY_KEY_IDENTIFIER, BASIC_CONSTRAINTS, CERTIFICATE_POLICIES, CRL_DISTRIBUTION_POINTS, CRL_NUMBER, CRL_SIGN, CRL_UTIL, crlReasons, DELTA_CRL_INDICATOR, FRESHEST_CRL, INHIBIT_ANY_POLICY, ISSUING_DISTRIBUTION_POINT, KEY_CERT_SIGN, KEY_USAGE, NAME_CONSTRAINTS, POLICY_CONSTRAINTS, POLICY_MAPPINGS, SUBJECT_ALTERNATIVE_NAME
Constructor and Description |
---|
FixedBCPKIXCertPathReviewer(CertPath certPath,
ExtPKIXParameters params)
Creates a PKIXCertPathReviewer and initializes it with the given
CertPath and PKIXParameters params |
Modifier and Type | Method and Description |
---|---|
protected void |
addError(SimpleValidationErrorException msg,
int index) |
protected void |
checkRevocation(ExtPKIXParameters paramsPKIX,
X509Certificate cert,
Date validDate,
X509Certificate sign,
PublicKey workingPublicKey) |
protected void |
doChecks() |
protected Vector |
getCRLDistUrls(org.bouncycastle.asn1.x509.CRLDistPoint crlDistPoints) |
void |
init(CertPath certPath,
ExtPKIXParameters params)
Initializes the PKIXCertPathReviewer with the given
CertPath and PKIXParameters params |
addError, addError, addNotification, addNotification, checkCRLs, checkRevocation, getCertPath, getCertPathSize, getErrors, getErrors, getNotifications, getNotifications, getOCSPUrls, getPolicyTree, getSubjectPublicKey, getTrustAnchor, getTrustAnchors, init, isValidCertPath
addAdditionalStoreFromLocation, addAdditionalStoresFromAltNames, addAdditionalStoresFromCRLDistributionPoint, findCertificates, findCertificates, findIssuerCerts, findTrustAnchor, findTrustAnchor, getAlgorithmIdentifier, getCertStatus, getCompleteCRLs, getCRLIssuersFromDistributionPoint, getDeltaCRLs, getEncodedIssuerPrincipal, getExtensionValue, getIssuerPrincipal, getNextWorkingKey, getQualifierSet, getSubjectPrincipal, getValidCertDateFromValidityModel, getValidDate, isAnyPolicy, isSelfIssued, prepareNextCertB1, prepareNextCertB2, processCertD1i, processCertD1ii, removePolicyNode, verifyX509Certificate
public static final String RESOURCE_NAME
protected ExtPKIXParameters pkixParams
public FixedBCPKIXCertPathReviewer(CertPath certPath, ExtPKIXParameters params) throws org.bouncycastle.x509.CertPathReviewerException
CertPath
and PKIXParameters
paramscertPath
- the CertPath
to validate * @param params the PKIXParameters
to useorg.bouncycastle.x509.CertPathReviewerException
- if the certPath is emptypublic void init(CertPath certPath, ExtPKIXParameters params) throws org.bouncycastle.x509.CertPathReviewerException
CertPath
and PKIXParameters
paramscertPath
- the CertPath
to validateparams
- the PKIXParameters
to useorg.bouncycastle.x509.CertPathReviewerException
- if the certPath is emptyIllegalStateException
- if the PKIXCertPathReviewer
is already initializedprotected void addError(SimpleValidationErrorException msg, int index)
protected void doChecks()
doChecks
in class org.bouncycastle.x509.PKIXCertPathReviewer
protected void checkRevocation(ExtPKIXParameters paramsPKIX, X509Certificate cert, Date validDate, X509Certificate sign, PublicKey workingPublicKey) throws SimpleValidationErrorException
SimpleValidationErrorException
protected Vector getCRLDistUrls(org.bouncycastle.asn1.x509.CRLDistPoint crlDistPoints)
getCRLDistUrls
in class org.bouncycastle.x509.PKIXCertPathReviewer
Copyright © 2012-2014 European Middleware Initiative. All Rights Reserved.