NSUrlCredential.FromIdentityCertificatesPersistance 方法

定义

从标识 (数字证书 + 私钥) 和证书列表创建 NSUrlCredential。

public static Foundation.NSUrlCredential FromIdentityCertificatesPersistance (Security.SecIdentity identity, Security.SecCertificate[] certificates, Foundation.NSUrlCredentialPersistence persistence);
static member FromIdentityCertificatesPersistance : Security.SecIdentity * Security.SecCertificate[] * Foundation.NSUrlCredentialPersistence -> Foundation.NSUrlCredential

参数

identity
SecIdentity

用于凭据的标识。

certificates
SecCertificate[]

凭据的证书。

persistence
NSUrlCredentialPersistence

指定凭据应保留多长时间。

返回

适用于