]> git.saurik.com Git - apple/security.git/blobdiff - SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0003.000
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / testKeychainAPI / testKeychainAPI / scripts / script0003.000
diff --git a/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0003.000 b/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0003.000
new file mode 100644 (file)
index 0000000..3c6c525
--- /dev/null
@@ -0,0 +1,70 @@
+//
+// script0003.000
+//
+//             KCNewItem
+//             KCAddItem
+//             KCGetData
+//
+// Check the item created in script0003 still exists
+// 
+3 KCMakeKCRefFromFSSpec
+   Input Arguments : 1
+      KeychainFile : test0003.001
+   Results : 2
+     OSStatus 0
+     KeychainIndex : 0
+8 KCUnlock
+   Input Arguments : 2
+     KeychainIndex : 0
+     Password : Apple
+   Results : 1
+     OSStatus 0
+13 KCSetDefaultKeychain
+   Input Arguments : 1
+     KeychainIndex : 0
+   Results : 1
+     OSStatus 0
+48 KCFindFirstItem
+   Input Arguments : 2
+     KeychainIndex : 0
+        AttributeList :
+        .count : 2
+        .0 :
+     .tag : clas
+     .data : /4/genp
+        .1 :
+     .tag : crtr
+     .data : /4/meme
+   Results : 3
+     OSStatus 0
+     SearchIndex : 0
+     ItemIndex : 0
+39 KCGetData
+   Input Arguments : 2
+     ItemIndex : 0
+     Data : /50/00000000000000000000000000000000000000000000000000
+   Results : 3
+     OSStatus 0
+     Data : /50/First Generic password:abcdefghijklmnopqrstuvwxyz#
+     ActualLength : 50
+46 KCReleaseItem
+   Input Arguments : 1
+     ItemIndex : 0
+   Results : 1
+     OSStatus 0
+49 KCFindNextItem
+   Input Arguments : 1
+     SearchIndex : 0
+   Results : 2
+     OSStatus -25300
+     ItemIndex : 1
+6 KCReleaseKeychain
+   Input Arguments : 2
+      KeychainIndex : 0
+   Results : 1
+      OSStatus 0
+50 KCReleaseSearch
+   Input Arguments : 1
+     SearchIndex : 0
+   Results : 1
+     OSStatus 0