Re: RFR: 8246797: A convenient method to read OPTIONAL element [v3]

2021-09-07 Thread Valerie Peng
On Tue, 24 Aug 2021 22:15:52 GMT, Weijun Wang wrote: >> This code change adds new methods to `DerInputStream` to easily and safely >> read optional fields in a ASN.1 DER-encoded value. It also adds several >> wrapping methods to `DerValue` to avoid unnecessary memory copying when >> calling by

Re: RFR: 8246797: A convenient method to read OPTIONAL element [v3]

2021-08-24 Thread Weijun Wang
On Tue, 24 Aug 2021 22:15:52 GMT, Weijun Wang wrote: >> This code change adds new methods to `DerInputStream` to easily and safely >> read optional fields in a ASN.1 DER-encoded value. It also adds several >> wrapping methods to `DerValue` to avoid unnecessary memory copying when >> calling by

Re: RFR: 8246797: A convenient method to read OPTIONAL element [v3]

2021-08-24 Thread Weijun Wang
> This code change adds new methods to `DerInputStream` to easily and safely > read optional fields in a ASN.1 DER-encoded value. It also adds several > wrapping methods to `DerValue` to avoid unnecessary memory copying when > calling by an internal method. > > The new methods are applied to `O