| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private String | |
| private static final long | |
| private static final int | MAX_CONTENTS_LENGTH
Implementation limit on the length of the contents octets for a Relative OID. |
| private static final int | |
| private static final ConcurrentMap | |
| pack-priv static final ASN1UniversalType |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | asn1Equals(ASN1Primitive other)
Implements abstract org. Equality (similarity) comparison for two ASN1Primitive objects. |
| public ASN1RelativeOID | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static ASN1RelativeOID | |
| pack-priv void | encode(ASN1OutputStream out, boolean withTag)
Implements abstract org.
|
| pack-priv boolean | encodeConstructed()
Implements abstract org. Return true if this objected is a CONSTRUCTED one, false otherwise. |
| pack-priv int | encodedLength(boolean withTag)
Implements abstract org.
|
| public static ASN1RelativeOID | |
| public synchronized String | |
| public static ASN1RelativeOID | |
| public static ASN1RelativeOID | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static String | |
| pack-priv static byte[] | |
| public String | |
| public static ASN1RelativeOID | |
| pack-priv static void | |
| pack-priv static void |
| contents | back to summary |
|---|---|
| private final byte[] contents | |
| identifier | back to summary |
|---|---|
| private String identifier | |
| LONG_LIMIT | back to summary |
|---|---|
| private static final long LONG_LIMIT | |
| MAX_CONTENTS_LENGTH | back to summary |
|---|---|
| private static final int MAX_CONTENTS_LENGTH Implementation limit on the length of the contents octets for a Relative OID. We adopt the same value used by OpenJDK for Object Identifier. In theory there is no limit on the length of the contents, or the number of subidentifiers, or the length of individual subidentifiers. In practice, supporting arbitrary lengths can lead to issues, e.g. denial-of-service attacks when attempting to convert a parsed value to its (decimal) string form. | |
| MAX_IDENTIFIER_LENGTH | back to summary |
|---|---|
| private static final int MAX_IDENTIFIER_LENGTH | |
| pool | back to summary |
|---|---|
| private static final ConcurrentMap<ASN1ObjectIdentifier. | |
| TYPE | back to summary |
|---|---|
| pack-priv static final ASN1UniversalType TYPE | |
| ASN1RelativeOID | back to summary |
|---|---|
| public ASN1RelativeOID(String identifier) | |
| ASN1RelativeOID | back to summary |
|---|---|
| private ASN1RelativeOID(byte[] contents, String identifier) | |
| asn1Equals | back to summary |
|---|---|
| pack-priv boolean asn1Equals(ASN1Primitive other) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| branch | back to summary |
|---|---|
| public ASN1RelativeOID branch(String branchID) | |
| checkContentsLength | back to summary |
|---|---|
| pack-priv static void checkContentsLength(int contentsLength) | |
| checkIdentifier | back to summary |
|---|---|
| pack-priv static void checkIdentifier(String identifier) | |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1RelativeOID createPrimitive(byte[] contents, boolean clone) | |
| 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 ASN1RelativeOID fromContents(byte[] contents) | |
| getId | back to summary |
|---|---|
| public synchronized String getId() | |
| getInstance | back to summary |
|---|---|
| public static ASN1RelativeOID getInstance(Object obj) | |
| getInstance | back to summary |
|---|---|
| public static ASN1RelativeOID getInstance(ASN1TaggedObject taggedObject, boolean explicit) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isValidContents | back to summary |
|---|---|
| pack-priv static boolean isValidContents(byte[] contents) | |
| isValidIdentifier | back to summary |
|---|---|
| pack-priv static boolean isValidIdentifier(String identifier, int from) | |
| parseContents | back to summary |
|---|---|
| pack-priv static String parseContents(byte[] contents) | |
| parseIdentifier | back to summary |
|---|---|
| pack-priv static byte[] parseIdentifier(String identifier) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| tryFromID | back to summary |
|---|---|
| public static ASN1RelativeOID tryFromID(String identifier) | |
| writeField | back to summary |
|---|---|
| pack-priv static void writeField(ByteArrayOutputStream out, long fieldValue) | |
| writeField | back to summary |
|---|---|
| pack-priv static void writeField(ByteArrayOutputStream out, BigInteger fieldValue) | |