> Added single-argument `putTime` method to `DerOutputStream` that selects the > correct encoding based on the `Date` value. Similarly, a `getTime` method was > added to `DerValue` to automatically call the correct decoding function based > on the date type specified by the `tag`. Furthermore, the `encode` method in > `PKCS9Attribute` was changed to utilize the new `putTime` method.
Ben Perez has updated the pull request incrementally with two additional commits since the last revision: - Fixed epoch literals to be in milliseconds - Updated copyright in DerInputStream ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14617/files - new: https://git.openjdk.org/jdk/pull/14617/files/bb95533d..fad36da0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14617&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14617&range=01-02 Stats: 5 lines in 3 files changed: 0 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/14617.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14617/head:pull/14617 PR: https://git.openjdk.org/jdk/pull/14617