NSUrlCredential.FromIdentityCertificatesPersistance(SecIdentity, SecCertificate[], NSUrlCredentialPersistence) Method

Definition

Creates an NSUrlCredential from an identity (digital certificate + private key) and a list of certificates.

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

Parameters

identity
SecIdentity

Identity to use for the credential.

certificates
SecCertificate[]

Certificates for the credential.

persistence
NSUrlCredentialPersistence

Specifies how long the credential should be kept.

Returns

Applies to