JEP draft: PEM Encodings of Cryptographic Objects
Anthony Scarpino
anthony.scarpino at oracle.com
Wed Feb 26 23:59:14 UTC 2025
Hi,
PEMDecoder.decode(InputStream) will read and return a Certificate object.
Subsequent calls to decode(InputStream) will continue to read from the stream
and return Certificate objects until the stream ends.
For encoding, PEMEncoder.encode(DEREncodable) will encode a Certificate
object. With a certificate chain in a Certificate[], it can be iterated over
and the output written to an OutputStream.
Tony
On 2/22/25 4:43 AM, Jonathan Rosenne wrote:
> How will certificate chains be supported?
>
> Best Regards,
>
> Jonathan Rosenne
>
More information about the security-dev
mailing list