CertificateFactorySpi.engineGenerateCertPath

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 default encoding.

<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 inStream an {@code InputStream} containing the data @return a {@code CertPath} initialized with the data from the {@code InputStream} @exception CertificateException if an exception occurs while decoding @exception UnsupportedOperationException if the method is not supported @since 1.4

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

Meta