Integrated: 8279254: PKCS9Attribute SigningTime always encoded in UTFTime

Ben Perez duke at openjdk.org
Fri Jun 23 15:34:11 UTC 2023


On Thu, 22 Jun 2023 18:45:14 GMT, Ben Perez <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 7628da20
Author:    Ben Perez <ben.perez at oracle.com>
Committer: Jamil Nimeh <jnimeh at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7628da200833d0d26215a91afdd1bf7fc110da1d
Stats:     94 lines in 5 files changed: 87 ins; 1 del; 6 mod

8279254: PKCS9Attribute SigningTime always encoded in UTFTime

Reviewed-by: jnimeh

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

PR: https://git.openjdk.org/jdk/pull/14617



More information about the security-dev mailing list