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


Reply via email to