Lines Matching refs:MockKeychain
9 MockKeychain::MockKeychain(unsigned int item_capacity)
62 MockKeychain::~MockKeychain() {
79 SecKeychainAttribute* MockKeychain::AttributeWithTag(
95 void MockKeychain::SetTestDataBytes(int item, UInt32 tag, const void* data,
112 void MockKeychain::SetTestDataString(int item, UInt32 tag, const char* value) {
116 void MockKeychain::SetTestDataPort(int item, UInt32 value) {
123 void MockKeychain::SetTestDataProtocol(int item, SecProtocolType value) {
130 void MockKeychain::SetTestDataAuthType(int item, SecAuthenticationType value) {
138 void MockKeychain::SetTestDataNegativeItem(int item, Boolean value) {
145 void MockKeychain::SetTestDataCreator(int item, OSType value) {
152 void MockKeychain::SetTestDataPasswordBytes(int item, const void* data,
166 void MockKeychain::SetTestDataPasswordString(int item, const char* value) {
170 OSStatus MockKeychain::ItemCopyAttributesAndData(
194 OSStatus MockKeychain::ItemModifyAttributesAndData(
209 MockKeychain* mutable_this = const_cast<MockKeychain*>(this);
227 OSStatus MockKeychain::ItemFreeAttributesAndData(
234 OSStatus MockKeychain::ItemDelete(SecKeychainItemRef itemRef) const {
244 OSStatus MockKeychain::SearchCreateFromAttributes(
275 OSStatus MockKeychain::AddInternetPassword(
295 MockKeychain* mutable_this = const_cast<MockKeychain*>(this);
327 OSStatus MockKeychain::SearchCopyNext(SecKeychainSearchRef searchRef,
339 OSStatus MockKeychain::FindGenericPassword(CFTypeRef keychainOrArray,
362 OSStatus MockKeychain::ItemFreeContent(SecKeychainAttributeList *attrList,
369 OSStatus MockKeychain::AddGenericPassword(SecKeychainRef keychain,
387 void MockKeychain::Free(CFTypeRef ref) const {
399 int MockKeychain::UnfreedSearchCount() const {
403 int MockKeychain::UnfreedKeychainItemCount() const {
407 int MockKeychain::UnfreedAttributeDataCount() const {
411 bool MockKeychain::CreatorCodesSetForAddedItems() const {
424 void MockKeychain::AddTestItem(const KeychainTestData& item_data) {