public static NSUrlCredential FromIdentityCertificatesPersistance(SecIdentity identity, SecCertificate [] certificates, NSUrlCredentialPersistence persistence) { if (identity == null) throw new ArgumentNullException ("identity"); if (certificates == null) throw new ArgumentNullException ("certificates"); using (var certs = NSArray.FromNativeObjects (certificates)) return FromIdentityCertificatesPersistanceInternal (identity.Handle, certs.Handle, persistence); }
public static NSUrlCredential FromIdentityCertificatesPersistance(SecIdentity identity, SecCertificate [] certificates, NSUrlCredentialPersistence persistence) { if (identity == null) { throw new ArgumentNullException("identity"); } if (certificates == null) { throw new ArgumentNullException("certificates"); } using (var certs = NSArray.FromNativeObjects(certificates)) return(FromIdentityCertificatesPersistanceInternal(identity.Handle, certs.Handle, persistence)); }
public NSUrlCredential(SecIdentity identity, SecCertificate [] certificates, NSUrlCredentialPersistence persistence) : this(identity.Handle, NSArray.FromNativeObjects (certificates).Handle, persistence) { }
public NSUrlCredential(SecIdentity identity, SecCertificate [] certificates, NSUrlCredentialPersistence persistence) : this(identity.Handle, NSArray.FromNativeObjects(certificates).Handle, persistence) { }