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

X509AttributeCertStoreSelector
public class X509AttributeCertStoreSelector implements Selector(Code)
This class is an Selector like implementation to select attribute certificates from a given set of criteria.
See Also:   org.bouncycastle.x509.X509AttributeCertificate
See Also:   org.bouncycastle.x509.X509Store



Constructor Summary
public  X509AttributeCertStoreSelector()
    

Method Summary
public  voidaddTargetGroup(GeneralName group)
     Adds a target group criterion for the attribute certificate to the target information extension criteria.
public  voidaddTargetGroup(byte[] name)
     Adds a target group criterion for the attribute certificate to the target information extension criteria.
public  voidaddTargetName(GeneralName name)
     Adds a target name criterion for the attribute certificate to the target information extension criteria.
public  voidaddTargetName(byte[] name)
     Adds a target name criterion for the attribute certificate to the target information extension criteria.
public  Objectclone()
     Returns a clone of this object.
public  X509AttributeCertificategetAttributeCert()
     Returns the attribute certificate which must be matched.
public  DategetAttributeCertificateValid()
     Get the criteria for the validity.
public  AttributeCertificateHoldergetHolder()
     Gets the holder.
public  AttributeCertificateIssuergetIssuer()
     Returns the issuer criterion.
public  BigIntegergetSerialNumber()
     Gets the serial number the attribute certificate must have.
public  CollectiongetTargetGroups()
     Gets the target groups.
public  CollectiongetTargetNames()
     Gets the target names.
public  booleanmatch(Object obj)
     Decides if the given attribute certificate should be selected.
Parameters:
  obj - The attribute certificate which should be checked.
public  voidsetAttributeCert(X509AttributeCertificate attributeCert)
     Set the attribute certificate to be matched.
public  voidsetAttributeCertificateValid(Date attributeCertificateValid)
     Set the time, when the certificate must be valid.
public  voidsetHolder(AttributeCertificateHolder holder)
     Sets the holder.
public  voidsetIssuer(AttributeCertificateIssuer issuer)
     Sets the issuer the attribute certificate must have.
public  voidsetSerialNumber(BigInteger serialNumber)
     Sets the serial number the attribute certificate must have.
public  voidsetTargetGroups(Collection names)
     Adds a collection with target groups criteria.
public  voidsetTargetNames(Collection names)
     Adds a collection with target names criteria.


Constructor Detail
X509AttributeCertStoreSelector
public X509AttributeCertStoreSelector()(Code)




Method Detail
addTargetGroup
public void addTargetGroup(GeneralName group)(Code)
Adds a target group criterion for the attribute certificate to the target information extension criteria. The X509AttributeCertificate must contain at least one of the specified target groups.

Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
Parameters:
  group - The group as GeneralName form (not null)




addTargetGroup
public void addTargetGroup(byte[] name) throws IOException(Code)
Adds a target group criterion for the attribute certificate to the target information extension criteria. The X509AttributeCertificate must contain at least one of the specified target groups.

Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
Parameters:
  name - a byte array containing the group in ASN.1 DER encoded form of a GeneralName
throws:
  IOException - if a parsing error occurs.




addTargetName
public void addTargetName(GeneralName name)(Code)
Adds a target name criterion for the attribute certificate to the target information extension criteria. The X509AttributeCertificate must contain at least one of the specified target names.

Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
Parameters:
  name - The name as a GeneralName (not null)




addTargetName
public void addTargetName(byte[] name) throws IOException(Code)
Adds a target name criterion for the attribute certificate to the target information extension criteria. The X509AttributeCertificate must contain at least one of the specified target names.

Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
Parameters:
  name - a byte array containing the name in ASN.1 DER encoded form of a GeneralName
throws:
  IOException - if a parsing error occurs.




clone
public Object clone()(Code)
Returns a clone of this object. the clone.



getAttributeCert
public X509AttributeCertificate getAttributeCert()(Code)
Returns the attribute certificate which must be matched. Returns the attribute certificate.



getAttributeCertificateValid
public Date getAttributeCertificateValid()(Code)
Get the criteria for the validity. Returns the attributeCertificateValid.



getHolder
public AttributeCertificateHolder getHolder()(Code)
Gets the holder. Returns the holder.



getIssuer
public AttributeCertificateIssuer getIssuer()(Code)
Returns the issuer criterion. Returns the issuer.



getSerialNumber
public BigInteger getSerialNumber()(Code)
Gets the serial number the attribute certificate must have. Returns the serialNumber.



getTargetGroups
public Collection getTargetGroups()(Code)
Gets the target groups. The collection consists of Lists made up of an Integer in the first entry and a DER encoded byte array or a String in the second entry.

The returned collection is immutable. The collection of target groups.
See Also:   X509AttributeCertStoreSelector.setTargetGroups(Collection)




getTargetNames
public Collection getTargetNames()(Code)
Gets the target names. The collection consists of Lists made up of an Integer in the first entry and a DER encoded byte array or a String in the second entry.

The returned collection is immutable. The collection of target names
See Also:   X509AttributeCertStoreSelector.setTargetNames(Collection)




match
public boolean match(Object obj)(Code)
Decides if the given attribute certificate should be selected.
Parameters:
  obj - The attribute certificate which should be checked. true if the attribute certificate can be selected,false otherwise.



setAttributeCert
public void setAttributeCert(X509AttributeCertificate attributeCert)(Code)
Set the attribute certificate to be matched. If null is given any will do.
Parameters:
  attributeCert - The attribute certificate to set.



setAttributeCertificateValid
public void setAttributeCertificateValid(Date attributeCertificateValid)(Code)
Set the time, when the certificate must be valid. If null is given any will do.
Parameters:
  attributeCertificateValid - The attribute certificate validationtime to set.



setHolder
public void setHolder(AttributeCertificateHolder holder)(Code)
Sets the holder. If null is given any will do.
Parameters:
  holder - The holder to set.



setIssuer
public void setIssuer(AttributeCertificateIssuer issuer)(Code)
Sets the issuer the attribute certificate must have. If null is given any will do.
Parameters:
  issuer - The issuer to set.



setSerialNumber
public void setSerialNumber(BigInteger serialNumber)(Code)
Sets the serial number the attribute certificate must have. If null is given any will do.
Parameters:
  serialNumber - The serialNumber to set.



setTargetGroups
public void setTargetGroups(Collection names) throws IOException(Code)
Adds a collection with target groups criteria. If null is given any will do.

The collection consists of GeneralName objects or byte[]Parameters:
  names - A collection of target groups.
throws:
  IOException - if a parsing error occurs.
See Also:   X509AttributeCertStoreSelector.addTargetGroup(byte[])
See Also:   X509AttributeCertStoreSelector.addTargetGroup(GeneralName)




setTargetNames
public void setTargetNames(Collection names) throws IOException(Code)
Adds a collection with target names criteria. If null is given any will do.

The collection consists of either GeneralName objects or byte[] arrays representing DER encoded GeneralName structures.
Parameters:
  names - A collection of target names.
throws:
  IOException - if a parsing error occurs.
See Also:   X509AttributeCertStoreSelector.addTargetName(byte[])
See Also:   X509AttributeCertStoreSelector.addTargetName(GeneralName)




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.