Java Doc for X509CRLStoreSelector.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.X509CRLSelector
      org.bouncycastle.x509.X509CRLStoreSelector

X509CRLStoreSelector
public class X509CRLStoreSelector extends X509CRLSelector implements Selector(Code)
This class is a Selector implementation for X.509 certificate revocation lists.
See Also:   org.bouncycastle.util.Selector
See Also:   org.bouncycastle.x509.X509Store
See Also:   org.bouncycastle.jce.provider.X509StoreCRLCollection




Method Summary
public  Objectclone()
    
public  X509AttributeCertificategetAttrCertificateChecking()
     Returns the attribute certificate being checked.
public static  X509CRLStoreSelectorgetInstance(X509CRLSelector selector)
     Returns an instance of this from a X509CRLSelector.
Parameters:
  selector - A X509CRLSelector instance.
public  byte[]getIssuingDistributionPoint()
     Returns the issuing distribution point.
public  BigIntegergetMaxBaseCRLNumber()
     Get the maximum base CRL number.
public  booleanisCompleteCRLEnabled()
     If true only complete CRLs are returned.
public  booleanisDeltaCRLIndicatorEnabled()
     Returns if this selector must match CRLs with the delta CRL indicator extension set.
public  booleanisIssuingDistributionPointEnabled()
     Returns if the issuing distribution point criteria should be applied.
public  booleanmatch(Object obj)
    
public  booleanmatch(CRL crl)
    
public  voidsetAttrCertificateChecking(X509AttributeCertificate attrCert)
     Sets the attribute certificate being checked.
public  voidsetCompleteCRLEnabled(boolean completeCRLEnabled)
     If set to true only complete CRLs are returned.
public  voidsetDeltaCRLIndicatorEnabled(boolean deltaCRLIndicator)
     If this is set to true the CRL reported contains the delta CRL indicator CRL extension.
public  voidsetIssuingDistributionPoint(byte[] issuingDistributionPoint)
     Sets the issuing distribution point.

The issuing distribution point extension is a CRL extension which identifies the scope and the distribution point of a CRL.

public  voidsetIssuingDistributionPointEnabled(boolean issuingDistributionPointEnabled)
     Enables or disables the issuing distribution point check.
public  voidsetMaxBaseCRLNumber(BigInteger maxBaseCRLNumber)
     Sets the maximum base CRL number.



Method Detail
clone
public Object clone()(Code)



getAttrCertificateChecking
public X509AttributeCertificate getAttrCertificateChecking()(Code)
Returns the attribute certificate being checked. Returns the attribute certificate being checked.
See Also:   X509CRLStoreSelector.setAttrCertificateChecking(X509AttributeCertificate)



getInstance
public static X509CRLStoreSelector getInstance(X509CRLSelector selector)(Code)
Returns an instance of this from a X509CRLSelector.
Parameters:
  selector - A X509CRLSelector instance. An instance of an X509CRLStoreSelector.
exception:
  IllegalArgumentException - if selector is null or creationfails.



getIssuingDistributionPoint
public byte[] getIssuingDistributionPoint()(Code)
Returns the issuing distribution point. Defaults to null, which is a missing issuing distribution point extension.

The internal byte array is cloned before it is returned.

The criteria must be enable with X509CRLStoreSelector.setIssuingDistributionPointEnabled(boolean) . Returns the issuing distribution point.
See Also:   X509CRLStoreSelector.setIssuingDistributionPoint(byte[])




getMaxBaseCRLNumber
public BigInteger getMaxBaseCRLNumber()(Code)
Get the maximum base CRL number. Defaults to null. Returns the maximum base CRL number.
See Also:   X509CRLStoreSelector.setMaxBaseCRLNumber(BigInteger)



isCompleteCRLEnabled
public boolean isCompleteCRLEnabled()(Code)
If true only complete CRLs are returned. Defaults to false. true if only complete CRLs are returned.



isDeltaCRLIndicatorEnabled
public boolean isDeltaCRLIndicatorEnabled()(Code)
Returns if this selector must match CRLs with the delta CRL indicator extension set. Defaults to false. Returns true if only CRLs with the delta CRLindicator extension are selected.



isIssuingDistributionPointEnabled
public boolean isIssuingDistributionPointEnabled()(Code)
Returns if the issuing distribution point criteria should be applied. Defaults to false.

You may also set the issuing distribution point criteria if not a missing issuing distribution point should be assumed. Returns if the issuing distribution point check is enabled.




match
public boolean match(Object obj)(Code)



match
public boolean match(CRL crl)(Code)



setAttrCertificateChecking
public void setAttrCertificateChecking(X509AttributeCertificate attrCert)(Code)
Sets the attribute certificate being checked. This is not a criterion. Rather, it is optional information that may help a X509Store find CRLs that would be relevant when checking revocation for the specified attribute certificate. If null is specified, then no such optional information is provided.
Parameters:
  attrCert - the X509AttributeCertificate being checked (ornull)
See Also:   X509CRLStoreSelector.getAttrCertificateChecking()



setCompleteCRLEnabled
public void setCompleteCRLEnabled(boolean completeCRLEnabled)(Code)
If set to true only complete CRLs are returned.

X509CRLStoreSelector.setCompleteCRLEnabled(boolean) and X509CRLStoreSelector.setDeltaCRLIndicatorEnabled(boolean) excluded each other.
Parameters:
  completeCRLEnabled - true if only complete CRLsshould be returned.




setDeltaCRLIndicatorEnabled
public void setDeltaCRLIndicatorEnabled(boolean deltaCRLIndicator)(Code)
If this is set to true the CRL reported contains the delta CRL indicator CRL extension.

X509CRLStoreSelector.setCompleteCRLEnabled(boolean) and X509CRLStoreSelector.setDeltaCRLIndicatorEnabled(boolean) excluded each other.
Parameters:
  deltaCRLIndicator - true if the delta CRL indicatorextension must be in the CRL.




setIssuingDistributionPoint
public void setIssuingDistributionPoint(byte[] issuingDistributionPoint)(Code)
Sets the issuing distribution point.

The issuing distribution point extension is a CRL extension which identifies the scope and the distribution point of a CRL. The scope contains among others information about revocation reasons contained in the CRL. Delta CRLs and complete CRLs must have matching issuing distribution points.

The byte array is cloned to protect against subsequent modifications.

You must also enable or disable this criteria with X509CRLStoreSelector.setIssuingDistributionPointEnabled(boolean) .
Parameters:
  issuingDistributionPoint - The issuing distribution point to set.This is the DER encoded OCTET STRING extension value.
See Also:   X509CRLStoreSelector.getIssuingDistributionPoint()




setIssuingDistributionPointEnabled
public void setIssuingDistributionPointEnabled(boolean issuingDistributionPointEnabled)(Code)
Enables or disables the issuing distribution point check.
Parameters:
  issuingDistributionPointEnabled - true to enable theissuing distribution point check.



setMaxBaseCRLNumber
public void setMaxBaseCRLNumber(BigInteger maxBaseCRLNumber)(Code)
Sets the maximum base CRL number. Setting to null disables this cheack.

This is only meaningful for delta CRLs. Complete CRLs must have a CRL number which is greater or equal than the base number of the corresponding CRL.
Parameters:
  maxBaseCRLNumber - The maximum base CRL number to set.




Methods inherited from java.security.cert.X509CRLSelector
public void addIssuer(X500Principal issuer)(Code)(Java Doc)
public void addIssuerName(String name) throws IOException(Code)(Java Doc)
public void addIssuerName(byte[] name) throws IOException(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public X509Certificate getCertificateChecking()(Code)(Java Doc)
public Date getDateAndTime()(Code)(Java Doc)
public Collection<Object> getIssuerNames()(Code)(Java Doc)
public Collection<X500Principal> getIssuers()(Code)(Java Doc)
public BigInteger getMaxCRL()(Code)(Java Doc)
public BigInteger getMinCRL()(Code)(Java Doc)
public boolean match(CRL crl)(Code)(Java Doc)
public void setCertificateChecking(X509Certificate cert)(Code)(Java Doc)
public void setDateAndTime(Date dateAndTime)(Code)(Java Doc)
public void setIssuerNames(Collection names) throws IOException(Code)(Java Doc)
public void setIssuers(Collection<X500Principal> issuers)(Code)(Java Doc)
public void setMaxCRLNumber(BigInteger maxCRL)(Code)(Java Doc)
public void setMinCRLNumber(BigInteger minCRL)(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.