Global Variable

kSecMatchPolicy

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

Declaration

let kSecMatchPolicy: CFString

Discussion

The corresponding value is of type SecPolicy.

See Also

Item Search Matching Keys

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.

let kSecMatchLimit: CFString

A key whose value indicates the match limit.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software