CertificateFactorySpi.engineGenerateCertPath

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.

<p> This method was added to version 1.4 of the Java 2 Platform Standard Edition. In order to maintain backwards compatibility with existing service providers, this method cannot be {@code abstract} and by default throws an {@code UnsupportedOperationException}.

@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 @exception UnsupportedOperationException if the method is not supported @since 1.4

  1. CertPath engineGenerateCertPath(InputStream inStream)
  2. CertPath engineGenerateCertPath(InputStream inStream, string encoding)
  3. CertPath engineGenerateCertPath(List!(Certificate) certificates)
    class CertificateFactorySpi
    engineGenerateCertPath

Meta