| Modifier and Type | Field and Description |
|---|---|
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | DERT61String(byte[]
the byte encoding of the string to be wrapped. string)Basic constructor - string encoded as a sequence of bytes. |
| public |
| 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 DERT61String | Returns: a DERT61String instance, or nulla DERT61String or an object that can be converted into one. obj)Return a T61 string from the passed in object. |
| public static DERT61String | Returns: a DERT61String instance, or nullthe tagged object holding the object we want obj, boolean true if the object is meant to be explicitly
tagged false otherwise. explicit)Return an T61 String from a tagged object. |
| public byte[] | Returns: the actual bytes making up the encoded body of the T61 string.Return the encoded string as a byte array. |
| public String | Returns: the decoded StringImplements org. |
| public int | hashCode()
Implements abstract org. |
| pack-priv boolean | isConstructed()
Implements abstract org. |
| public String |
| string | back to summary |
|---|---|
| private byte[] string | |
| DERT61String | back to summary |
|---|---|
| public DERT61String(byte[] string) Basic constructor - string encoded as a sequence of bytes.
| |
| DERT61String | back to summary |
|---|---|
| public DERT61String(String string) Basic constructor - with string 8 bit assumed.
| |
| 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 DERT61String getInstance(Object obj) Return a T61 string from the passed in object.
| |
| getInstance | back to summary |
|---|---|
| public static DERT61String getInstance(ASN1TaggedObject obj, boolean explicit) Return an T61 String from a tagged object.
| |
| getOctets | back to summary |
|---|---|
| public byte[] getOctets() Return the encoded string as a byte array.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements org. Decode the encoded string and return it, 8 bit encoding assumed.
| |
| 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.
| |