- stream
- the OutputStream to encode this certificate to.
Type Reason Java.Security.KeyException if certificate information is incomplete or incorrect. Java.IO.IOException if an exception is thrown by accessing the provided stream.
Encodes this certificate to an output stream. The ICertificate.Decode(System.IO.Stream) method must be able to decode the format written by this method.