Generates a {@code CertPath} object and initializes it with
a {@code List} of {@code Certificate}s.
<p>
The certificates supplied must be of a type supported by the
{@code CertificateFactory}. They will be copied out of the supplied
{@code List} object.
@param certificates a {@code List} of {@code Certificate}s
@return a {@code CertPath} initialized with the supplied list of
certificates
@exception CertificateException if an exception occurs
@since 1.4
Generates a {@code CertPath} object and initializes it with a {@code List} of {@code Certificate}s. <p> The certificates supplied must be of a type supported by the {@code CertificateFactory}. They will be copied out of the supplied {@code List} object.
@param certificates a {@code List} of {@code Certificate}s @return a {@code CertPath} initialized with the supplied list of certificates @exception CertificateException if an exception occurs @since 1.4