> 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.
Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: Enhance DerValue::getOctetString to be able to read multi-level constructed value. ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/232/files - new: https://git.openjdk.java.net/jdk/pull/232/files/6f63d1ae..e8f804c6 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=232&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=232&range=00-01 Stats: 59 lines in 2 files changed: 58 ins; 0 del; 1 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