Module: Sec::Query

Defined in:
lib/keychain/sec.rb

Overview

Query options for use with SecCopyMatching, SecItemUpdate

Constant Summary collapse

CLASS =

key identifying the class of an item (kSecClass)

CF::Base.typecast(Sec.kSecClass)
SEARCH_LIST =

key speciying the list of keychains to search (kSecMatchSearchList)

CF::Base.typecast(Sec.kSecMatchSearchList)
ITEM_LIST =

key indicating the list of specific keychain items to the scope the search to

CF::Base.typecast(Sec.kSecMatchItemList)
RETURN_ATTRIBUTES =

key indicating whether to return attributes (kSecReturnAttributes)

CF::Base.typecast(Sec.kSecReturnAttributes)
RETURN_REF =

key indicating whether to return the SecKeychainItemRef (kSecReturnRef)

CF::Base.typecast(Sec.kSecReturnRef)
RETURN_DATA =

key indicating whether to return the password data (kSecReturnData)

CF::Base.typecast(Sec.kSecReturnData)
KEYCHAIN =

key indicating which keychain to use for the operation (kSecUseKeychain)

CF::Base.typecast(Sec.kSecUseKeychain)