Java Doc for ExtendedPKIXBuilderParameters.java in  » Security » Bouncy-Castle » org » bouncycastle » x509 » 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.x509 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.security.cert.PKIXParameters
      org.bouncycastle.x509.ExtendedPKIXParameters
         org.bouncycastle.x509.ExtendedPKIXBuilderParameters

ExtendedPKIXBuilderParameters
public class ExtendedPKIXBuilderParameters extends ExtendedPKIXParameters (Code)
This class contains extended parameters for PKIX certification path builders.
See Also:   java.security.cert.PKIXBuilderParameters
See Also:   org.bouncycastle.jce.provider.PKIXCertPathBuilderSpi



Constructor Summary
public  ExtendedPKIXBuilderParameters(Set trustAnchors, Selector targetConstraints)
     Creates an instance of PKIXBuilderParameters with the specified Set of most-trusted CAs.

Method Summary
public  Objectclone()
     Makes a copy of this PKIXParameters object.
public  SetgetExcludedCerts()
     Excluded certificates are not used for building a certification path.
public static  ExtendedPKIXParametersgetInstance(PKIXParameters pkixParams)
     Returns an instance of ExtendedPKIXParameters which can be safely casted to ExtendedPKIXBuilderParameters.

This method can be used to get a copy from other PKIXBuilderParameters, PKIXParameters, and ExtendedPKIXParameters instances.
Parameters:
  pkixParams - The PKIX parameters to create a copy of.

public  intgetMaxPathLength()
     Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path.
public  voidsetExcludedCerts(Set excludedCerts)
     Sets the excluded certificates which are not used for building a certification path.
public  voidsetMaxPathLength(int maxPathLength)
     Sets the maximum number of intermediate non-self-issued certificates in a certification path.
protected  voidsetParams(PKIXParameters params)
     Can alse handle ExtendedPKIXBuilderParameters and PKIXBuilderParameters.


Constructor Detail
ExtendedPKIXBuilderParameters
public ExtendedPKIXBuilderParameters(Set trustAnchors, Selector targetConstraints) throws InvalidAlgorithmParameterException(Code)
Creates an instance of PKIXBuilderParameters with the specified Set of most-trusted CAs. Each element of the set is a TrustAnchor TrustAnchor .

Note that the Set is copied to protect against subsequent modifications.
Parameters:
  trustAnchors - a Set of TrustAnchors
Parameters:
  targetConstraints - a Selector specifying theconstraints on the target certificate or attributecertificate.
throws:
  InvalidAlgorithmParameterException - if trustAnchorsis empty.
throws:
  NullPointerException - if trustAnchors isnull
throws:
  ClassCastException - if any of the elements oftrustAnchors is not of typejava.security.cert.TrustAnchor





Method Detail
clone
public Object clone()(Code)
Makes a copy of this PKIXParameters object. Changes to the copy will not affect the original and vice versa. a copy of this PKIXParameters object



getExcludedCerts
public Set getExcludedCerts()(Code)
Excluded certificates are not used for building a certification path.

The returned set is immutable. Returns the excluded certificates.




getInstance
public static ExtendedPKIXParameters getInstance(PKIXParameters pkixParams)(Code)
Returns an instance of ExtendedPKIXParameters which can be safely casted to ExtendedPKIXBuilderParameters.

This method can be used to get a copy from other PKIXBuilderParameters, PKIXParameters, and ExtendedPKIXParameters instances.
Parameters:
  pkixParams - The PKIX parameters to create a copy of. An ExtendedPKIXBuilderParameters instance.




getMaxPathLength
public int getMaxPathLength()(Code)
Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path. the maximum number of non-self-issued intermediate certificatesin the certification path, or -1 if no limit exists.
See Also:   ExtendedPKIXBuilderParameters.setMaxPathLength(int)



setExcludedCerts
public void setExcludedCerts(Set excludedCerts)(Code)
Sets the excluded certificates which are not used for building a certification path. If the Set is null an empty set is assumed.

The given set is cloned to protect it against subsequent modifications.
Parameters:
  excludedCerts - The excluded certificates to set.




setMaxPathLength
public void setMaxPathLength(int maxPathLength)(Code)
Sets the maximum number of intermediate non-self-issued certificates in a certification path. The PKIX CertPathBuilder must not build paths longer then this length.

A value of 0 implies that the path can only contain a single certificate. A value of -1 does not limit the length. The default length is 5.

The basic constraints extension of a CA certificate overrides this value if smaller.
Parameters:
  maxPathLength - the maximum number of non-self-issued intermediatecertificates in the certification path
throws:
  InvalidParameterException - if maxPathLength is setto a value less than -1
See Also:   org.bouncycastle.jce.provider.PKIXCertPathBuilderSpi
See Also:   ExtendedPKIXBuilderParameters.getMaxPathLength




setParams
protected void setParams(PKIXParameters params)(Code)
Can alse handle ExtendedPKIXBuilderParameters and PKIXBuilderParameters.
Parameters:
  params - Parameters to set.
See Also:   org.bouncycastle.x509.ExtendedPKIXParameters.setParams(java.security.cert.PKIXParameters)



Fields inherited from org.bouncycastle.x509.ExtendedPKIXParameters
final public static int CHAIN_VALIDITY_MODEL(Code)(Java Doc)
final public static int PKIX_VALIDITY_MODEL(Code)(Java Doc)

Methods inherited from org.bouncycastle.x509.ExtendedPKIXParameters
public void addAddionalStore(Store store)(Code)(Java Doc)
public void addCertStore(CertStore store)(Code)(Java Doc)
public void addStore(Store store)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public List getAddionalStores()(Code)(Java Doc)
public Set getAttrCertCheckers()(Code)(Java Doc)
public static ExtendedPKIXParameters getInstance(PKIXParameters pkixParams)(Code)(Java Doc)
public Set getNecessaryACAttributes()(Code)(Java Doc)
public Set getProhibitedACAttributes()(Code)(Java Doc)
public List getStores()(Code)(Java Doc)
public Selector getTargetConstraints()(Code)(Java Doc)
public Set getTrustedACIssuers()(Code)(Java Doc)
public int getValidityModel()(Code)(Java Doc)
public boolean isAdditionalLocationsEnabled()(Code)(Java Doc)
public boolean isUseDeltasEnabled()(Code)(Java Doc)
public void setAdditionalLocationsEnabled(boolean enabled)(Code)(Java Doc)
public void setAttrCertCheckers(Set attrCertCheckers)(Code)(Java Doc)
public void setCertStores(List stores)(Code)(Java Doc)
public void setNecessaryACAttributes(Set necessaryACAttributes)(Code)(Java Doc)
protected void setParams(PKIXParameters params)(Code)(Java Doc)
public void setProhibitedACAttributes(Set prohibitedACAttributes)(Code)(Java Doc)
public void setStores(List stores)(Code)(Java Doc)
public void setTargetCertConstraints(CertSelector selector)(Code)(Java Doc)
public void setTargetConstraints(Selector selector)(Code)(Java Doc)
public void setTrustedACIssuers(Set trustedACIssuers)(Code)(Java Doc)
public void setUseDeltasEnabled(boolean useDeltas)(Code)(Java Doc)
public void setValidityModel(int validityModel)(Code)(Java Doc)

Methods inherited from java.security.cert.PKIXParameters
public void addCertPathChecker(PKIXCertPathChecker checker)(Code)(Java Doc)
public void addCertStore(CertStore store)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public List<PKIXCertPathChecker> getCertPathCheckers()(Code)(Java Doc)
public List<CertStore> getCertStores()(Code)(Java Doc)
public Date getDate()(Code)(Java Doc)
public Set<String> getInitialPolicies()(Code)(Java Doc)
public boolean getPolicyQualifiersRejected()(Code)(Java Doc)
public String getSigProvider()(Code)(Java Doc)
public CertSelector getTargetCertConstraints()(Code)(Java Doc)
public Set<TrustAnchor> getTrustAnchors()(Code)(Java Doc)
public boolean isAnyPolicyInhibited()(Code)(Java Doc)
public boolean isExplicitPolicyRequired()(Code)(Java Doc)
public boolean isPolicyMappingInhibited()(Code)(Java Doc)
public boolean isRevocationEnabled()(Code)(Java Doc)
public void setAnyPolicyInhibited(boolean val)(Code)(Java Doc)
public void setCertPathCheckers(List<PKIXCertPathChecker> checkers)(Code)(Java Doc)
public void setCertStores(List<CertStore> stores)(Code)(Java Doc)
public void setDate(Date date)(Code)(Java Doc)
public void setExplicitPolicyRequired(boolean val)(Code)(Java Doc)
public void setInitialPolicies(Set<String> initialPolicies)(Code)(Java Doc)
public void setPolicyMappingInhibited(boolean val)(Code)(Java Doc)
public void setPolicyQualifiersRejected(boolean qualifiersRejected)(Code)(Java Doc)
public void setRevocationEnabled(boolean val)(Code)(Java Doc)
public void setSigProvider(String sigProvider)(Code)(Java Doc)
public void setTargetCertConstraints(CertSelector selector)(Code)(Java Doc)
public void setTrustAnchors(Set<TrustAnchor> trustAnchors) throws InvalidAlgorithmParameterException(Code)(Java Doc)
public String toString()(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.