Java Doc for AttributeCertificateHolder.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.AttributeCertificateHolder

AttributeCertificateHolder
public class AttributeCertificateHolder implements CertSelector,Selector(Code)
The Holder object.
 Holder ::= SEQUENCE {
 baseCertificateID   [0] IssuerSerial OPTIONAL,
 -- the issuer and serial number of
 -- the holder's Public Key Certificate
 entityName          [1] GeneralNames OPTIONAL,
 -- the name of the claimant or role
 objectDigestInfo    [2] ObjectDigestInfo OPTIONAL
 -- used to directly authenticate the holder,
 -- for example, an executable
 }
 


Field Summary
final  Holderholder
    

Constructor Summary
 AttributeCertificateHolder(ASN1Sequence seq)
    
public  AttributeCertificateHolder(X509Principal issuerName, BigInteger serialNumber)
    
public  AttributeCertificateHolder(X500Principal issuerName, BigInteger serialNumber)
    
public  AttributeCertificateHolder(X509Certificate cert)
    
public  AttributeCertificateHolder(X509Principal principal)
    
public  AttributeCertificateHolder(X500Principal principal)
    
public  AttributeCertificateHolder(int digestedObjectType, String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest)
     Constructs a holder for v2 attribute certificates with a hash value for some type of object.

digestedObjectType can be one of the following:

  • 0 - publicKey - A hash of the public key of the holder must be passed.
  • 1 - publicKeyCert - A hash of the public key certificate of the holder must be passed.
  • 2 - otherObjectDigest - A hash of some other object type must be passed.

Method Summary
public  Objectclone()
    
public  booleanequals(Object obj)
    
public  StringgetDigestAlgorithm()
     Returns the other object type ID if an object digest info is used.
public  intgetDigestedObjectType()
     Returns the digest object type if an object digest info is used.

  • 0 - publicKey - A hash of the public key of the holder must be passed.
  • 1 - publicKeyCert - A hash of the public key certificate of the holder must be passed.
  • 2 - otherObjectDigest - A hash of some other object type must be passed.
public  Principal[]getEntityNames()
     Return any principal objects inside the attribute certificate holder entity names field.
public  Principal[]getIssuer()
    
public  byte[]getObjectDigest()
     Returns the hash if an object digest info is used.
public  StringgetOtherObjectTypeID()
     Returns the digest algorithm ID if an object digest info is used.
public  BigIntegergetSerialNumber()
     Return the serial number associated with the issuer attached to this holder.
public  inthashCode()
    
public  booleanmatch(Certificate cert)
    
public  booleanmatch(Object obj)
    

Field Detail
holder
final Holder holder(Code)




Constructor Detail
AttributeCertificateHolder
AttributeCertificateHolder(ASN1Sequence seq)(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(X509Principal issuerName, BigInteger serialNumber)(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(X500Principal issuerName, BigInteger serialNumber)(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(X509Certificate cert) throws CertificateParsingException(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(X509Principal principal)(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(X500Principal principal)(Code)



AttributeCertificateHolder
public AttributeCertificateHolder(int digestedObjectType, String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest)(Code)
Constructs a holder for v2 attribute certificates with a hash value for some type of object.

digestedObjectType can be one of the following:

  • 0 - publicKey - A hash of the public key of the holder must be passed.
  • 1 - publicKeyCert - A hash of the public key certificate of the holder must be passed.
  • 2 - otherObjectDigest - A hash of some other object type must be passed. otherObjectTypeID must not be empty.

This cannot be used if a v1 attribute certificate is used.
Parameters:
  digestedObjectType - The digest object type.
Parameters:
  digestAlgorithm - The algorithm identifier for the hash.
Parameters:
  otherObjectTypeID - The object type ID ifdigestedObjectType isotherObjectDigest.
Parameters:
  objectDigest - The hash value.





Method Detail
clone
public Object clone()(Code)



equals
public boolean equals(Object obj)(Code)



getDigestAlgorithm
public String getDigestAlgorithm()(Code)
Returns the other object type ID if an object digest info is used. The other object type ID or null if no objectdigest info is set.



getDigestedObjectType
public int getDigestedObjectType()(Code)
Returns the digest object type if an object digest info is used.

  • 0 - publicKey - A hash of the public key of the holder must be passed.
  • 1 - publicKeyCert - A hash of the public key certificate of the holder must be passed.
  • 2 - otherObjectDigest - A hash of some other object type must be passed. otherObjectTypeID must not be empty.
The digest object type or -1 if no object digest info is set.



getEntityNames
public Principal[] getEntityNames()(Code)
Return any principal objects inside the attribute certificate holder entity names field. an array of Principal objects (usually X500Principal), null if noentity names field is set.



getIssuer
public Principal[] getIssuer()(Code)
Return the principals associated with the issuer attached to this holder an array of principals, null if no BaseCertificateID is set.



getObjectDigest
public byte[] getObjectDigest()(Code)
Returns the hash if an object digest info is used. The hash or null if no object digest info is set.



getOtherObjectTypeID
public String getOtherObjectTypeID()(Code)
Returns the digest algorithm ID if an object digest info is used. The digest algorithm ID or null if no objectdigest info is set.



getSerialNumber
public BigInteger getSerialNumber()(Code)
Return the serial number associated with the issuer attached to this holder. the certificate serial number, null if no BaseCertificateID isset.



hashCode
public int hashCode()(Code)



match
public boolean match(Certificate cert)(Code)



match
public boolean match(Object obj)(Code)



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.