Global Variable

kSecMatchLimit

A key whose value indicates the match limit.

Declaration

let kSecMatchLimit: CFString

Discussion

The corresponding value is of type CFNumber. If provided, this value specifies the maximum number of results to return or otherwise act upon. For a single item, specify kSecMatchLimitOne. To specify all matching items, specify kSecMatchLimitAll. The default behavior is function-dependent.

See Also

Item Search Matching Keys

let kSecMatchPolicy: CFString

A key whose value indicates a policy with which a matching certificate or identity must verify.

let kSecMatchItemList: CFString

A key whose value indicates a list of items to search.

let kSecMatchSearchList: CFString

A key whose value indicates a list of items to search.

let kSecMatchIssuers: CFString

A key whose value is a string to match against a certificate or identity's issuers.

let kSecMatchEmailAddressIfPresent: CFString

A key whose value is a string to match against a certificate or identity's email address.

let kSecMatchSubjectContains: CFString

A key whose value is a string to look for in a certificate or identity's subject.

let kSecMatchSubjectStartsWith: CFString

A key whose value is a string to match against the beginning of a certificate or identity's subject.

let kSecMatchSubjectEndsWith: CFString

A key whose value is a string to match against the end of a certificate or identity's subject.

let kSecMatchSubjectWholeString: CFString

A key whose value is a string to exactly match a certificate or identity's subject.

let kSecMatchCaseInsensitive: CFString

A key whose value is a Boolean indicating whether case-insensitive matching is performed.

let kSecMatchDiacriticInsensitive: CFString

A key whose value is a Boolean indicating whether diacritic-insensitive matching is performed.

let kSecMatchWidthInsensitive: CFString

A key whose value is a Boolean indicating whether width-insensitive matching is performed.

let kSecMatchTrustedOnly: CFString

A key whose value is a Boolean indicating whether untrusted certificates should be returned.

let kSecMatchValidOnDate: CFString

A key whose value indicates the validity date.