Re: RFR: 8296072: CertAttrSet::encode should write into DerOutputStream [v2]

2022-10-28 Thread Weijun Wang
> The argument of the `CertAttrSet::encode` interface method is modified from > `OutputStream` to `DerOutputStream`. All its implementations are modified the > same way. > > `OutputStream` is still used by > `sun.security.x509.Extension::encode(OutputStream os)` because it's inherited > from `

RFR: 8296072: CertAttrSet::encode should write into DerOutputStream

2022-10-28 Thread Weijun Wang
The argument of the `CertAttrSet::encode` interface method is modified from `OutputStream` to `DerOutputStream`. All its implementations are modified the same way. `OutputStream` is still used by `sun.security.x509.Extension::encode(OutputStream os)` because it's inherited from `java.security.