On Fri, 7 Oct 2022 15:47:49 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> Return `this` in various output methods so you can write something like > > new DerOutputStream().putInteger(1) > .putOctetString("12345".getBytes(StandardCharsets.UTF_8)) > .write(AlgorithmId.get("ed25519")) > .writeImplicit((byte)0x80, new > DerOutputStream().putUnalignedBitString(ba)).toByteArray(); > > No regression test. Trivial pure enhancement. Looks good to me ------------- Marked as reviewed by jnimeh (Reviewer). PR: https://git.openjdk.org/jdk/pull/10608