CertificateFactory.generateCertPath

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. The name of the default encoding is the first element of the {@code Iterator} returned by the {@link #getCertPathEncodings getCertPathEncodings} method.

@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 @since 1.4

  1. CertPath generateCertPath(InputStream inStream)
    class CertificateFactory
    final
    generateCertPath
    (
    InputStream inStream
    )
  2. CertPath generateCertPath(InputStream inStream, string encoding)
  3. CertPath generateCertPath(List!Certificate certificates)

Meta