Home | History | Annotate | Download | only in asn1

Lines Matching defs:string

9  * DER T61String (also the teletex string), try not to use this if you don't need to. The standard support the encoding for
16 private byte[] string;
19 * return a T61 string from the passed in object.
49 * return an T61 String from a tagged object.
75 * basic constructor - string encoded as a sequence of bytes.
77 * @param string the byte encoding of the string to be wrapped.
80 byte[] string)
82 this.string = Arrays.clone(string);
86 * basic constructor - with string 8 bit assumed.
88 * @param string the string to be wrapped.
91 String string)
93 this.string = Strings.toByteArray(string);
97 * Decode the encoded string and return it, 8 bit encoding assumed.
98 * @return the decoded String
100 public String getString()
102 return Strings.fromByteArray(string);
105 public String toString()
117 return 1 + StreamUtil.calculateBodyLength(string.length) + string.length;
124 out.writeEncoded(BERTags.T61_STRING, string);
128 * Return the encoded string as a byte array.
129 * @return the actual bytes making up the encoded body of the T61 string.
133 return Arrays.clone(string);
144 return Arrays.areEqual(string, ((DERT61String)o).string);
149 return Arrays.hashCode(string);