Package org.bouncycastle.mail.smime.test
Class DummyCertPathReviewer
java.lang.Object
org.bouncycastle.x509.PKIXCertPathReviewer
org.bouncycastle.mail.smime.test.DummyCertPathReviewer
public class DummyCertPathReviewer
extends org.bouncycastle.x509.PKIXCertPathReviewer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final intprotected static final String[]protected static final Stringprotected static final Stringprotected static final Stringprotected static final intprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.bouncycastle.x509.PKIXCertPathReviewer
certPath, certs, currentDate, errors, n, notifications, pkixParams, policyTree, subjectPublicKey, trustAnchor, validDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static CollectionfindCertificates(org.bouncycastle.jcajce.PKIXCertStoreSelector arg0, List arg1) protected static CollectionfindCertificates(org.bouncycastle.x509.X509AttributeCertStoreSelector arg0, List arg1) protected static CollectionfindCertificates(org.bouncycastle.x509.X509CertStoreSelector arg0, List arg1) protected static org.bouncycastle.asn1.x509.AlgorithmIdentifierprotected static voidgetCertStatus(Date arg0, X509CRL arg1, Object arg2, org.bouncycastle.x509.CertStatus arg3) protected static X500Principalprotected static org.bouncycastle.asn1.ASN1PrimitivegetExtensionValue(X509Extension arg0, String arg1) protected static X500PrincipalgetIssuerPrincipal(X509CRL arg0) protected static PublicKeygetNextWorkingKey(List arg0, int arg1) protected static final SetgetQualifierSet(org.bouncycastle.asn1.ASN1Sequence arg0) protected static X500Principalprotected static DategetValidityDate(PKIXParameters arg0, Date arg1) protected static booleanisAnyPolicy(Set arg0) protected static booleanisSelfIssued(X509Certificate arg0) protected static voidprepareNextCertB1(int arg0, List[] arg1, String arg2, Map arg3, X509Certificate arg4) protected static org.bouncycastle.jce.provider.PKIXPolicyNodeprepareNextCertB2(int arg0, List[] arg1, String arg2, org.bouncycastle.jce.provider.PKIXPolicyNode arg3) protected static booleanprocessCertD1i(int arg0, List[] arg1, org.bouncycastle.asn1.ASN1ObjectIdentifier arg2, Set arg3) protected static voidprocessCertD1ii(int arg0, List[] arg1, org.bouncycastle.asn1.ASN1ObjectIdentifier arg2, Set arg3) protected static org.bouncycastle.jce.provider.PKIXPolicyNoderemovePolicyNode(org.bouncycastle.jce.provider.PKIXPolicyNode arg0, List[] arg1, org.bouncycastle.jce.provider.PKIXPolicyNode arg2) protected static voidverifyX509Certificate(X509Certificate arg0, PublicKey arg1, String arg2) Methods inherited from class org.bouncycastle.x509.PKIXCertPathReviewer
addError, addError, addNotification, addNotification, checkCRLs, checkRevocation, doChecks, getCertPath, getCertPathSize, getCRLDistUrls, getErrors, getErrors, getNotifications, getNotifications, getOCSPUrls, getPolicyTree, getSubjectPublicKey, getTrustAnchor, getTrustAnchors, init, isValidCertPath
-
Field Details
-
CERTIFICATE_POLICIES
-
BASIC_CONSTRAINTS
-
POLICY_MAPPINGS
-
SUBJECT_ALTERNATIVE_NAME
-
NAME_CONSTRAINTS
-
KEY_USAGE
-
INHIBIT_ANY_POLICY
-
ISSUING_DISTRIBUTION_POINT
-
DELTA_CRL_INDICATOR
-
POLICY_CONSTRAINTS
-
CRL_NUMBER
-
ANY_POLICY
- See Also:
-
KEY_CERT_SIGN
protected static final int KEY_CERT_SIGN- See Also:
-
CRL_SIGN
protected static final int CRL_SIGN- See Also:
-
crlReasons
-
-
Constructor Details
-
DummyCertPathReviewer
public DummyCertPathReviewer()
-
-
Method Details
-
getEncodedIssuerPrincipal
-
getValidityDate
-
getSubjectPrincipal
-
isSelfIssued
-
getExtensionValue
protected static org.bouncycastle.asn1.ASN1Primitive getExtensionValue(X509Extension arg0, String arg1) throws org.bouncycastle.jce.provider.AnnotatedException - Throws:
org.bouncycastle.jce.provider.AnnotatedException
-
getIssuerPrincipal
-
getAlgorithmIdentifier
protected static org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier(PublicKey arg0) throws CertPathValidatorException - Throws:
CertPathValidatorException
-
getQualifierSet
protected static final Set getQualifierSet(org.bouncycastle.asn1.ASN1Sequence arg0) throws CertPathValidatorException - Throws:
CertPathValidatorException
-
removePolicyNode
protected static org.bouncycastle.jce.provider.PKIXPolicyNode removePolicyNode(org.bouncycastle.jce.provider.PKIXPolicyNode arg0, List[] arg1, org.bouncycastle.jce.provider.PKIXPolicyNode arg2) -
processCertD1i
-
processCertD1ii
-
prepareNextCertB1
protected static void prepareNextCertB1(int arg0, List[] arg1, String arg2, Map arg3, X509Certificate arg4) throws org.bouncycastle.jce.provider.AnnotatedException, CertPathValidatorException - Throws:
org.bouncycastle.jce.provider.AnnotatedExceptionCertPathValidatorException
-
prepareNextCertB2
-
isAnyPolicy
-
findCertificates
protected static Collection findCertificates(org.bouncycastle.x509.X509CertStoreSelector arg0, List arg1) throws org.bouncycastle.jce.provider.AnnotatedException - Throws:
org.bouncycastle.jce.provider.AnnotatedException
-
findCertificates
protected static Collection findCertificates(org.bouncycastle.jcajce.PKIXCertStoreSelector arg0, List arg1) throws org.bouncycastle.jce.provider.AnnotatedException - Throws:
org.bouncycastle.jce.provider.AnnotatedException
-
findCertificates
protected static Collection findCertificates(org.bouncycastle.x509.X509AttributeCertStoreSelector arg0, List arg1) throws org.bouncycastle.jce.provider.AnnotatedException - Throws:
org.bouncycastle.jce.provider.AnnotatedException
-
getCertStatus
protected static void getCertStatus(Date arg0, X509CRL arg1, Object arg2, org.bouncycastle.x509.CertStatus arg3) throws org.bouncycastle.jce.provider.AnnotatedException - Throws:
org.bouncycastle.jce.provider.AnnotatedException
-
getNextWorkingKey
- Throws:
CertPathValidatorException
-
verifyX509Certificate
protected static void verifyX509Certificate(X509Certificate arg0, PublicKey arg1, String arg2) throws GeneralSecurityException - Throws:
GeneralSecurityException
-