This is an 8-bit encoded ISO 646 (ASCII) character set with optional escapes to other character sets.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final byte[] | |
| pack-priv static final ASN1UniversalType |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final boolean | asn1Equals(ASN1Primitive other)
Implements abstract org. Equality (similarity) comparison for two ASN1Primitive objects. |
| pack-priv static ASN1GeneralString | |
| pack-priv final void | encode(ASN1OutputStream out, boolean withTag)
Implements abstract org.
|
| pack-priv final boolean | encodeConstructed()
Implements abstract org. Return true if this objected is a CONSTRUCTED one, false otherwise. |
| pack-priv final int | encodedLength(boolean withTag)
Implements abstract org.
|
| public static ASN1GeneralString | Returns: an ASN1GeneralString instance, or null.the object we want converted. obj)Return a GeneralString from the given object. |
| public static ASN1GeneralString | Returns: an ASN1GeneralString instance.the tagged object holding the object we want taggedObject, boolean true if the object is meant to be explicitly tagged false
otherwise. explicit)Return a GeneralString from a tagged object. |
| public final byte[] | Returns: a byte array representing our contents.Return a byte array representation of our contained String. |
| public final String | Returns: a Java String representing our contents.Implements org. Return a Java String representation of our contained String. |
| public final int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public String |
| contents | back to summary |
|---|---|
| pack-priv final byte[] contents | |
| TYPE | back to summary |
|---|---|
| pack-priv static final ASN1UniversalType TYPE | |
| ASN1GeneralString | back to summary |
|---|---|
| pack-priv ASN1GeneralString(String string) | |
| ASN1GeneralString | back to summary |
|---|---|
| pack-priv ASN1GeneralString(byte[] contents, boolean clone) | |
| asn1Equals | back to summary |
|---|---|
| pack-priv final boolean asn1Equals(ASN1Primitive other) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1GeneralString createPrimitive(byte[] contents) | |
| encode | back to summary |
|---|---|
| pack-priv final void encode(ASN1OutputStream out, boolean withTag) throws IOException Implements abstract org. | |
| encodeConstructed | back to summary |
|---|---|
| pack-priv final 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 final int encodedLength(boolean withTag) Implements abstract org. | |
| getInstance | back to summary |
|---|---|
| public static ASN1GeneralString getInstance(Object obj) Return a GeneralString from the given object.
| |
| getInstance | back to summary |
|---|---|
| public static ASN1GeneralString getInstance(ASN1TaggedObject taggedObject, boolean explicit) Return a GeneralString from a tagged object.
| |
| getOctets | back to summary |
|---|---|
| public final byte[] getOctets() Return a byte array representation of our contained String.
| |
| getString | back to summary |
|---|---|
| public final String getString() Implements org. Return a Java String representation of our contained String.
| |
| hashCode | back to summary |
|---|---|
| public final 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
| |
| 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-
| |