Lines Matching +defs:val +defs:buf
75 * @param buf buffered data, which must be DER-encoded
77 public void write(byte tag, byte[] buf) throws IOException {
79 putLength(buf.length);
80 write(buf, 0, buf.length);
95 write(out.buf, 0, out.count);
118 write(value.buf, 1, value.count-1);
124 public void putDerValue(DerValue val) throws IOException {
125 val.encode(this);
139 public void putBoolean(boolean val) throws IOException {
142 if (val) {
165 byte[] buf = i.toByteArray(); // least number of bytes
166 putLength(buf.length);
167 write(buf, 0, buf.length);
557 * @params val the tag value
559 public void putTag(byte tagClass, boolean form, byte val) {
560 byte tag = (byte)(tagClass | val);