CertStore.GetCRLs(ICRLSelector) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與指定選擇器相符的 a CollectionCRLs。
[Android.Runtime.Register("getCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "")]
public System.Collections.Generic.ICollection<Java.Security.Cert.CRL>? GetCRLs(Java.Security.Cert.ICRLSelector? selector);
[<Android.Runtime.Register("getCRLs", "(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;", "")>]
member this.GetCRLs : Java.Security.Cert.ICRLSelector -> System.Collections.Generic.ICollection<Java.Security.Cert.CRL>
參數
- selector
- ICRLSelector
CRLSelector A 用來選擇CRL哪些 s 要回傳。 指定 null 回傳所有 CRLs(如果支援的話)。
傳回
Collection A 與CRL指定選擇器相符的 A(絕不null)
- 屬性
例外狀況
如果發生錯誤。
備註
回傳與指定選擇器相符的 a CollectionCRLs。 若 s 與選擇器不 CRL符,則會回傳 empty Collection 。
對於某些CertStore類型,結果Collection可能不包含<與選擇器相符的 b>< 全部或 b>CRL個 s。 例如,LDAP CertStore 可能無法搜尋目錄中的所有條目。 相反地,它可能只搜尋可能包含它所尋找的 CRLs 的條目。
某些 CertStore 實作(尤其是 LDAP CertStores)可能會拋出 a CertStoreException ,除非提供包含特定條件的非空 CRLSelector 值,這些條件可用來尋找 CRL。 發卡人姓名和/或要檢查的證書尤其有用。
的 java.security.cert.CertStore.getCRLs(java.security.cert.CRLSelector)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。