JarEntry.GetCertificates 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳本條目的物件,若Certificate無物件則回傳null。
[Android.Runtime.Register("getCertificates", "()[Ljava/security/cert/Certificate;", "GetGetCertificatesHandler")]
public virtual Java.Security.Cert.Certificate[]? GetCertificates();
[<Android.Runtime.Register("getCertificates", "()[Ljava/security/cert/Certificate;", "GetGetCertificatesHandler")>]
abstract member GetCertificates : unit -> Java.Security.Cert.Certificate[]
override this.GetCertificates : unit -> Java.Security.Cert.Certificate[]
傳回
本條目的物件, Certificate 或 null 若無。
- 屬性
備註
回傳本條目的物件,若Certificate無物件則回傳null。 此方法僅在從輸入串流讀取至串流結束後,才能被完全 JarEntry 驗證。 否則,此方法將返回 null。
回傳的憑證陣列包含所有用於驗證此條目的的簽署者憑證。 每個簽署者憑證後面會跟隨其支援的憑證鏈(該鏈可為空)。 每個簽署者憑證及其支援的憑證鏈依底至上排列(即簽署者憑證先行,根憑證授權中心排在最後)。
的 java.util.jar.JarEntry.getCertificates()Java 檔。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。