Java Doc for RFC3281CertPathUtilities.java in  » Security » Bouncy-Castle » org » bouncycastle » jce » provider » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Security » Bouncy Castle » org.bouncycastle.jce.provider 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.bouncycastle.jce.provider.CertPathValidatorUtilities
      org.bouncycastle.jce.provider.RFC3281CertPathUtilities

RFC3281CertPathUtilities
class RFC3281CertPathUtilities extends CertPathValidatorUtilities (Code)




Method Summary
protected static  voidadditionalChecks(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams)
    
protected static  voidcheckCRLs(X509AttributeCertificate attrCert, ExtendedPKIXParameters paramsPKIX, X509Certificate issuerCert, Date validDate)
     Checks if an attribute certificate is revoked.
protected static  CertPathprocessAttrCert1(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams)
     Searches for a holder public key certificate and verifies its certification path.
Parameters:
  attrCert - the attribute certificate.
Parameters:
  pkixParams - The PKIX parameters.
protected static  CertPathValidatorResultprocessAttrCert2(CertPath certPath, ExtendedPKIXParameters pkixParams)
    
protected static  voidprocessAttrCert3(X509Certificate acIssuerCert, ExtendedPKIXParameters pkixParams)
    
protected static  voidprocessAttrCert4(X509Certificate acIssuerCert, ExtendedPKIXParameters pkixParams)
    
protected static  voidprocessAttrCert5(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams)
    
protected static  voidprocessAttrCert7(X509AttributeCertificate attrCert, CertPath certPath, CertPath holderCertPath, ExtendedPKIXParameters pkixParams)
    
protected static  SetprocessCRLA1i(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl)
    
protected static  Set[]processCRLA1ii(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl)
    
protected static  voidprocessCRLB1(DistributionPoint dp, Object cert, X509CRL crl)
    
protected static  voidprocessCRLB2(DistributionPoint dp, Object cert, X509CRL crl)
    
protected static  voidprocessCRLC(X509CRL deltaCRL, X509CRL completeCRL, ExtendedPKIXParameters pkixParams)
     If use-deltas is set, verify the issuer and scope of the delta CRL.
protected static  ReasonsMaskprocessCRLD(X509CRL crl, DistributionPoint dp)
    
protected static  SetprocessCRLF(X509CRL crl, Object cert, X509Certificate defaultCRLSignCert, PublicKey defaultCRLSignKey, ExtendedPKIXParameters paramsPKIX)
     Obtain and validate the certification path for the complete CRL issuer. If a key usage extension is present in the CRL issuer's certificate, verify that the cRLSign bit is set.
Parameters:
  crl - CRL which contains revocation information for the certificatecert.
Parameters:
  cert - The attribute certificate or certificate to check if it isrevoked.
Parameters:
  defaultCRLSignCert - The issuer certificate of the certificatecert.
protected static  PublicKeyprocessCRLG(X509CRL crl, Set keys)
    
protected static  X509CRLprocessCRLH(Set deltacrls, PublicKey key)
    
protected static  voidprocessCRLI(Date validDate, X509CRL deltacrl, BigInteger serialNumber, CertStatus certStatus, ExtendedPKIXParameters pkixParams)
    
protected static  voidprocessCRLJ(Date validDate, X509CRL completecrl, BigInteger serialNumber, CertStatus certStatus)
    



Method Detail
additionalChecks
protected static void additionalChecks(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



checkCRLs
protected static void checkCRLs(X509AttributeCertificate attrCert, ExtendedPKIXParameters paramsPKIX, X509Certificate issuerCert, Date validDate) throws CertPathValidatorException(Code)
Checks if an attribute certificate is revoked.
Parameters:
  attrCert - Attribute certificate to check if it is revoked.
Parameters:
  paramsPKIX - PKIX parameters.
Parameters:
  issuerCert - The issuer certificate of the attribute certificateattrCert.
Parameters:
  validDate - The date when the certificate revocation status shouldbe checked.
throws:
  CertPathValidatorException - if the certificate is revoked or thestatus cannot be checked or some error occurs.



processAttrCert1
protected static CertPath processAttrCert1(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)
Searches for a holder public key certificate and verifies its certification path.
Parameters:
  attrCert - the attribute certificate.
Parameters:
  pkixParams - The PKIX parameters. The certificate path of the holder certificate.
throws:
  AnnotatedException - if
  • no public key certificate can be found although holderinformation is given by an entity name or a base certificateID
  • support classes cannot be created
  • no certification path for the public key certificate canbe built



processAttrCert2
protected static CertPathValidatorResult processAttrCert2(CertPath certPath, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



processAttrCert3
protected static void processAttrCert3(X509Certificate acIssuerCert, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



processAttrCert4
protected static void processAttrCert4(X509Certificate acIssuerCert, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



processAttrCert5
protected static void processAttrCert5(X509AttributeCertificate attrCert, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



processAttrCert7
protected static void processAttrCert7(X509AttributeCertificate attrCert, CertPath certPath, CertPath holderCertPath, ExtendedPKIXParameters pkixParams) throws CertPathValidatorException(Code)



processCRLA1i
protected static Set processCRLA1i(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl) throws AnnotatedException(Code)



processCRLA1ii
protected static Set[] processCRLA1ii(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509Certificate cert, X509CRL crl) throws AnnotatedException(Code)



processCRLB1
protected static void processCRLB1(DistributionPoint dp, Object cert, X509CRL crl) throws AnnotatedException(Code)



processCRLB2
protected static void processCRLB2(DistributionPoint dp, Object cert, X509CRL crl) throws AnnotatedException(Code)



processCRLC
protected static void processCRLC(X509CRL deltaCRL, X509CRL completeCRL, ExtendedPKIXParameters pkixParams) throws AnnotatedException(Code)
If use-deltas is set, verify the issuer and scope of the delta CRL.
Parameters:
  deltaCRL - The delta CRL.
Parameters:
  completeCRL - The complete CRL.
Parameters:
  pkixParams - The PKIX paramaters.
throws:
  AnnotatedException - if an exception occurs.



processCRLD
protected static ReasonsMask processCRLD(X509CRL crl, DistributionPoint dp) throws AnnotatedException(Code)



processCRLF
protected static Set processCRLF(X509CRL crl, Object cert, X509Certificate defaultCRLSignCert, PublicKey defaultCRLSignKey, ExtendedPKIXParameters paramsPKIX) throws AnnotatedException(Code)
Obtain and validate the certification path for the complete CRL issuer. If a key usage extension is present in the CRL issuer's certificate, verify that the cRLSign bit is set.
Parameters:
  crl - CRL which contains revocation information for the certificatecert.
Parameters:
  cert - The attribute certificate or certificate to check if it isrevoked.
Parameters:
  defaultCRLSignCert - The issuer certificate of the certificatecert. May be null.
Parameters:
  defaultCRLSignKey - The public key of the issuer certificatedefaultCRLSignCert. May be null.
Parameters:
  paramsPKIX - paramsPKIX PKIX parameters. A Set with all keys of possible CRL issuercertificates.
throws:
  AnnotatedException - if the CRL is no valid or the status cannot bechecked or some error occurs.



processCRLG
protected static PublicKey processCRLG(X509CRL crl, Set keys) throws AnnotatedException(Code)



processCRLH
protected static X509CRL processCRLH(Set deltacrls, PublicKey key) throws AnnotatedException(Code)



processCRLI
protected static void processCRLI(Date validDate, X509CRL deltacrl, BigInteger serialNumber, CertStatus certStatus, ExtendedPKIXParameters pkixParams) throws AnnotatedException(Code)



processCRLJ
protected static void processCRLJ(Date validDate, X509CRL completecrl, BigInteger serialNumber, CertStatus certStatus) throws AnnotatedException(Code)



Fields inherited from org.bouncycastle.jce.provider.CertPathValidatorUtilities
final protected static String ANY_POLICY(Code)(Java Doc)
final protected static String AUTHORITY_KEY_IDENTIFIER(Code)(Java Doc)
final protected static String BASIC_CONSTRAINTS(Code)(Java Doc)
final protected static String CERTIFICATE_POLICIES(Code)(Java Doc)
final protected static String CRL_DISTRIBUTION_POINTS(Code)(Java Doc)
final protected static String CRL_NUMBER(Code)(Java Doc)
final protected static int CRL_SIGN(Code)(Java Doc)
final protected static String DELTA_CRL_INDICATOR(Code)(Java Doc)
final protected static String FRESHEST_CRL(Code)(Java Doc)
final protected static String INHIBIT_ANY_POLICY(Code)(Java Doc)
final protected static String ISSUING_DISTRIBUTION_POINT(Code)(Java Doc)
final protected static int KEY_CERT_SIGN(Code)(Java Doc)
final protected static String KEY_USAGE(Code)(Java Doc)
final protected static String NAME_CONSTRAINTS(Code)(Java Doc)
final protected static String POLICY_CONSTRAINTS(Code)(Java Doc)
final protected static String POLICY_MAPPINGS(Code)(Java Doc)
final protected static String SUBJECT_ALTERNATIVE_NAME(Code)(Java Doc)
final protected static String[] crlReasons(Code)(Java Doc)

Methods inherited from org.bouncycastle.jce.provider.CertPathValidatorUtilities
protected static void addAdditionalStoreFromLocation(String location, ExtendedPKIXParameters pkixParams)(Code)(Java Doc)
protected static void addAdditionalStoresFromCRLDistributionPoint(CRLDistPoint crldp, ExtendedPKIXParameters pkixParams) throws AnnotatedException(Code)(Java Doc)
final protected static Collection findCRLs(X509CRLSelector crlSelect, List crlStores) throws AnnotatedException(Code)(Java Doc)
final protected static Collection findCRLs(X509CRLStoreSelector crlSelect, List crlStores) throws AnnotatedException(Code)(Java Doc)
protected static Collection findCertificates(CertSelector certSelect, List certStores) throws AnnotatedException(Code)(Java Doc)
protected static Collection findCertificates(Selector certSelect, List certStores) throws AnnotatedException(Code)(Java Doc)
final protected static TrustAnchor findTrustAnchor(X509Certificate cert, CertPath certPath, int index, Set trustAnchors) throws CertPathValidatorException(Code)(Java Doc)
protected static AlgorithmIdentifier getAlgorithmIdentifier(PublicKey key) throws CertPathValidatorException(Code)(Java Doc)
protected static void getCRLIssuersFromDistributionPoint(DistributionPoint dp, Collection issuerPrincipals, X509CRLStoreSelector selector, ExtendedPKIXParameters pkixParams) throws AnnotatedException(Code)(Java Doc)
protected static void getCertStatus(Date validDate, X509CRL crl, BigInteger serialNumber, CertStatus certStatus) throws AnnotatedException(Code)(Java Doc)
protected static Set getCompleteCRLs(DistributionPoint dp, Object cert, Date currentDate, ExtendedPKIXParameters paramsPKIX) throws AnnotatedException(Code)(Java Doc)
protected static Set getDeltaCRLs(Date currentDate, ExtendedPKIXParameters paramsPKIX, X509CRL completeCRL) throws AnnotatedException(Code)(Java Doc)
protected static X500Principal getEncodedIssuerPrincipal(Object cert)(Code)(Java Doc)
protected static DERObject getExtensionValue(java.security.cert.X509Extension ext, String oid) throws AnnotatedException(Code)(Java Doc)
protected static X500Principal getIssuerPrincipal(X509CRL crl)(Code)(Java Doc)
protected static PublicKey getNextWorkingKey(X509Certificate cert, List certs, int index) throws CertPathValidatorException(Code)(Java Doc)
final protected static Set getQualifierSet(ASN1Sequence qualifiers) throws CertPathValidatorException(Code)(Java Doc)
protected static X500Principal getSubjectPrincipal(X509Certificate cert)(Code)(Java Doc)
protected static Date getValidCertDateFromValidityModel(ExtendedPKIXParameters paramsPKIX, CertPath certPath, int index) throws AnnotatedException(Code)(Java Doc)
protected static Date getValidDate(PKIXParameters paramsPKIX)(Code)(Java Doc)
protected static boolean isAnyPolicy(Set policySet)(Code)(Java Doc)
protected static boolean isSelfIssued(X509Certificate cert)(Code)(Java Doc)
protected static void prepareNextCertB1(int i, List[] policyNodes, String id_p, Map m_idp, X509Certificate cert) throws AnnotatedException, CertPathValidatorException(Code)(Java Doc)
protected static PKIXPolicyNode prepareNextCertB2(int i, List[] policyNodes, String id_p, PKIXPolicyNode validPolicyTree)(Code)(Java Doc)
protected static boolean processCertD1i(int index, List[] policyNodes, DERObjectIdentifier pOid, Set pq)(Code)(Java Doc)
protected static void processCertD1ii(int index, List[] policyNodes, DERObjectIdentifier _poid, Set _pq)(Code)(Java Doc)
protected static PKIXPolicyNode removePolicyNode(PKIXPolicyNode validPolicyTree, List[] policyNodes, PKIXPolicyNode _node)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.