Constructs, from a string. This string should be of the form 1.23.56. Validity check included.
Constructor, from an array of integers. Validity check included.
Constructor, from an ASN.1 encoded input stream. Validity check NOT included. The encoding of the ID in the stream uses "DER", a BER/1 subset. In this case, that means a triple { typeId, length, data }.
Compares this identifier with another, for equality.
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.
This method is kept for compatibility reasons. The new implementation does the check and conversion. All around the JDK, the method is called in static blocks to initialize pre-defined ObjectIdentifieies. No obvious performance hurt will be made after this change.
Represent an ISO Object Identifier.
<P>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.
<P>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.
@author David Brownell @author Amit Kapoor @author Hemma Prafullchandra