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