Integrated: 8249783: Simplify DerValue and DerInputStream

Weijun Wang weijun at openjdk.java.net
Thu Oct 1 18:58:10 UTC 2020


On Thu, 17 Sep 2020 23:00:54 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> This code change rewrites DerValue into a mostly immutable class and simplifies DerInputStream as a wrapper for a
> series of DerValues objects. DerInputBuffer is removed.
> All existing methods of DerValue and DerInputStream should still work with the exact same behavior, except for a few
> places where bugs are fixed. For example, Indefinite length must be used with a constructed tag.
> Except for the ObjectIdentifier class where DerInputBuffer is directly referenced, no other code is touched.

This pull request has now been integrated.

Changeset: 3c4e824a
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3c4e824a
Stats:     2083 lines in 8 files changed: 616 ins; 1250 del; 217 mod

8249783: Simplify DerValue and DerInputStream

Reviewed-by: valeriep

-------------

PR: https://git.openjdk.java.net/jdk/pull/232



More information about the security-dev mailing list