| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private final String | |
| private static final long | |
| private static final ConcurrentMap | |
| pack-priv static final ASN1UniversalType |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | ASN1ObjectIdentifier(String
a string representation of an OID. identifier)Create an OID based on the passed in String. |
| pack-priv | ASN1ObjectIdentifier(ASN1ObjectIdentifier oid, String
node numbers for the new branch. branchID)Create an OID that creates a branch under the current one. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | asn1Equals(ASN1Primitive o)
Implements abstract org. |
| public ASN1ObjectIdentifier | |
| pack-priv static ASN1ObjectIdentifier | |
| private void | |
| pack-priv void | encode(ASN1OutputStream out, boolean withTag)
Implements abstract org. |
| pack-priv boolean | encodeConstructed()
Implements abstract org. |
| pack-priv int | encodedLength(boolean withTag)
Implements abstract org. |
| public static ASN1ObjectIdentifier | |
| private synchronized byte[] | |
| public String | Returns: the string representation of the OID carried by this object.Return the OID as a string. |
| public static ASN1ObjectIdentifier | Returns: an ASN1ObjectIdentifier instance, or null.an ASN1ObjectIdentifier or an object that can be converted into one. obj)Return an OID from the passed in object |
| public static ASN1ObjectIdentifier | Returns: an ASN1ObjectIdentifier instance, or null.the tagged object holding the object we want taggedObject, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return an OBJECT IDENTIFIER from a tagged object. |
| public int | hashCode()
Implements abstract org. |
| public ASN1ObjectIdentifier | Returns: a reference to the identifier in the pool.Intern will return a reference to a pooled version of this object, unless it is not present in which case intern will add it. |
| private static boolean | |
| public boolean | Returns: true if the branch is on the passed in stem, false otherwise.the arc or branch that is a possible parent. stem)Return true if this oid is an extension of the passed in branch - stem. |
| public String |
| contents | back to summary |
|---|---|
| private byte[] contents | |
| identifier | back to summary |
|---|---|
| private final String identifier | |
| LONG_LIMIT | back to summary |
|---|---|
| private static final long LONG_LIMIT | |
| pool | back to summary |
|---|---|
| private static final ConcurrentMap<ASN1ObjectIdentifier. | |
| TYPE | back to summary |
|---|---|
| pack-priv static final ASN1UniversalType TYPE | |
| ASN1ObjectIdentifier | back to summary |
|---|---|
| pack-priv ASN1ObjectIdentifier(byte[] contents, boolean clone) | |
| ASN1ObjectIdentifier | back to summary |
|---|---|
| public ASN1ObjectIdentifier(String identifier) Create an OID based on the passed in String.
| |
| ASN1ObjectIdentifier | back to summary |
|---|---|
| pack-priv ASN1ObjectIdentifier(ASN1ObjectIdentifier oid, String branchID) Create an OID that creates a branch under the current one.
| |
| asn1Equals | back to summary |
|---|---|
| pack-priv boolean asn1Equals(ASN1Primitive o) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| branch | back to summary |
|---|---|
| public ASN1ObjectIdentifier branch(String branchID) Return an OID that creates a branch under the current one.
| |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1ObjectIdentifier createPrimitive(byte[] contents, boolean clone) | |
| doOutput | back to summary |
|---|---|
| private void doOutput(ByteArrayOutputStream aOut) | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out, boolean withTag) throws IOException Implements abstract org. | |
| encodeConstructed | back to summary |
|---|---|
| pack-priv boolean encodeConstructed() Implements abstract org. Doc from org. Return true if this objected is a CONSTRUCTED one, false otherwise.
| |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength(boolean withTag) Implements abstract org. | |
| fromContents | back to summary |
|---|---|
| public static ASN1ObjectIdentifier fromContents(byte[] contents) | |
| getContents | back to summary |
|---|---|
| private synchronized byte[] getContents() | |
| getId | back to summary |
|---|---|
| public String getId() Return the OID as a string.
| |
| getInstance | back to summary |
|---|---|
| public static ASN1ObjectIdentifier getInstance(Object obj) Return an OID from the passed in object
| |
| getInstance | back to summary |
|---|---|
| public static ASN1ObjectIdentifier getInstance(ASN1TaggedObject taggedObject, boolean explicit) Return an OBJECT IDENTIFIER from a tagged object.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| intern | back to summary |
|---|---|
| public ASN1ObjectIdentifier intern() Intern will return a reference to a pooled version of this object, unless it is not present in which case intern will add it. The pool is also used by the ASN.1 parsers to limit the number of duplicated OID objects in circulation.
| |
| isValidIdentifier | back to summary |
|---|---|
| private static boolean isValidIdentifier(String identifier) | |
| on | back to summary |
|---|---|
| public boolean on(ASN1ObjectIdentifier stem) Return true if this oid is an extension of the passed in branch - stem.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int |
| contents | back to summary |
|---|---|
| private final byte[] contents | |
| key | back to summary |
|---|---|
| private final int key | |
| OidHandle | back to summary |
|---|---|
| pack-priv OidHandle(byte[] contents) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |