DerOutputStream.write

Writes tagged, pre-marshaled data. This calcuates and encodes the length, so that the output data is the standard triple of { tag, length, data } used by all DER values.

@param tag the DER value tag for the data, such as <em>DerValue.tag_Sequence</em> @param buf buffered data, which must be DER-encoded

  1. alias write = ByteArrayOutputStream.write
  2. void write(byte tag, byte[] buf)
    class DerOutputStream
    void
    write
    (
    byte tag
    ,
    byte[] buf
    )
  3. void write(byte tag, DerOutputStream ot)

Meta