Instance Property


The intermediate certificates of the credential, if it is a client certificate credential.


var certificates: [Any] { get }


The certificates are SecCertificate objects representing the intermediate certificates of the credential. This value is nil if this is not a client certificate credential or if the credential was created with no intermediate certificates.

See Also

Getting Credential Properties

var user: String?

The credential’s user name.

var hasPassword: Bool

A Boolean value that indicates whether the credential has a password.

var password: String?

The credential’s password.

var identity: SecIdentity?

The identity of this credential if it is a client certificate credential.

var persistence: URLCredential.Persistence

The credential’s persistence setting.

enum URLCredential.Persistence

Constants that specify how long the credential will be kept.