共用方式為


CertificateFactory.GenerateCertPath 方法

定義

多載

GenerateCertPath(IList<Certificate>)

CertPath產生物件,並使用 的 Certificate初始化它List

GenerateCertPath(Stream)

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。

GenerateCertPath(Stream, String)

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。

GenerateCertPath(IList<Certificate>)

CertPath產生物件,並使用 的 Certificate初始化它List

[Android.Runtime.Register("generateCertPath", "(Ljava/util/List;)Ljava/security/cert/CertPath;", "")]
public Java.Security.Cert.CertPath? GenerateCertPath(System.Collections.Generic.IList<Java.Security.Cert.Certificate>? certificates);
[<Android.Runtime.Register("generateCertPath", "(Ljava/util/List;)Ljava/security/cert/CertPath;", "")>]
member this.GenerateCertPath : System.Collections.Generic.IList<Java.Security.Cert.Certificate> -> Java.Security.Cert.CertPath

參數

certificates
IList<Certificate>

List Certificate

傳回

CertPath使用提供的憑證清單初始化的

屬性

備註

CertPath產生物件,並使用 的 Certificate初始化它List

提供的憑證必須是 所 CertificateFactory支援的型別。 它們將會從提供的 List 物件複製出來。

已在1.4中新增。

java.security.cert.CertificateFactory.generateCertPath(java.util.List<? extends java.security.cert.Certificate>)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

GenerateCertPath(Stream)

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。

[Android.Runtime.Register("generateCertPath", "(Ljava/io/InputStream;)Ljava/security/cert/CertPath;", "")]
public Java.Security.Cert.CertPath? GenerateCertPath(System.IO.Stream? inStream);
[<Android.Runtime.Register("generateCertPath", "(Ljava/io/InputStream;)Ljava/security/cert/CertPath;", "")>]
member this.GenerateCertPath : System.IO.Stream -> Java.Security.Cert.CertPath

參數

inStream
Stream

InputStream包含數據的

傳回

CertPath使用 中的數據初始化的InputStream

屬性

例外狀況

如果偵測到剖析問題,則為 。

備註

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。 數據會假設為預設編碼方式。 默認編碼的名稱是 方法所#getCertPathEncodings getCertPathEncodings傳回的第Iterator一個專案。

已在1.4中新增。

java.security.cert.CertificateFactory.generateCertPath(java.io.InputStream)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

GenerateCertPath(Stream, String)

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。

[Android.Runtime.Register("generateCertPath", "(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/cert/CertPath;", "")]
public Java.Security.Cert.CertPath? GenerateCertPath(System.IO.Stream? inStream, string? encoding);
[<Android.Runtime.Register("generateCertPath", "(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/cert/CertPath;", "")>]
member this.GenerateCertPath : System.IO.Stream * string -> Java.Security.Cert.CertPath

參數

inStream
Stream

InputStream包含數據的

encoding
String

用於數據的編碼

傳回

CertPath使用 中的數據初始化的InputStream

屬性

例外狀況

如果偵測到剖析問題,則為 。

如果提供者未實作這個方法,則為 。

備註

CertPath產生物件,並使用從 InputStream inStream 讀取的數據初始化它。 數據會假設在指定的編碼中。 如需標準編碼名稱及其格式的相關信息,請參閱 Java 密碼編譯架構標準演算法名稱檔中 CertPath 編碼一節。

已在1.4中新增。

java.security.cert.CertificateFactory.generateCertPath(java.io.InputStream, java.lang.String)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於