RFR: 8249783: Simplify DerValue and DerInputStream
Weijun Wang
weijun at openjdk.java.net
Thu Sep 17 23:07:58 UTC 2020
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.
-------------
Commit messages:
- 8249783: Simplify DerValue and DerInputStream
Changes: https://git.openjdk.java.net/jdk/pull/232/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=232&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8249783
Stats: 1907 lines in 6 files changed: 467 ins; 1247 del; 193 mod
Patch: https://git.openjdk.java.net/jdk/pull/232.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/232/head:pull/232
PR: https://git.openjdk.java.net/jdk/pull/232
More information about the security-dev
mailing list