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


org.bouncycastle.asn1.x509.X509Name
   org.bouncycastle.jce.X509Principal

X509Principal
public class X509Principal extends X509Name implements Principal(Code)
a general extension of X509Name with a couple of extra methods and constructors.

Objects of this type can be created from certificates and CRLs using the PrincipalUtil class.


See Also:   org.bouncycastle.jce.PrincipalUtil



Constructor Summary
public  X509Principal(byte[] bytes)
     Constructor from an encoded byte array.
public  X509Principal(X509Name name)
     Constructor from an X509Name object.
public  X509Principal(Hashtable attributes)
     constructor from a table of attributes.
public  X509Principal(Vector ordering, Hashtable attributes)
     constructor from a table of attributes and a vector giving the specific ordering required for encoding or conversion to a string.
public  X509Principal(Vector oids, Vector values)
     constructor from a vector of attribute values and a vector of OIDs.
public  X509Principal(String dirName)
     takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes.
public  X509Principal(boolean reverse, String dirName)
     Takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes.
public  X509Principal(boolean reverse, Hashtable lookUp, String dirName)
     Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes.

Method Summary
public  byte[]getEncoded()
    
public  StringgetName()
    


Constructor Detail
X509Principal
public X509Principal(byte[] bytes) throws IOException(Code)
Constructor from an encoded byte array.



X509Principal
public X509Principal(X509Name name)(Code)
Constructor from an X509Name object.



X509Principal
public X509Principal(Hashtable attributes)(Code)
constructor from a table of attributes.

it's is assumed the table contains OID/String pairs.




X509Principal
public X509Principal(Vector ordering, Hashtable attributes)(Code)
constructor from a table of attributes and a vector giving the specific ordering required for encoding or conversion to a string.

it's is assumed the table contains OID/String pairs.




X509Principal
public X509Principal(Vector oids, Vector values)(Code)
constructor from a vector of attribute values and a vector of OIDs.



X509Principal
public X509Principal(String dirName)(Code)
takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes.



X509Principal
public X509Principal(boolean reverse, String dirName)(Code)
Takes an X509 dir name as a string of the format "C=AU,ST=Victoria", or some such, converting it into an ordered set of name attributes. If reverse is false the dir name will be encoded in the order of the (name, value) pairs presented, otherwise the encoding will start with the last (name, value) pair and work back.



X509Principal
public X509Principal(boolean reverse, Hashtable lookUp, String dirName)(Code)
Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. lookUp should provide a table of lookups, indexed by lowercase only strings and yielding a DERObjectIdentifier, other than that OID. and numeric oids will be processed automatically.

If reverse is true, create the encoded version of the sequence starting from the last element in the string.





Method Detail
getEncoded
public byte[] getEncoded()(Code)
return a DER encoded byte array representing this object



getName
public String getName()(Code)



Fields inherited from org.bouncycastle.asn1.x509.X509Name
final public static DERObjectIdentifier BUSINESS_CATEGORY(Code)(Java Doc)
final public static DERObjectIdentifier C(Code)(Java Doc)
final public static DERObjectIdentifier CN(Code)(Java Doc)
final public static DERObjectIdentifier COUNTRY_OF_CITIZENSHIP(Code)(Java Doc)
final public static DERObjectIdentifier COUNTRY_OF_RESIDENCE(Code)(Java Doc)
final public static DERObjectIdentifier DATE_OF_BIRTH(Code)(Java Doc)
final public static DERObjectIdentifier DC(Code)(Java Doc)
final public static DERObjectIdentifier DN_QUALIFIER(Code)(Java Doc)
public static Hashtable DefaultLookUp(Code)(Java Doc)
public static boolean DefaultReverse(Code)(Java Doc)
public static Hashtable DefaultSymbols(Code)(Java Doc)
final public static DERObjectIdentifier E(Code)(Java Doc)
final public static DERObjectIdentifier EmailAddress(Code)(Java Doc)
final public static DERObjectIdentifier GENDER(Code)(Java Doc)
final public static DERObjectIdentifier GENERATION(Code)(Java Doc)
final public static DERObjectIdentifier GIVENNAME(Code)(Java Doc)
final public static DERObjectIdentifier INITIALS(Code)(Java Doc)
final public static DERObjectIdentifier L(Code)(Java Doc)
final public static DERObjectIdentifier NAME_AT_BIRTH(Code)(Java Doc)
final public static DERObjectIdentifier O(Code)(Java Doc)
public static Hashtable OIDLookUp(Code)(Java Doc)
final public static DERObjectIdentifier OU(Code)(Java Doc)
final public static DERObjectIdentifier PLACE_OF_BIRTH(Code)(Java Doc)
final public static DERObjectIdentifier POSTAL_ADDRESS(Code)(Java Doc)
final public static DERObjectIdentifier POSTAL_CODE(Code)(Java Doc)
final public static DERObjectIdentifier PSEUDONYM(Code)(Java Doc)
public static Hashtable RFC1779Symbols(Code)(Java Doc)
public static Hashtable RFC2253Symbols(Code)(Java Doc)
final public static DERObjectIdentifier SERIALNUMBER(Code)(Java Doc)
final public static DERObjectIdentifier SN(Code)(Java Doc)
final public static DERObjectIdentifier ST(Code)(Java Doc)
final public static DERObjectIdentifier STREET(Code)(Java Doc)
final public static DERObjectIdentifier SURNAME(Code)(Java Doc)
public static Hashtable SymbolLookUp(Code)(Java Doc)
final public static DERObjectIdentifier T(Code)(Java Doc)
final public static DERObjectIdentifier UID(Code)(Java Doc)
final public static DERObjectIdentifier UNIQUE_IDENTIFIER(Code)(Java Doc)
final public static DERObjectIdentifier UnstructuredAddress(Code)(Java Doc)
final public static DERObjectIdentifier UnstructuredName(Code)(Java Doc)

Methods inherited from org.bouncycastle.asn1.x509.X509Name
public boolean equals(Object obj, boolean inOrder)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public static X509Name getInstance(ASN1TaggedObject obj, boolean explicit)(Code)(Java Doc)
public static X509Name getInstance(Object obj)(Code)(Java Doc)
public Vector getOIDs()(Code)(Java Doc)
public Vector getValues()(Code)(Java Doc)
public Vector getValues(DERObjectIdentifier oid)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public DERObject toASN1Object()(Code)(Java Doc)
public String toString(boolean reverse, Hashtable oidSymbols)(Code)(Java Doc)
public String toString()(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.