語言

KeyStoreManager.GetGrantedCertificateChainFromId(Int64) 方法

定義

回傳ListX509Certificate一個代表先前與應用程式id共享的憑證鏈的實例。

[Android.Runtime.Register("getGrantedCertificateChainFromId", "(J)Ljava/util/List;", "", ApiSince=36)]
public System.Collections.Generic.IList<Java.Security.Cert.X509Certificate> GetGrantedCertificateChainFromId(long id);
[<Android.Runtime.Register("getGrantedCertificateChainFromId", "(J)Ljava/util/List;", "", ApiSince=36)>]
member this.GetGrantedCertificateChainFromId : int64 -> System.Collections.Generic.IList<Java.Security.Cert.X509Certificate>

參數

id
Int64

與應用程式共享的非對稱金鑰的 ID

傳回

一組 X509Certificates 清單,憑證索引為 0,對應與應用程式共享的私鑰

屬性

備註

回傳ListX509Certificate一個代表先前與應用程式id共享的憑證鏈的實例。

若 a java.security.PrivateKey 未被指定 idUnrecoverableKeyException ,則 a 被拋出。

Java 文件 android.security.keystore.KeyStoreManager.getGrantedCertificateChainFromId(long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於