Global Variable

kSecMatchValidOnDate

A key whose value indicates the validity date.

Declaration

const CFStringRef kSecMatchValidOnDate;

Discussion

The corresponding value is of type CFDateRef. If provided, returned keys, certificates or identities are limited to those that are valid for the given date. Pass a value of kCFNull to indicate the current date.

See Also

Item Search Matching Keys

kSecMatchPolicy

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

kSecMatchItemList

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

kSecMatchSearchList

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

kSecMatchIssuers

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

kSecMatchEmailAddressIfPresent

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

kSecMatchSubjectContains

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

kSecMatchSubjectStartsWith

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

kSecMatchSubjectEndsWith

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

kSecMatchSubjectWholeString

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

kSecMatchCaseInsensitive

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

kSecMatchDiacriticInsensitive

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

kSecMatchWidthInsensitive

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

kSecMatchTrustedOnly

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

kSecMatchLimit

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