Language

NSUrlCredential.FromIdentityCertificatesPersistance Method

Definition

Caution

Use 'Create' instead.

Creates a new 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);
[System.Obsolete("Use 'Create' instead.")]
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
[<System.Obsolete("Use 'Create' instead.")>]
static member FromIdentityCertificatesPersistance : Security.SecIdentity * Security.SecCertificate[] * Foundation.NSUrlCredentialPersistence -> Foundation.NSUrlCredential

Parameters

identity
SecIdentity

The identity to use for the credential.

certificates
SecCertificate[]

The certificates to use for the credential.

persistence
NSUrlCredentialPersistence

Specifies how long the credential should be kept.

Returns

A new NSUrlCredential instance.

Attributes

Applies to