Java Doc for ObjectIdentifier.java in  » 6.0-JDK-Modules-sun » security » sun » security » util » 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 » 6.0 JDK Modules sun » security » sun.security.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.security.util.ObjectIdentifier

ObjectIdentifier
final public class ObjectIdentifier implements Serializable(Code)
Represent an ISO Object Identifier.

Object Identifiers are arbitrary length hierarchical identifiers. The individual components are numbers, and they define paths from the root of an ISO-managed identifier space. You will sometimes see a string name used instead of (or in addition to) the numerical id. These are synonyms for the numerical IDs, but are not widely used since most sites do not know all the requisite strings, while all sites can parse the numeric forms.

So for example, JavaSoft has the sole authority to assign the meaning to identifiers below the 1.3.6.1.4.1.42.2.17 node in the hierarchy, and other organizations can easily acquire the ability to assign such unique identifiers.
version:
   1.43
author:
   David Brownell
author:
   Amit Kapoor
author:
   Hemma Prafullchandra




Constructor Summary
public  ObjectIdentifier(String oid)
     Constructs an object identifier from a string.
public  ObjectIdentifier(int values)
     Constructs an object ID from an array of integers.
public  ObjectIdentifier(DerInputStream in)
     Constructs an object ID from an ASN.1 encoded input stream.
 ObjectIdentifier(DerInputBuffer buf)
    

Method Summary
 voidencode(DerOutputStream out)
    
public  booleanequals(ObjectIdentifier other)
    
public  booleanequals(Object obj)
     Compares this identifier with another, for equality.
public  inthashCode()
    
public static  ObjectIdentifiernewInternal(int[] values)
     Create a new ObjectIdentifier for internal use.
public  booleanprecedes(ObjectIdentifier other)
     Compares this identifier with another, for sorting purposes. An identifier does not precede itself.
Parameters:
  other - identifer that may precede this one.
public  StringtoString()
     Returns a string form of the object ID.


Constructor Detail
ObjectIdentifier
public ObjectIdentifier(String oid) throws IOException(Code)
Constructs an object identifier from a string. This string should be of the form 1.23.34.45.56 etc.



ObjectIdentifier
public ObjectIdentifier(int values) throws IOException(Code)
Constructs an object ID from an array of integers. This is used to construct constant object IDs.



ObjectIdentifier
public ObjectIdentifier(DerInputStream in) throws IOException(Code)
Constructs an object ID from an ASN.1 encoded input stream. The encoding of the ID in the stream uses "DER", a BER/1 subset. In this case, that means a triple { typeId, length, data }.

NOTE: When an exception is thrown, the input stream has not been returned to its "initial" state.
Parameters:
  in - DER-encoded data holding an object ID
exception:
  IOException - indicates a decoding error




ObjectIdentifier
ObjectIdentifier(DerInputBuffer buf) throws IOException(Code)




Method Detail
encode
void encode(DerOutputStream out) throws IOException(Code)



equals
public boolean equals(ObjectIdentifier other)(Code)



equals
public boolean equals(Object obj)(Code)
Compares this identifier with another, for equality. true iff the names are identical.



hashCode
public int hashCode()(Code)



newInternal
public static ObjectIdentifier newInternal(int[] values)(Code)
Create a new ObjectIdentifier for internal use. The values are neither checked nor cloned.



precedes
public boolean precedes(ObjectIdentifier other)(Code)
Compares this identifier with another, for sorting purposes. An identifier does not precede itself.
Parameters:
  other - identifer that may precede this one. true iff other precedes this onein a particular sorting order.



toString
public String toString()(Code)
Returns a string form of the object ID. The format is the conventional "dot" notation for such IDs, without any user-friendly descriptive strings, since those strings will not be understood everywhere.



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.