Writes implicitly tagged data using buffer-to-buffer copy. As above,
this writes a standard DER record. This is often used when
efficiently encapsulating implicitly tagged values.
@param tag the DER value of the context-specific tag that replaces
original tag of the value in the output, such as in
<pre>
<em> <field> N IMPLICIT <type></em>
</pre>
For example, <em>FooLength [1] IMPLICIT INTEGER</em>, with value=4;
would be encoded as "81 01 04" whereas in explicit
tagging it would be encoded as "A1 03 02 01 04".
Notice that the tag is A1 and not 81, this is because with
explicit tagging the form is always constructed.
@param value original value being implicitly tagged
Writes implicitly tagged data using buffer-to-buffer copy. As above, this writes a standard DER record. This is often used when efficiently encapsulating implicitly tagged values.
@param tag the DER value of the context-specific tag that replaces original tag of the value in the output, such as in <pre> <em> <field> N IMPLICIT <type></em> </pre> For example, <em>FooLength [1] IMPLICIT INTEGER</em>, with value=4; would be encoded as "81 01 04" whereas in explicit tagging it would be encoded as "A1 03 02 01 04". Notice that the tag is A1 and not 81, this is because with explicit tagging the form is always constructed. @param value original value being implicitly tagged