| Modifier and Type | Field and Description |
|---|---|
| private static final ASN1Enumerated[] | |
| private final byte[] | |
| private final int | |
| pack-priv static final ASN1UniversalType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ASN1Enumerated(byte[]
the value of this enumerated as an encoded BigInteger (signed). contents)Constructor from encoded BigInteger. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | asn1Equals(ASN1Primitive o)
Implements abstract org. |
| pack-priv static ASN1Enumerated | |
| 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 ASN1Enumerated | Returns: an ASN1Enumerated instance, or null.an ASN1Enumerated or an object that can be converted into one. obj)return an enumerated from the passed in object |
| public static ASN1Enumerated | Returns: an ASN1Enumerated 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 Enumerated from a tagged object. |
| public BigInteger | |
| public int | hashCode()
Implements abstract org. |
| public boolean | |
| public boolean | |
| public int |
| cache | back to summary |
|---|---|
| private static final ASN1Enumerated[] cache | |
| contents | back to summary |
|---|---|
| private final byte[] contents | |
| start | back to summary |
|---|---|
| private final int start | |
| TYPE | back to summary |
|---|---|
| pack-priv static final ASN1UniversalType TYPE | |
| ASN1Enumerated | back to summary |
|---|---|
| public ASN1Enumerated(int value) Constructor from int.
| |
| ASN1Enumerated | back to summary |
|---|---|
| public ASN1Enumerated(BigInteger value) Constructor from BigInteger
| |
| ASN1Enumerated | back to summary |
|---|---|
| public ASN1Enumerated(byte[] contents) Constructor from encoded BigInteger.
| |
| ASN1Enumerated | back to summary |
|---|---|
| pack-priv ASN1Enumerated(byte[] contents, boolean clone) | |
| asn1Equals | back to summary |
|---|---|
| pack-priv boolean asn1Equals(ASN1Primitive o) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1Enumerated 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. | |
| getInstance | back to summary |
|---|---|
| public static ASN1Enumerated getInstance(Object obj) return an enumerated from the passed in object
| |
| getInstance | back to summary |
|---|---|
| public static ASN1Enumerated getInstance(ASN1TaggedObject taggedObject, boolean explicit) return an Enumerated from a tagged object.
| |
| getValue | back to summary |
|---|---|
| public BigInteger getValue() | |
| 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
| |
| hasValue | back to summary |
|---|---|
| public boolean hasValue(int x) | |
| hasValue | back to summary |
|---|---|
| public boolean hasValue(BigInteger x) | |
| intValueExact | back to summary |
|---|---|
| public int intValueExact() | |