Generates a {@code CertPath} object and initializes it with
the data read from the {@code InputStream} inStream. The data
is assumed to be in the specified encoding. See
the CertPath Encodings section in the <a href=
"{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathEncodings">
Java Cryptography Architecture Standard Algorithm Name Documentation</a>
for information about standard encoding names and their formats.
@param inStream an {@code InputStream} containing the data
@param encoding the encoding used for the data
@return a {@code CertPath} initialized with the data from the
{@code InputStream}
@exception CertificateException if an exception occurs while decoding or
the encoding requested is not supported
@since 1.4
Generates a {@code CertPath} object and initializes it with the data read from the {@code InputStream} inStream. The data is assumed to be in the specified encoding. See the CertPath Encodings section in the <a href= "{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathEncodings"> Java Cryptography Architecture Standard Algorithm Name Documentation</a> for information about standard encoding names and their formats.
@param inStream an {@code InputStream} containing the data @param encoding the encoding used for the data @return a {@code CertPath} initialized with the data from the {@code InputStream} @exception CertificateException if an exception occurs while decoding or the encoding requested is not supported @since 1.4